CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2023/06/13 03:12:22
Modified files: lib/libcrypto/bn: bn.h bn_err.c Log message: 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