boringssl/crypto/asn1
David Benjamin 0248889950 Don't mix and match libraries and errors.
The same library code applies for both the error and the function, so modules
cannot easily report errors from each other. Switch evp/algorithm.c's error
codes to the EVP library. Remove the original error codes so it's obvious some
changes are needed.

- X509_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED -> EVP_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED
  ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED -> EVP_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED
  (Actually, the X509 version of this error code doesn't exist in OpenSSL. It should
   have been ASN1.)

- ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM -> EVP_R_UNKNOWN_SIGNATURE_ALGORITHM

- ASN1_R_WRONG_PUBLIC_KEY_TYPE -> EVP_R_WRONG_PUBLIC_KEY_TYPE

- ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM -> EVP_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM

Change-Id: I05b1a05b465d800c85f7d63ca74588edf40847b9
Reviewed-on: https://boringssl-review.googlesource.com/1940
Reviewed-by: Adam Langley <agl@google.com>
2014-10-13 22:56:28 +00:00
..
a_bitstr.c Inital import. 2014-06-20 13:17:32 -07:00
a_bool.c Inital import. 2014-06-20 13:17:32 -07:00
a_bytes.c Inital import. 2014-06-20 13:17:32 -07:00
a_d2i_fp.c Inital import. 2014-06-20 13:17:32 -07:00
a_dup.c Inital import. 2014-06-20 13:17:32 -07:00
a_enum.c Inital import. 2014-06-20 13:17:32 -07:00
a_gentm.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_i2d_fp.c Inital import. 2014-06-20 13:17:32 -07:00
a_int.c Inital import. 2014-06-20 13:17:32 -07:00
a_mbstr.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_object.c Fix OID handling. 2014-08-07 21:09:47 +00:00
a_octet.c Inital import. 2014-06-20 13:17:32 -07:00
a_print.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_strnid.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
a_time.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_type.c Inital import. 2014-06-20 13:17:32 -07:00
a_utctm.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
a_utf8.c Inital import. 2014-06-20 13:17:32 -07:00
asn1_error.c Don't mix and match libraries and errors. 2014-10-13 22:56:28 +00:00
asn1_lib.c Add visibility rules. 2014-07-31 22:03:11 +00:00
asn1_locl.h Inital import. 2014-06-20 13:17:32 -07:00
asn1_par.c Inital import. 2014-06-20 13:17:32 -07:00
asn_pack.c Remove some dead code. 2014-08-19 19:00:49 +00:00
bio_asn1.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
bio_ndef.c Inital import. 2014-06-20 13:17:32 -07:00
charmap.pl Add license to charmap.pl. 2014-06-30 16:48:53 -07:00
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
f_enum.c Inital import. 2014-06-20 13:17:32 -07:00
f_int.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
f_string.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
t_bitst.c Inital import. 2014-06-20 13:17:32 -07:00
t_pkey.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_dec.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_enc.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
tasn_fre.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_new.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_prn.c Const correctness. 2014-06-20 13:17:36 -07:00
tasn_typ.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_utl.c Inital import. 2014-06-20 13:17:32 -07:00
x_bignum.c Inital import. 2014-06-20 13:17:32 -07:00
x_long.c Inital import. 2014-06-20 13:17:32 -07:00