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:
e319a89
)
Another empty X509_NAME fix.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 26 Jun 2001 12:38:33 +0000
(12:38 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 26 Jun 2001 12:38:33 +0000
(12:38 +0000)
crypto/asn1/t_x509.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/t_x509.c
b/crypto/asn1/t_x509.c
index 314bdfb1c713d7cd218cefe1665c6668d8bd5c55..89ae73a6dec0b6226d1cc777994cc9ff6d9ea00b 100644
(file)
--- a/
crypto/asn1/t_x509.c
+++ b/
crypto/asn1/t_x509.c
@@
-349,6
+349,8
@@
int X509_NAME_print(BIO *bp, X509_NAME *name, int obase)
ll=80-2-obase;
s=X509_NAME_oneline(name,buf,256);
+ if (!*s)
+ return 1;
s++; /* skip the first slash */
l=ll;