summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_err.c
diff options
context:
space:
mode:
authorMingtao Yang <mingtao@fb.com>2018-02-09 19:23:18 +0100
committerRichard Levitte <levitte@openssl.org>2018-05-30 15:45:48 +0200
commit0124f32a01b2b4f4f7146f226b6a9dfe227c4008 (patch)
treedeb0b298cd38b1d739c6618ccd6ef7cb8254110b /crypto/x509/x509_err.c
parentText description of GOST signature algorithms (diff)
downloadopenssl-0124f32a01b2b4f4f7146f226b6a9dfe227c4008.tar.xz
openssl-0124f32a01b2b4f4f7146f226b6a9dfe227c4008.zip
Add APIs for custom X509_LOOKUP_METHOD creation
OpenSSL 1.1.0 made the X509_LOOKUP_METHOD structure opaque, so applications that were previously able to define a custom lookup method are not able to be ported. This commit adds getters and setters for each of the current fields of X509_LOOKUP_METHOD, along with getters and setters on several associated opaque types (such as X509_LOOKUP and X509_OBJECT). Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6152)
Diffstat (limited to 'crypto/x509/x509_err.c')
-rw-r--r--crypto/x509/x509_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509_err.c b/crypto/x509/x509_err.c
index 5027df4cb2..739708e24f 100644
--- a/crypto/x509/x509_err.c
+++ b/crypto/x509/x509_err.c
@@ -61,6 +61,8 @@ static const ERR_STRING_DATA X509_str_functs[] = {
"X509_load_cert_file"},
{ERR_PACK(ERR_LIB_X509, X509_F_X509_LOAD_CRL_FILE, 0),
"X509_load_crl_file"},
+ {ERR_PACK(ERR_LIB_X509, X509_F_X509_LOOKUP_METH_NEW, 0),
+ "X509_LOOKUP_meth_new"},
{ERR_PACK(ERR_LIB_X509, X509_F_X509_LOOKUP_NEW, 0), "X509_LOOKUP_new"},
{ERR_PACK(ERR_LIB_X509, X509_F_X509_NAME_ADD_ENTRY, 0),
"X509_NAME_add_entry"},