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/rsa | |
parent | 0c7246ed4bec060aa6c0b834e5ca0c02739254b5 (diff) | |
download | openssl-8ec3fa0597224abf3bdcb59da0f02f3100f75459.tar.gz |
fix signature printing routines
Diffstat (limited to 'crypto/rsa')
-rw-r--r-- | crypto/rsa/rsa_ameth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_ameth.c b/crypto/rsa/rsa_ameth.c index cefac171a5..2460910ab2 100644 --- a/crypto/rsa/rsa_ameth.c +++ b/crypto/rsa/rsa_ameth.c @@ -400,6 +400,8 @@ static int rsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, if (!rv) return 0; } + else if (!sig && BIO_puts(bp, "\n") <= 0) + return 0; if (sig) return X509_signature_dump(bp, sig, indent); return 1; |