Constify various mostly X509-related parameter types in crypto/ and apps/
[openssl.git] / crypto / dsa / dsa_lib.c
index 154048a3a33e86921c22bc62e07645b7459a29c9..e3205223e96fa7e88069bc4637f4df26b1f1d816 100644 (file)
@@ -32,7 +32,7 @@ int DSA_set_ex_data(DSA *d, int idx, void *arg)
     return CRYPTO_set_ex_data(&d->ex_data, idx, arg);
 }
 
-void *DSA_get_ex_data(DSA *d, int idx)
+void *DSA_get_ex_data(const DSA *d, int idx)
 {
     return CRYPTO_get_ex_data(&d->ex_data, idx);
 }