summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-04-10 23:41:09 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-04-10 23:41:09 +0000
commitb392e5205050f60f303e9313a4b1fbb309700605 (patch)
treef8de14e527a2db0ff71265de7610f4497304e86b
parent0858b71b414acc59d29da72e94bf5e8b59de0cd2 (diff)
downloadopenssl-new-b392e5205050f60f303e9313a4b1fbb309700605.tar.gz
Move allow_proxy_certs declaration to start of function.
-rw-r--r--crypto/x509/x509_vfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index 3da2490fea..6fdc35a617 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -390,8 +390,8 @@ static int check_chain_extensions(X509_STORE_CTX *ctx)
X509 *x;
int (*cb)(int ok,X509_STORE_CTX *ctx);
int proxy_path_length = 0;
- cb=ctx->verify_cb;
int allow_proxy_certs = !!(ctx->flags & X509_V_FLAG_ALLOW_PROXY_CERTS);
+ cb=ctx->verify_cb;
/* must_be_ca can have 1 of 3 values:
-1: we accept both CA and non-CA certificates, to allow direct