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>
26 lines
756 B
Plaintext
26 lines
756 B
Plaintext
PKCS8,100,BAD_PKCS12_DATA
|
|
PKCS8,101,BAD_PKCS12_VERSION
|
|
PKCS8,102,CIPHER_HAS_NO_OBJECT_IDENTIFIER
|
|
PKCS8,103,CRYPT_ERROR
|
|
PKCS8,104,DECODE_ERROR
|
|
PKCS8,105,ENCODE_ERROR
|
|
PKCS8,106,ENCRYPT_ERROR
|
|
PKCS8,107,ERROR_SETTING_CIPHER_PARAMS
|
|
PKCS8,108,INCORRECT_PASSWORD
|
|
PKCS8,109,KEYGEN_FAILURE
|
|
PKCS8,110,KEY_GEN_ERROR
|
|
PKCS8,111,METHOD_NOT_SUPPORTED
|
|
PKCS8,112,MISSING_MAC
|
|
PKCS8,113,MULTIPLE_PRIVATE_KEYS_IN_PKCS12
|
|
PKCS8,114,PKCS12_PUBLIC_KEY_INTEGRITY_NOT_SUPPORTED
|
|
PKCS8,115,PKCS12_TOO_DEEPLY_NESTED
|
|
PKCS8,116,PRIVATE_KEY_DECODE_ERROR
|
|
PKCS8,117,PRIVATE_KEY_ENCODE_ERROR
|
|
PKCS8,118,TOO_LONG
|
|
PKCS8,119,UNKNOWN_ALGORITHM
|
|
PKCS8,120,UNKNOWN_CIPHER
|
|
PKCS8,121,UNKNOWN_CIPHER_ALGORITHM
|
|
PKCS8,122,UNKNOWN_DIGEST
|
|
PKCS8,123,UNKNOWN_HASH
|
|
PKCS8,124,UNSUPPORTED_PRIVATE_KEY_ALGORITHM
|