projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
print outermost signature algorithm parameters too
[openssl.git]
/
crypto
/
rsa
/
rsa_ameth.c
diff --git
a/crypto/rsa/rsa_ameth.c
b/crypto/rsa/rsa_ameth.c
index e25240d3f78119e8cbc07eb8497e740dd346934e..2ec302c5608dbdfc7fad9d16b79dccb722b4cccd 100644
(file)
--- a/
crypto/rsa/rsa_ameth.c
+++ b/
crypto/rsa/rsa_ameth.c
@@
-400,8
+400,9
@@
static int rsa_sig_print(BIO *bp, const X509_ALGOR *sigalg,
if (!rv)
return 0;
}
-
- return X509_signature_dump(bp, sig, indent);
+ if (sig)
+ return X509_signature_dump(bp, sig, indent);
+ return 1;
}
static int rsa_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2)