aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_x509.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_x509.c
parent568b80206a0a59e4e33abf569b9bef5f8564b36b (diff)
downloadopenssl-6e63c142f269c738e3820203ecec6fe74ad4efa0.tar.gz
Embed various signature algorithms.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/asn1/t_x509.c')
-rw-r--r--crypto/asn1/t_x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index cebf441363..17afeb92a4 100644
--- a/crypto/asn1/t_x509.c
+++ b/crypto/asn1/t_x509.c
@@ -170,7 +170,7 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
}
if (!(cflag & X509_FLAG_NO_SIGNAME)) {
- if (X509_signature_print(bp, ci->signature, NULL) <= 0)
+ if (X509_signature_print(bp, &ci->signature, NULL) <= 0)
goto err;
}
@@ -246,7 +246,7 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
ci->extensions, cflag, 8);
if (!(cflag & X509_FLAG_NO_SIGDUMP)) {
- if (X509_signature_print(bp, x->sig_alg, x->signature) <= 0)
+ if (X509_signature_print(bp, &x->sig_alg, x->signature) <= 0)
goto err;
}
if (!(cflag & X509_FLAG_NO_AUX)) {