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
/
rsa
/
rsa_ameth.c
diff --git
a/crypto/rsa/rsa_ameth.c
b/crypto/rsa/rsa_ameth.c
index cefac171a535d80383fa61d73f173201540397ec..2460910ab2783e5dc198e6437462a18e32f7f9b8 100644
(file)
--- 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;