diff options
author | tb <> | 2023-06-15 12:44:17 +0000 |
---|---|---|
committer | tb <> | 2023-06-15 12:44:17 +0000 |
commit | 84f1cd2d646edc3823fcd4e7fe3a92373a0fbe22 (patch) | |
tree | 0d37eba9713148ef91ed62f47c7ec5890dff1afd /src/lib/libc/stdlib/_Exit.c | |
parent | 1c97efa8aed7d2da8c86d61c0c2a0d8060cbad5c (diff) | |
download | openbsd-84f1cd2d646edc3823fcd4e7fe3a92373a0fbe22.tar.gz openbsd-84f1cd2d646edc3823fcd4e7fe3a92373a0fbe22.tar.bz2 openbsd-84f1cd2d646edc3823fcd4e7fe3a92373a0fbe22.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/_Exit.c')
0 files changed, 0 insertions, 0 deletions