diff options
author | tb <> | 2022-03-14 21:15:49 +0000 |
---|---|---|
committer | tb <> | 2022-03-14 21:15:49 +0000 |
commit | e4f8fb22773f4dee1da3875ddc02bfcfa39198f4 (patch) | |
tree | cf453def12c05205d1d4cc78cc18a174a34edfe0 /src/lib/libcrypto/objects/obj_lib.c | |
parent | 07d9625933f5867c4dee9ecde797f4222f5dc516 (diff) | |
download | openbsd-e4f8fb22773f4dee1da3875ddc02bfcfa39198f4.tar.gz openbsd-e4f8fb22773f4dee1da3875ddc02bfcfa39198f4.tar.bz2 openbsd-e4f8fb22773f4dee1da3875ddc02bfcfa39198f4.zip |
Rework ownership handling in x509_constraints_validate()
Instead of having the caller allocate and pass in a new
x509_constraints_name struct, handle allocation inside
x509_constraints_validate(). Also make the error optional.
All this is done to simplify the call sites and to make it
more obvious that there are no leaks.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/objects/obj_lib.c')
0 files changed, 0 insertions, 0 deletions