projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make DSA_SIG and ECDSA_SIG getters const.
[openssl.git]
/
crypto
/
dsa
/
dsa_ameth.c
diff --git
a/crypto/dsa/dsa_ameth.c
b/crypto/dsa/dsa_ameth.c
index b30368e32e33445df01f0e3c4dc8611473527463..c7573bf25621c3608f1140eb77ddc4dda34a6f78 100644
(file)
--- 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;