projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5adc4b
)
In order to get the expected self signed error when
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 21 Sep 2003 02:12:36 +0000
(
02:12
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 21 Sep 2003 02:12:36 +0000
(
02:12
+0000)
calling X509_verify_cert() in x509.c the cert should
not be added to the trusted store.
apps/x509.c
patch
|
blob
|
history
diff --git
a/apps/x509.c
b/apps/x509.c
index 66f0074f45caff4002999de315fb5c44b5a9293c..2020b51de0647f90dc64f59cd4954d04f5674468 100644
(file)
--- 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. */