summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/lsearch.c
diff options
context:
space:
mode:
authortb <>2025-07-27 07:11:36 +0000
committertb <>2025-07-27 07:11:36 +0000
commit33683d7f8034ad6ba3e6e873d6e5d5801cebba29 (patch)
treef47be480d7bdd6de671c9ccdb1b8da57ba430859 /src/lib/libc/stdlib/lsearch.c
parent5d593caa4397fa2eafb4771d98476f5a53cecd1a (diff)
downloadopenbsd-33683d7f8034ad6ba3e6e873d6e5d5801cebba29.tar.gz
openbsd-33683d7f8034ad6ba3e6e873d6e5d5801cebba29.tar.bz2
openbsd-33683d7f8034ad6ba3e6e873d6e5d5801cebba29.zip
Fix PKCS7_add0_attrib_signing_time()
If the caller passes in NULL, helpfully a new ASN1_TIME is allocated with X509_gmtime_adj() and leaked if PKCS7_add0_attrib_signing_time() fails afterward. Fix this. Also don't blindly set the signing time to a UTCTime. Validate the usual RFC 5280 format before setting it, as that's what RFC 5652, section 11.3 mandates. ok kenjiro
Diffstat (limited to 'src/lib/libc/stdlib/lsearch.c')
0 files changed, 0 insertions, 0 deletions