Add part of chain verify SSL support code: not complete or doing anything
[openssl.git] / crypto / x509 / x509_lu.c
index 837b81f1544d84aecec0b52743e8932d4a714f46..95ee24b95855c97a8a29a485d1d01dd30ce83868 100644 (file)
@@ -403,8 +403,8 @@ void X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
        ctx->cert=x509;
        ctx->untrusted=chain;
        ctx->last_untrusted=0;
-       ctx->chain_purpose=0;
-       ctx->trust_purpose=0;
+       ctx->purpose=0;
+       ctx->trust=0;
        ctx->valid=0;
        ctx->chain=NULL;
        ctx->depth=9;