diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2004-10-01 11:21:53 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2004-10-01 11:21:53 +0000 |
commit | 175ac6811a27ac558c647d5f2ea0e3170672e957 (patch) | |
tree | 6c2c4b76f75deb3db3bd8350ac2ba1d8858f7b7e /crypto/x509 | |
parent | 07d488daf66ed88a7b2758325eed7e45fac0aafb (diff) |
Don't use C++ reserved work "explicit".
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509_vfy.c | 6 | ||||
-rw-r--r-- | crypto/x509/x509_vfy.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 4d9b53e997..a2c884e497 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -747,7 +747,7 @@ static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x) static int check_policy(X509_STORE_CTX *ctx) { int ret; - ret = X509_policy_check(&ctx->tree, &ctx->explicit, ctx->chain, + ret = X509_policy_check(&ctx->tree, &ctx->explicit_policy, ctx->chain, ctx->param->policies, ctx->param->flags); if (ret == 0) { @@ -1246,7 +1246,7 @@ int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, ctx->valid=0; ctx->chain=NULL; ctx->error=0; - ctx->explicit=0; + ctx->explicit_policy=0; ctx->error_depth=0; ctx->current_cert=NULL; ctx->current_issuer=NULL; @@ -1398,7 +1398,7 @@ X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx) int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx) { - return ctx->explicit; + return ctx->explicit_policy; } int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name) diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h index 66e97b7a38..e1bd21b802 100644 --- a/crypto/x509/x509_vfy.h +++ b/crypto/x509/x509_vfy.h @@ -254,7 +254,7 @@ struct x509_store_ctx_st /* X509_STORE_CTX */ STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */ X509_POLICY_TREE *tree; /* Valid policy tree */ - int explicit; /* Require explicit policy value */ + int explicit_policy; /* Require explicit policy value */ /* When something goes wrong, this is why */ int error_depth; |