Constify various mostly X509-related parameter types in crypto/ and apps/
[openssl.git] / crypto / dh / dh_lib.c
index 7666e77d39423cafb8415723f03eb4f219c1b236..093695c637d0bb639d218f57e88a4f46f3bfcf62 100644 (file)
@@ -171,7 +171,7 @@ int DH_set_ex_data(DH *d, int idx, void *arg)
     return CRYPTO_set_ex_data(&d->ex_data, idx, arg);
 }
 
-void *DH_get_ex_data(DH *d, int idx)
+void *DH_get_ex_data(const DH *d, int idx)
 {
     return CRYPTO_get_ex_data(&d->ex_data, idx);
 }