projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix signature printing routines
[openssl.git]
/
crypto
/
asn1
/
t_x509.c
diff --git
a/crypto/asn1/t_x509.c
b/crypto/asn1/t_x509.c
index bd22a8dd4fbdda38a77493f4dd36c9619c473d31..db88f3a3e15dddace268e53b6e7cef85ec72d1eb 100644
(file)
--- a/
crypto/asn1/t_x509.c
+++ b/
crypto/asn1/t_x509.c
@@
-333,6
+333,8
@@
int X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig)
}
if (sig)
return X509_signature_dump(bp, sig, 9);
+ else if (BIO_puts(bp, "\n") <= 0)
+ return 0;
return 1;
}