diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-08-24 14:53:09 -0400 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-24 20:30:45 +0100 |
commit | 4a7b3a7b4d01ce1208bc4465a4e7bd5be9401ad0 (patch) | |
tree | 24b7fbb14795e8794c44ed16cd35016ce2be4f9a /crypto/x509/x509_vfy.c | |
parent | 3188c9509e1775f15ffd42ccfffd0e6ea1929923 (diff) |
Un-delete still documented X509_STORE_CTX_set_verify
It should not have been removed.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_vfy.c')
-rw-r--r-- | crypto/x509/x509_vfy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 070afd1d2b..9fbef116be 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -2440,6 +2440,12 @@ X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx) return ctx->verify_cb; } +void X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx, + X509_STORE_CTX_verify_fn verify) +{ + ctx->verify = verify; +} + X509_STORE_CTX_verify_fn X509_STORE_CTX_get_verify(X509_STORE_CTX *ctx) { return ctx->verify; |