summaryrefslogtreecommitdiffstats
path: root/test/dsatest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-06-16 11:07:32 +0200
committerMatt Caswell <matt@openssl.org>2016-06-16 14:34:44 +0200
commitb84e12266f85156f58804ff94ea110890f13b52d (patch)
tree32de263358b118264aaf5e0c702cbc5f3637721c /test/dsatest.c
parentChange the return type of EVP_EncodeUpdate (diff)
downloadopenssl-b84e12266f85156f58804ff94ea110890f13b52d.tar.xz
openssl-b84e12266f85156f58804ff94ea110890f13b52d.zip
Fix the build and tests following constification of DH, DSA, RSA
Misc fixes following the constification of the DH, DSA and RSA getters. Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'test/dsatest.c')
-rw-r--r--test/dsatest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dsatest.c b/test/dsatest.c
index b99c467e17..10854224aa 100644
--- a/test/dsatest.c
+++ b/test/dsatest.c
@@ -85,7 +85,7 @@ int main(int argc, char **argv)
unsigned long h;
unsigned char sig[256];
unsigned int siglen;
- BIGNUM *p = NULL, *q = NULL, *g = NULL;
+ const BIGNUM *p = NULL, *q = NULL, *g = NULL;
if (bio_err == NULL)
bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT);