diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-06-15 12:44:18 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-06-15 12:44:18 +0000 |
commit | 14f8532fd0ca06b1c936e5fc9235873e7ea63a4f (patch) | |
tree | d16c80aba71959744602ead7da00da0fa639446b /lib/libpanel/p_hide.c | |
parent | 2de4f7873ce31a02bfe2fd38ab67bb4848a399ac (diff) |
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 'lib/libpanel/p_hide.c')
0 files changed, 0 insertions, 0 deletions