summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_methods.c
diff options
context:
space:
mode:
authortb <>2025-01-17 08:50:07 +0000
committertb <>2025-01-17 08:50:07 +0000
commitc7b7f02c70ae7b0b2ff0afb7ffca3587c3a5e4ea (patch)
treeabeb9ab7392929638134ed9f420389664639a03d /src/lib/libcrypto/ec/ecp_methods.c
parentcd1f21f8cbb9151769acbc7fd34da681a4d97a73 (diff)
downloadopenbsd-c7b7f02c70ae7b0b2ff0afb7ffca3587c3a5e4ea.tar.gz
openbsd-c7b7f02c70ae7b0b2ff0afb7ffca3587c3a5e4ea.tar.bz2
openbsd-c7b7f02c70ae7b0b2ff0afb7ffca3587c3a5e4ea.zip
Fix two incorrect strtonum() conversions
The atoi() would also accept the magic negative values and old openssl releases would expose these as arguments to -pkeyopt rsa_pss_saltlen:-1 in the openssl pkeyutl "app". While modern openssl switched to having readable alternatives to these, the oseid component of opensc would use the old syntax until yesterday. Still, this is our bug and we need to keep accepting the magic values as such, so do so. Everything below -3 will be rejected by the RSA_ctrl() handler later. Debugged by Doug Engert in https://github.com/OpenSC/OpenSC/issues/3317 ok jsing op
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_methods.c')
0 files changed, 0 insertions, 0 deletions