summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authortb <>2023-06-15 12:44:17 +0000
committertb <>2023-06-15 12:44:17 +0000
commit0f244620acaf6129647bce002762533e9e66dd94 (patch)
tree0d37eba9713148ef91ed62f47c7ec5890dff1afd /src/lib/libc/stdlib/labs.c
parent43590eae3539fd5d49e6658199538406364a5245 (diff)
downloadopenbsd-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/labs.c')
0 files changed, 0 insertions, 0 deletions