summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-04-10 23:39:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-04-10 23:39:08 +0000
commitecedfa1a937054a3e0786ad210718875f5445d42 (patch)
tree29ec8c6e063175f974cc7cfedce384655698ddaf
parente12a911846bbff9a0383c494c86b9f5ad35b1dfe (diff)
downloadopenssl-new-ecedfa1a937054a3e0786ad210718875f5445d42.tar.gz
Move definition of allow_proxy_certs to start.
-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 56d41fff8d..e43c861ee7 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -380,8 +380,8 @@ static int check_chain_extensions(X509_STORE_CTX *ctx)
X509 *x;
int (*cb)();
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