boringssl/crypto/err/pem.errordata
David Benjamin 34248d4cb7 Get rid of err function codes.
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>
2015-07-16 02:02:08 +00:00

16 lines
357 B
Plaintext

PEM,100,BAD_BASE64_DECODE
PEM,101,BAD_DECRYPT
PEM,102,BAD_END_LINE
PEM,103,BAD_IV_CHARS
PEM,104,BAD_PASSWORD_READ
PEM,105,CIPHER_IS_NULL
PEM,106,ERROR_CONVERTING_PRIVATE_KEY
PEM,107,NOT_DEK_INFO
PEM,108,NOT_ENCRYPTED
PEM,109,NOT_PROC_TYPE
PEM,110,NO_START_LINE
PEM,111,READ_KEY
PEM,112,SHORT_HEADER
PEM,113,UNSUPPORTED_CIPHER
PEM,114,UNSUPPORTED_ENCRYPTION