diff options
author | Richard J. Moore <rich@kde.org> | 2016-07-31 11:04:48 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-08-01 16:13:27 +0200 |
commit | 3c8537765cdee4d4a81b11246dd7d1b8a09f0126 (patch) | |
tree | 73af7947cac6bbba6979c9df1980241e698e0524 /include | |
parent | 4a9a0d9bcb6259124aa012b50540c298689fdf41 (diff) |
Const the ex data stuff too to fix warnings
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index 18b9c1b7ba..bac9d0f752 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h @@ -173,7 +173,7 @@ typedef void CRYPTO_EX_new (void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); typedef void CRYPTO_EX_free (void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); -typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, +typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, void *srcp, int idx, long argl, void *argp); __owur int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, @@ -187,7 +187,7 @@ int CRYPTO_free_ex_index(int class_index, int idx); */ int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to, - CRYPTO_EX_DATA *from); + const CRYPTO_EX_DATA *from); void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); |