CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2022/03/14 15:15:49
Modified files: lib/libcrypto/x509: x509_alt.c x509_constraints.c x509_internal.h Log message: 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