diff options
author | Bodo Möller <bodo@openssl.org> | 2002-02-13 18:21:51 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-02-13 18:21:51 +0000 |
commit | 4d94ae00d5614d64d4dd065860c4b00161a81f82 (patch) | |
tree | e993aa323ea753b3c0782439eb78f4f8c896a67e /crypto/asn1/t_req.c | |
parent | 60d8bae30d1040a4f955e3247443b2dd4c674cde (diff) |
ECDSA support
Submitted by: Nils Larsch <nla@trustcenter.de>
Diffstat (limited to 'crypto/asn1/t_req.c')
-rw-r--r-- | crypto/asn1/t_req.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c index 848c29a2dd..bfa58cc967 100644 --- a/crypto/asn1/t_req.c +++ b/crypto/asn1/t_req.c @@ -134,6 +134,15 @@ int X509_REQ_print(BIO *bp, X509_REQ *x) } else #endif +#ifndef OPENSSL_NO_ECDSA + if (pkey != NULL && pkey->type == EVP_PKEY_ECDSA) + { + BIO_printf(bp, "%12sECDSA Public Key: \n",""); + ECDSA_print(bp, pkey->pkey.ecdsa, 16); + } + else +#endif + BIO_printf(bp,"%12sUnknown Public Key:\n",""); if (pkey != NULL) |