diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-10-04 13:58:41 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-10-04 13:58:41 +0000 |
commit | 8ec3fa0597224abf3bdcb59da0f02f3100f75459 (patch) | |
tree | 5136049b4ff62e92c10aabc7d0545fcf14cb342c /crypto/asn1/t_x509.c | |
parent | 0c7246ed4bec060aa6c0b834e5ca0c02739254b5 (diff) | |
download | openssl-8ec3fa0597224abf3bdcb59da0f02f3100f75459.tar.gz |
fix signature printing routines
Diffstat (limited to 'crypto/asn1/t_x509.c')
-rw-r--r-- | crypto/asn1/t_x509.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c index bd22a8dd4f..db88f3a3e1 100644 --- 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; } |