summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2023-06-13 09:12:22 +0000
committertb <>2023-06-13 09:12:22 +0000
commitc83852c11b8675efa6930be4e17c9743d2cfda4d (patch)
tree68cbd584fbcb27b812b5a084b2a27e56cb81ab42 /src/lib/libc
parent68db0cd7592a548f310f8037c0ba78583d91e3c9 (diff)
downloadopenbsd-c83852c11b8675efa6930be4e17c9743d2cfda4d.tar.gz
openbsd-c83852c11b8675efa6930be4e17c9743d2cfda4d.tar.bz2
openbsd-c83852c11b8675efa6930be4e17c9743d2cfda4d.zip
Add a BN_R_INVALID_ARGUMENT error code
One problem with OpenSSL error codes is that they tend to be too specific (another problem is that they are extremely ugly). So add an EINVAL-style error code. This will be used in an upcoming commit to disallow aliasing of the 'return value' with the modulus in BN_mod_* functions and should be applicable elsewhere, outside of this one narrow use case. ok jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions