summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/lcong48.c
diff options
context:
space:
mode:
authortb <>2024-03-29 04:50:11 +0000
committertb <>2024-03-29 04:50:11 +0000
commitf2f239753afe93df4bf0c43d69b6fdc0b7625ec6 (patch)
treea61cc09104315091d4f55dc8c023f57e5e93257d /src/lib/libc/stdlib/lcong48.c
parentfb26968c651f68c0d0e9f86683d69aa87c8976de (diff)
downloadopenbsd-f2f239753afe93df4bf0c43d69b6fdc0b7625ec6.tar.gz
openbsd-f2f239753afe93df4bf0c43d69b6fdc0b7625ec6.tar.bz2
openbsd-f2f239753afe93df4bf0c43d69b6fdc0b7625ec6.zip
Make X509_VERIFY_PARAM_set1_policies() less bad
If any OBJ_dup() fails along the way, a partially copied policy stack would remain on the params object. This makes no sense. Implement and use an sk_ASN1_OBJECT_deep_copy(), that copies the full stack or else returns NULL. Remove unnecessary NULL check and streamline some other logic. ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/lcong48.c')
0 files changed, 0 insertions, 0 deletions