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>
29 lines
753 B
Plaintext
29 lines
753 B
Plaintext
EC,126,BIGNUM_OUT_OF_RANGE
|
|
EC,100,BUFFER_TOO_SMALL
|
|
EC,101,COORDINATES_OUT_OF_RANGE
|
|
EC,102,D2I_ECPKPARAMETERS_FAILURE
|
|
EC,103,EC_GROUP_NEW_BY_NAME_FAILURE
|
|
EC,104,GROUP2PKPARAMETERS_FAILURE
|
|
EC,105,I2D_ECPKPARAMETERS_FAILURE
|
|
EC,106,INCOMPATIBLE_OBJECTS
|
|
EC,107,INVALID_COMPRESSED_POINT
|
|
EC,108,INVALID_COMPRESSION_BIT
|
|
EC,109,INVALID_ENCODING
|
|
EC,110,INVALID_FIELD
|
|
EC,111,INVALID_FORM
|
|
EC,112,INVALID_GROUP_ORDER
|
|
EC,113,INVALID_PRIVATE_KEY
|
|
EC,114,MISSING_PARAMETERS
|
|
EC,115,MISSING_PRIVATE_KEY
|
|
EC,116,NON_NAMED_CURVE
|
|
EC,117,NOT_INITIALIZED
|
|
EC,118,PKPARAMETERS2GROUP_FAILURE
|
|
EC,119,POINT_AT_INFINITY
|
|
EC,120,POINT_IS_NOT_ON_CURVE
|
|
EC,121,SLOT_FULL
|
|
EC,122,UNDEFINED_GENERATOR
|
|
EC,123,UNKNOWN_GROUP
|
|
EC,124,UNKNOWN_ORDER
|
|
EC,127,WRONG_CURVE_PARAMETERS
|
|
EC,125,WRONG_ORDER
|