diff options
Diffstat (limited to 'crypto/x509/t_req.c')
-rw-r--r-- | crypto/x509/t_req.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509/t_req.c b/crypto/x509/t_req.c index dbe4be3db1..0fced677dd 100644 --- a/crypto/x509/t_req.c +++ b/crypto/x509/t_req.c @@ -174,9 +174,9 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags, } if (!(cflag & X509_FLAG_NO_SIGDUMP)) { - X509_ALGOR *sig_alg; - ASN1_BIT_STRING *sig; - X509_REQ_get0_signature(&sig, &sig_alg, x); + const X509_ALGOR *sig_alg; + const ASN1_BIT_STRING *sig; + X509_REQ_get0_signature(x, &sig, &sig_alg); if (!X509_signature_print(bp, sig_alg, sig)) goto err; } |