aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509/t_x509.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-08-17 14:10:52 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-08-17 14:12:55 +0100
commit8adc1cb8510a9f4beab9e53f53c9690d2ced12fd (patch)
tree3f0d1dc1a57bae07f1806c27c31e96a900c5e48a /crypto/x509/t_x509.c
parent8900f3e3982a016a25ad87a2270446e780038ec9 (diff)
downloadopenssl-8adc1cb8510a9f4beab9e53f53c9690d2ced12fd.zip
openssl-8adc1cb8510a9f4beab9e53f53c9690d2ced12fd.tar.gz
openssl-8adc1cb8510a9f4beab9e53f53c9690d2ced12fd.tar.bz2
Constify X509_get0_signature()
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509/t_x509.c')
-rw-r--r--crypto/x509/t_x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/t_x509.c b/crypto/x509/t_x509.c
index bfd6f6d..5d7c130 100644
--- a/crypto/x509/t_x509.c
+++ b/crypto/x509/t_x509.c
@@ -191,8 +191,8 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
X509_get0_extensions(x), cflag, 8);
if (!(cflag & X509_FLAG_NO_SIGDUMP)) {
- X509_ALGOR *sig_alg;
- ASN1_BIT_STRING *sig;
+ const X509_ALGOR *sig_alg;
+ const ASN1_BIT_STRING *sig;
X509_get0_signature(&sig, &sig_alg, x);
if (X509_signature_print(bp, sig_alg, sig) <= 0)
goto err;