diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-07 17:02:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-07 17:02:47 +0000 |
commit | 809cd0a22da9dbc62a33ce30d6704214e3ca5427 (patch) | |
tree | c9edc5fc5b022486a3de500074bbe4d4093e8b60 /crypto/rsa/rsa_ameth.c | |
parent | bea29921a8df8077d222e4ca73d78a38af7e5b81 (diff) |
print outermost signature algorithm parameters too
Diffstat (limited to 'crypto/rsa/rsa_ameth.c')
-rw-r--r-- | crypto/rsa/rsa_ameth.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_ameth.c b/crypto/rsa/rsa_ameth.c index e25240d3f7..2ec302c560 100644 --- 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) |