Deal with the consequences of constifying getters
[openssl.git] / apps / dsa.c
index ef50fede78742fb3128848a8b74dd2d372d367c1..6ac9a40282904d0c55a172f8130690c94a8e0849 100644 (file)
@@ -195,7 +195,7 @@ int dsa_main(int argc, char **argv)
     }
 
     if (modulus) {
-        BIGNUM *pub_key = NULL;
+        const BIGNUM *pub_key = NULL;
         DSA_get0_key(dsa, &pub_key, NULL);
         BIO_printf(out, "Public Key=");
         BN_print(out, pub_key);