diff options
Diffstat (limited to 'crypto/openssl/crypto/x509/x509_obj.c')
-rw-r--r-- | crypto/openssl/crypto/x509/x509_obj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/x509/x509_obj.c b/crypto/openssl/crypto/x509/x509_obj.c index f0271fd..1e718f7 100644 --- a/crypto/openssl/crypto/x509/x509_obj.c +++ b/crypto/openssl/crypto/x509/x509_obj.c @@ -94,6 +94,7 @@ int i; OPENSSL_free(b); } strncpy(buf,"NO X509_NAME",len); + buf[len-1]='\0'; return buf; } |