summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/asn1/rfc5280time.c
diff options
context:
space:
mode:
authortb <>2024-04-07 06:34:42 +0000
committertb <>2024-04-07 06:34:42 +0000
commit7c47e205b5035b62d024838e10da7aa8d6858336 (patch)
treec1a640e970cbdd4d16061fe011a1e2818b540612 /src/regress/lib/libcrypto/asn1/rfc5280time.c
parent0cc340b2b42f280b220fb9ace2acfe3d2a0f7187 (diff)
downloadopenbsd-7c47e205b5035b62d024838e10da7aa8d6858336.tar.gz
openbsd-7c47e205b5035b62d024838e10da7aa8d6858336.tar.bz2
openbsd-7c47e205b5035b62d024838e10da7aa8d6858336.zip
Rework CMS_add_simple_smimecap()
This is an API to add an OID attribute to the set of SMIMECapabilities. While attributes are complicated in general, this only supports simple capabilities encoded as an OID with an optional integer parameter (e.g., the key size of a cipher). Make this API transactional, i.e., don't leave a new empty set behind on failure or leak the key size if setting the parameter on the X509_ALGOR fails. Also convert to single exit and add a doc comment with a reference. ok beck
Diffstat (limited to 'src/regress/lib/libcrypto/asn1/rfc5280time.c')
0 files changed, 0 insertions, 0 deletions