diff options
author | Mingtao Yang <mingtao@fb.com> | 2018-02-09 10:23:18 -0800 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-05-30 15:45:48 +0200 |
commit | 0124f32a01b2b4f4f7146f226b6a9dfe227c4008 (patch) | |
tree | deb0b298cd38b1d739c6618ccd6ef7cb8254110b /crypto/x509/by_dir.c | |
parent | f3a246c63eefc1e5da434df5dc7f48795a12c38b (diff) |
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/by_dir.c')
-rw-r--r-- | crypto/x509/by_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index ae9670c6a0..9d5a571c59 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -110,7 +110,7 @@ static int new_dir(X509_LOOKUP *lu) X509err(X509_F_NEW_DIR, ERR_R_MALLOC_FAILURE); goto err; } - lu->method_data = (char *)a; + lu->method_data = a; return 1; err: |