X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fdsa%2Fdsa_ameth.c;h=c7573bf25621c3608f1140eb77ddc4dda34a6f78;hp=b30368e32e33445df01f0e3c4dc8611473527463;hb=9267c11bb5d408e43482173794f08a3c8472afba;hpb=b73cfb137e596f3e4396fbc5502ace3ff17cbaed diff --git a/crypto/dsa/dsa_ameth.c b/crypto/dsa/dsa_ameth.c index b30368e32e..c7573bf256 100644 --- a/crypto/dsa/dsa_ameth.c +++ b/crypto/dsa/dsa_ameth.c @@ -437,9 +437,9 @@ static int dsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, dsa_sig = d2i_DSA_SIG(NULL, &p, sig->length); if (dsa_sig) { int rv = 0; - BIGNUM *r, *s; + const BIGNUM *r, *s; - DSA_SIG_get0(&r, &s, dsa_sig); + DSA_SIG_get0(dsa_sig, &r, &s); if (BIO_write(bp, "\n", 1) != 1) goto err;