diff options
author | tb <> | 2023-05-23 11:51:12 +0000 |
---|---|---|
committer | tb <> | 2023-05-23 11:51:12 +0000 |
commit | 6825aba8c0202893f32509537fbfa606a2459325 (patch) | |
tree | 2dcedb027d2360722274907d07f67f3d85dbfac2 /src/regress/lib/libssl/unit/ssl_verify_param.c | |
parent | bdde2af02514a12044135087400ae31ed4bede39 (diff) | |
download | openbsd-6825aba8c0202893f32509537fbfa606a2459325.tar.gz openbsd-6825aba8c0202893f32509537fbfa606a2459325.tar.bz2 openbsd-6825aba8c0202893f32509537fbfa606a2459325.zip |
Simplify OBJ_obj2txt()
Instead of adding a NUL termination to OBJ_obj2txt(), move the aobj == NULL
or aobj->data == NULL checks to i2t_ASN1_OBJECT_internal(). The only other
caller, i2t_ASN1_OBJECT(), fails on aobj == NULL and aobj->length == 0, and
the latter condition is implied by aobj->data.
Cleaner solution for obj_dat.c r1.52
suggested by/ok jsing
Diffstat (limited to 'src/regress/lib/libssl/unit/ssl_verify_param.c')
0 files changed, 0 insertions, 0 deletions