diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 14:10:52 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 14:12:55 +0100 |
commit | 8adc1cb8510a9f4beab9e53f53c9690d2ced12fd (patch) | |
tree | 3f0d1dc1a57bae07f1806c27c31e96a900c5e48a /apps/x509.c | |
parent | 8900f3e3982a016a25ad87a2270446e780038ec9 (diff) | |
download | openssl-8adc1cb8510a9f4beab9e53f53c9690d2ced12fd.tar.gz |
Constify X509_get0_signature()
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/x509.c')
-rw-r--r-- | apps/x509.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c index 27a928c103..6f72f82c8b 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -604,7 +604,8 @@ int x509_main(int argc, char **argv) } if (badsig) { - ASN1_BIT_STRING *signature; + const ASN1_BIT_STRING *signature; + X509_get0_signature(&signature, NULL, x); corrupt_signature(signature); } |