diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_lu.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_lu.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c index 0033069b3e..742eb4d2bf 100644 --- a/src/lib/libcrypto/x509/x509_lu.c +++ b/src/lib/libcrypto/x509/x509_lu.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_lu.c,v 1.27 2018/03/17 15:39:43 tb Exp $ */ | 1 | /* $OpenBSD: x509_lu.c,v 1.28 2018/03/17 15:43:32 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -803,6 +803,12 @@ X509_STORE_set1_param(X509_STORE *ctx, X509_VERIFY_PARAM *param) | |||
803 | return X509_VERIFY_PARAM_set1(ctx->param, param); | 803 | return X509_VERIFY_PARAM_set1(ctx->param, param); |
804 | } | 804 | } |
805 | 805 | ||
806 | X509_VERIFY_PARAM * | ||
807 | X509_STORE_get0_param(X509_STORE *ctx) | ||
808 | { | ||
809 | return ctx->param; | ||
810 | } | ||
811 | |||
806 | void | 812 | void |
807 | X509_STORE_set_verify_cb(X509_STORE *ctx, | 813 | X509_STORE_set_verify_cb(X509_STORE *ctx, |
808 | int (*verify_cb)(int, X509_STORE_CTX *)) | 814 | int (*verify_cb)(int, X509_STORE_CTX *)) |