diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-09-21 06:12:36 +0400 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-09-21 06:12:36 +0400 |
commit | a26be0386e94a6e3f2322667643e5fd33f31d575 (patch) | |
tree | 7d9ad42c172751078a9443b73e4a35281396f5a1 /apps | |
parent | d5adc4b475ee0817a8e79ec0b77980859d9a51ef (diff) |
In order to get the expected self signed error when
calling X509_verify_cert() in x509.c the cert should
not be added to the trusted store.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c index 66f0074f45..2020b51de0 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -1145,7 +1145,7 @@ static int x509_certify(X509_STORE *ctx, char *CAfile, const EVP_MD *digest, else if (!(bs = load_serial(CAfile, serialfile, create))) goto end; - if (!X509_STORE_add_cert(ctx,x)) goto end; +/* if (!X509_STORE_add_cert(ctx,x)) goto end;*/ /* NOTE: this certificate can/should be self signed, unless it was * a certificate request in which case it is not. */ |