projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Oops^2: It was the correct line, but an incorrect change.
[oweals/openssl.git]
/
crypto
/
x509
/
x509_obj.c
diff --git
a/crypto/x509/x509_obj.c
b/crypto/x509/x509_obj.c
index 6a3ba8eb154322c11965af2ac8af49c4f91d9675..f0271fdfa148d3d3ba25741ba262512bb59d53a3 100644
(file)
--- a/
crypto/x509/x509_obj.c
+++ b/
crypto/x509/x509_obj.c
@@
-214,6
+214,8
@@
int i;
}
else
p=buf;
+ if (i == 0)
+ *p = '\0';
return(p);
err:
X509err(X509_F_X509_NAME_ONELINE,ERR_R_MALLOC_FAILURE);