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:
7b8b797
)
Fix X509_REQ_print_ex() to process extension options.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 22 May 2007 23:31:29 +0000
(23:31 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 22 May 2007 23:31:29 +0000
(23:31 +0000)
crypto/asn1/t_req.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/t_req.c
b/crypto/asn1/t_req.c
index 0d169c9acc0f9ce8e820b18232ffa70980e44db2..ea1794e3e082b835120eee3172892573208554eb 100644
(file)
--- a/
crypto/asn1/t_req.c
+++ b/
crypto/asn1/t_req.c
@@
-220,7
+220,7
@@
get_next:
}
}
}
- if(!(cflag & X509_FLAG_NO_
ATTRIBUTE
S))
+ if(!(cflag & X509_FLAG_NO_
EXTENSION
S))
{
exts = X509_REQ_get_extensions(x);
if(exts)
@@
-238,7
+238,7
@@
get_next:
j=X509_EXTENSION_get_critical(ex);
if (BIO_printf(bp,": %s\n",j?"critical":"") <= 0)
goto err;
- if(!X509V3_EXT_print(bp, ex,
0
, 16))
+ if(!X509V3_EXT_print(bp, ex,
cflag
, 16))
{
BIO_printf(bp, "%16s", "");
M_ASN1_OCTET_STRING_print(bp,ex->value);