projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for shared libraries with OS/2.
[oweals/openssl.git]
/
crypto
/
asn1
/
t_spki.c
diff --git
a/crypto/asn1/t_spki.c
b/crypto/asn1/t_spki.c
index 5abfbc815ea9e09a4949d0a0c6c4c7082fee7407..86821119d8aef99e449875ef0d67b2a4a356a0c7 100644
(file)
--- a/
crypto/asn1/t_spki.c
+++ b/
crypto/asn1/t_spki.c
@@
-93,6
+93,15
@@
int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki)
}
else
#endif
+#ifndef OPENSSL_NO_ECDSA
+ if (pkey->type == EVP_PKEY_ECDSA)
+ {
+ BIO_printf(out, " ECDSA Public Key:\n");
+ ECDSA_print(out, pkey->pkey.ecdsa,2);
+ }
+ else
+#endif
+
BIO_printf(out," Unknown Public Key:\n");
EVP_PKEY_free(pkey);
}