summaryrefslogtreecommitdiff
path: root/src/lib/libssl/man
diff options
context:
space:
mode:
authortb <>2024-04-07 06:34:42 +0000
committertb <>2024-04-07 06:34:42 +0000
commit483b41efefd82d053ce8da00bd0d02f21616e651 (patch)
treec1a640e970cbdd4d16061fe011a1e2818b540612 /src/lib/libssl/man
parentd7aa42e9d2667a7a6e3af76c0fa4f6733a727c3c (diff)
downloadopenbsd-483b41efefd82d053ce8da00bd0d02f21616e651.tar.gz
openbsd-483b41efefd82d053ce8da00bd0d02f21616e651.tar.bz2
openbsd-483b41efefd82d053ce8da00bd0d02f21616e651.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/lib/libssl/man')
0 files changed, 0 insertions, 0 deletions