summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_spki.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-09-17 14:44:19 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-09-17 17:18:59 +0100
commit6e63c142f269c738e3820203ecec6fe74ad4efa0 (patch)
treebd0dbaccea262cbcf7379b5cb5d5745e94360901 /crypto/asn1/t_spki.c
parent568b80206a0a59e4e33abf569b9bef5f8564b36b (diff)
Embed various signature algorithms.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/asn1/t_spki.c')
-rw-r--r--crypto/asn1/t_spki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/t_spki.c b/crypto/asn1/t_spki.c
index 46914f900f..c49f1c7dd2 100644
--- a/crypto/asn1/t_spki.c
+++ b/crypto/asn1/t_spki.c
@@ -91,7 +91,7 @@ int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki)
chal = spki->spkac->challenge;
if (chal->length)
BIO_printf(out, " Challenge String: %s\n", chal->data);
- i = OBJ_obj2nid(spki->sig_algor->algorithm);
+ i = OBJ_obj2nid(spki->sig_algor.algorithm);
BIO_printf(out, " Signature Algorithm: %s",
(i == NID_undef) ? "UNKNOWN" : OBJ_nid2ln(i));