mirror of
https://github.com/openssl/openssl.git
synced 2024-11-25 19:13:48 +08:00
Another empty X509_NAME fix.
This commit is contained in:
parent
1e325f6149
commit
9d2e51c199
@ -440,6 +440,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;
|
||||
|
Loading…
Reference in New Issue
Block a user