diff options
author | tb <> | 2023-06-13 09:12:22 +0000 |
---|---|---|
committer | tb <> | 2023-06-13 09:12:22 +0000 |
commit | 709f13887e3aea25f0f0b42564ef0f27da6b8dce (patch) | |
tree | 68cbd584fbcb27b812b5a084b2a27e56cb81ab42 /src/lib/libc/stdlib/merge.c | |
parent | d0a76b83057b41f74067baffd20153ec1b86f12d (diff) | |
download | openbsd-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/merge.c')
0 files changed, 0 insertions, 0 deletions