diff options
author | tb <> | 2023-06-15 12:44:17 +0000 |
---|---|---|
committer | tb <> | 2023-06-15 12:44:17 +0000 |
commit | 0f244620acaf6129647bce002762533e9e66dd94 (patch) | |
tree | 0d37eba9713148ef91ed62f47c7ec5890dff1afd /src/lib/libc/stdlib/reallocarray.c | |
parent | 43590eae3539fd5d49e6658199538406364a5245 (diff) | |
download | openbsd-0f244620acaf6129647bce002762533e9e66dd94.tar.gz openbsd-0f244620acaf6129647bce002762533e9e66dd94.tar.bz2 openbsd-0f244620acaf6129647bce002762533e9e66dd94.zip |
Fix a logic error in ASN1_item_sign_ctx()
If the item_sign() ASN.1 method returns 1, it supposedly handles everything
and the goto err prior to r1.5 was actually a success path. Go figure.
This is fortunately inconsequential since there are only two item_sign()
methods, one for RSA and one for Ed25519, neither of which can return 1.
They only return 0, 2, and 3.
Pointed out by and ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions