34248d4cb7
Running make_errors.go every time a function is renamed is incredibly tedious. Plus we keep getting them wrong. Instead, sample __func__ (__FUNCTION__ in MSVC) in the OPENSSL_PUT_ERROR macro and store it alongside file and line number. This doesn't change the format of ERR_print_errors, however ERR_error_string_n now uses the placeholder "OPENSSL_internal" rather than an actual function name since that only takes the uint32_t packed error code as input. This updates err scripts to not emit the function string table. The OPENSSL_PUT_ERROR invocations, for now, still include the extra parameter. That will be removed in a follow-up. BUG=468039 Change-Id: Iaa2ef56991fb58892fa8a1283b3b8b995fbb308d Reviewed-on: https://boringssl-review.googlesource.com/5275 Reviewed-by: Adam Langley <agl@google.com>
20 lines
458 B
Plaintext
20 lines
458 B
Plaintext
BN,100,ARG2_LT_ARG3
|
|
BN,117,BAD_ENCODING
|
|
BN,101,BAD_RECIPROCAL
|
|
BN,102,BIGNUM_TOO_LONG
|
|
BN,103,BITS_TOO_SMALL
|
|
BN,104,CALLED_WITH_EVEN_MODULUS
|
|
BN,105,DIV_BY_ZERO
|
|
BN,118,ENCODE_ERROR
|
|
BN,106,EXPAND_ON_STATIC_BIGNUM_DATA
|
|
BN,107,INPUT_NOT_REDUCED
|
|
BN,108,INVALID_RANGE
|
|
BN,109,NEGATIVE_NUMBER
|
|
BN,110,NOT_A_SQUARE
|
|
BN,111,NOT_INITIALIZED
|
|
BN,112,NO_INVERSE
|
|
BN,113,PRIVATE_KEY_TOO_LARGE
|
|
BN,114,P_IS_NOT_PRIME
|
|
BN,115,TOO_MANY_ITERATIONS
|
|
BN,116,TOO_MANY_TEMPORARY_VARIABLES
|