diff options
author | tb <> | 2024-04-13 14:02:51 +0000 |
---|---|---|
committer | tb <> | 2024-04-13 14:02:51 +0000 |
commit | a1c5ce1dff4bcab64c3cbc8319928ce5c6ce1b36 (patch) | |
tree | 468640b029b05547e8adb72542a647d205cee2f9 /src/lib/libc | |
parent | 982e40c44ed28478721859da8f96fea7ac36d2d8 (diff) | |
download | openbsd-a1c5ce1dff4bcab64c3cbc8319928ce5c6ce1b36.tar.gz openbsd-a1c5ce1dff4bcab64c3cbc8319928ce5c6ce1b36.tar.bz2 openbsd-a1c5ce1dff4bcab64c3cbc8319928ce5c6ce1b36.zip |
Error check X509_ALGOR_set0() in {dsa,ec}_pkey_ctrl()
These are four versions of near identical code: PKCS#7 and CMS controls
for DSA and EC. The checks are rather incomplete and should probably be
merged somehow (see the Ed25519 version in ecx_methods(). For now, only
replace X509_ALGOR_set0() with its internal by_nid() version and, while
there, spell NULL correctly.
ok jca
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions