diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-17 14:44:19 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-09-17 17:18:59 +0100 |
commit | 6e63c142f269c738e3820203ecec6fe74ad4efa0 (patch) | |
tree | bd0dbaccea262cbcf7379b5cb5d5745e94360901 /crypto/x509/x509_set.c | |
parent | 568b80206a0a59e4e33abf569b9bef5f8564b36b (diff) |
Embed various signature algorithms.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_set.c')
-rw-r--r-- | crypto/x509/x509_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_set.c b/crypto/x509/x509_set.c index b5209f23cd..1284bcb3db 100644 --- a/crypto/x509/x509_set.c +++ b/crypto/x509/x509_set.c @@ -173,7 +173,7 @@ ASN1_TIME *X509_get_notAfter(X509 *x) int X509_get_signature_type(const X509 *x) { - return EVP_PKEY_type(OBJ_obj2nid(x->sig_alg->algorithm)); + return EVP_PKEY_type(OBJ_obj2nid(x->sig_alg.algorithm)); } X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x) |