Another empty X509_NAME fix.
This commit is contained in:
parent
e319a89f84
commit
1498ad74bb
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue