aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-06 23:24:59 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-06 23:24:59 +0000
commitbbbc96a87ed548788676874cf5387b5844e37d42 (patch)
tree0a68b7c5bbb004975bda288fca999b1036e486bd /crypto/crypto.h
parent5e4ca4220edd68c895a8a4bc6b8a187551e95ebc (diff)
downloadopenssl-bbbc96a87ed548788676874cf5387b5844e37d42.tar.gz
Constification of CRYPTO_get_ex_data() needed for the sake of
RSA_get_ext_data().
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 52ee97b71a..08bb1fc83e 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -281,7 +281,7 @@ unsigned long SSLeay(void);
int CRYPTO_get_ex_new_index(int idx, STACK_OF(CRYPTO_EX_DATA_FUNCS) **skp, long argl, void *argp,
CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val);
-void *CRYPTO_get_ex_data(CRYPTO_EX_DATA *ad,int idx);
+void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad,int idx);
int CRYPTO_dup_ex_data(STACK_OF(CRYPTO_EX_DATA_FUNCS) *meth, CRYPTO_EX_DATA *to,
CRYPTO_EX_DATA *from);
void CRYPTO_free_ex_data(STACK_OF(CRYPTO_EX_DATA_FUNCS) *meth, void *obj, CRYPTO_EX_DATA *ad);