summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c
diff options
context:
space:
mode:
authortb <>2025-03-25 11:54:34 +0000
committertb <>2025-03-25 11:54:34 +0000
commit6f92495acd179d025b8f561a930cab91a2c821b7 (patch)
tree8896dfbd0d7e47f51c6f03db41243178e148cbb0 /src/lib/libcrypto/arch/i386/crypto_cpu_caps.c
parent70275e713454e731b5cbf6545eff93592d1d9872 (diff)
downloadopenbsd-master.tar.gz
openbsd-master.tar.bz2
openbsd-master.zip
Fix RETURN VALUES for EVP_CIPHER_CTX_ctrl(3)HEADmaster
The current documentation was clearly incorrect since a return of -1 from the methods is explicitly intercepted and translated to 0. schwarze and I both audited the tree and concluded that only 0 and 1 is possible. OpenSSL 3 broke this API contract and now has explicit return -1 in the convoluted 200-line maze this simple function has become with recent provider improvements. So add a small sentence hinting at that. Nobody will be surprised to read that with OpenSSL's characteristic penchant for needless inconsistency the return value checks in their tree are all over the place and sometimes incorrect. ok schwarze (with two tweaks)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions