summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c
diff options
context:
space:
mode:
authortb <>2023-06-13 09:12:22 +0000
committertb <>2023-06-13 09:12:22 +0000
commit709f13887e3aea25f0f0b42564ef0f27da6b8dce (patch)
tree68cbd584fbcb27b812b5a084b2a27e56cb81ab42 /src/lib/libc/stdlib/system.c
parentd0a76b83057b41f74067baffd20153ec1b86f12d (diff)
downloadopenbsd-709f13887e3aea25f0f0b42564ef0f27da6b8dce.tar.gz
openbsd-709f13887e3aea25f0f0b42564ef0f27da6b8dce.tar.bz2
openbsd-709f13887e3aea25f0f0b42564ef0f27da6b8dce.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/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions