summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_vfy.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-07-25 14:05:39 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-07-26 16:23:02 +0100
commitfc9d1ef39c97c06f83fd40a6f94c0af4da3887ea (patch)
treed0029e8beff52847e41812553ae5bc6a562de36d /crypto/x509/x509_vfy.c
parent61d81f0ac91cc0e8612c55f46432839f25a4c71a (diff)
Remove current_method from X509_STORE_CTX
Remove current_method: it was intended as a means of retrying lookups bit it was never used. Now that X509_verify_cert() is a "one shot" operation it can never work as intended. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_vfy.c')
-rw-r--r--crypto/x509/x509_vfy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index a290a5e6b3..abe9caae13 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -2216,7 +2216,6 @@ int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
int ret = 1;
ctx->ctx = store;
- ctx->current_method = 0;
ctx->cert = x509;
ctx->untrusted = chain;
ctx->crls = NULL;