diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 5a0b0249b4..87ebf62525 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -703,7 +703,6 @@ static int check_cert(X509_STORE_CTX *ctx) | |||
703 | x = sk_X509_value(ctx->chain, cnum); | 703 | x = sk_X509_value(ctx->chain, cnum); |
704 | ctx->current_cert = x; | 704 | ctx->current_cert = x; |
705 | ctx->current_issuer = NULL; | 705 | ctx->current_issuer = NULL; |
706 | ctx->current_crl_score = 0; | ||
707 | ctx->current_reasons = 0; | 706 | ctx->current_reasons = 0; |
708 | while (ctx->current_reasons != CRLDP_ALL_REASONS) | 707 | while (ctx->current_reasons != CRLDP_ALL_REASONS) |
709 | { | 708 | { |
@@ -2016,9 +2015,6 @@ int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, | |||
2016 | ctx->error_depth=0; | 2015 | ctx->error_depth=0; |
2017 | ctx->current_cert=NULL; | 2016 | ctx->current_cert=NULL; |
2018 | ctx->current_issuer=NULL; | 2017 | ctx->current_issuer=NULL; |
2019 | ctx->current_crl=NULL; | ||
2020 | ctx->current_crl_score=0; | ||
2021 | ctx->current_reasons=0; | ||
2022 | ctx->tree = NULL; | 2018 | ctx->tree = NULL; |
2023 | ctx->parent = NULL; | 2019 | ctx->parent = NULL; |
2024 | 2020 | ||
@@ -2038,7 +2034,7 @@ int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, | |||
2038 | if (store) | 2034 | if (store) |
2039 | ret = X509_VERIFY_PARAM_inherit(ctx->param, store->param); | 2035 | ret = X509_VERIFY_PARAM_inherit(ctx->param, store->param); |
2040 | else | 2036 | else |
2041 | ctx->param->inh_flags |= X509_VP_FLAG_DEFAULT|X509_VP_FLAG_ONCE; | 2037 | ctx->param->flags |= X509_VP_FLAG_DEFAULT|X509_VP_FLAG_ONCE; |
2042 | 2038 | ||
2043 | if (store) | 2039 | if (store) |
2044 | { | 2040 | { |