Constify various mostly X509-related parameter types in crypto/ and apps/
[oweals/openssl.git] / crypto / ui / ui_lib.c
index ab51a24a53a393cc6679515e9aa579938a0d90f4..f80214754ebddde2688e5933a8ac667a2c0f3a1e 100644 (file)
@@ -578,7 +578,7 @@ int UI_set_ex_data(UI *r, int idx, void *arg)
     return CRYPTO_set_ex_data(&r->ex_data, idx, arg);
 }
 
-void *UI_get_ex_data(UI *r, int idx)
+void *UI_get_ex_data(const UI *r, int idx)
 {
     return CRYPTO_get_ex_data(&r->ex_data, idx);
 }