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 /crypto/ex_data.c | |
parent | 4a9a0d9bcb6259124aa012b50540c298689fdf41 (diff) | |
download | openssl-3c8537765cdee4d4a81b11246dd7d1b8a09f0126.tar.gz |
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 'crypto/ex_data.c')
-rw-r--r-- | crypto/ex_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ex_data.c b/crypto/ex_data.c index d9807d5859..986ef70bc4 100644 --- a/crypto/ex_data.c +++ b/crypto/ex_data.c @@ -119,7 +119,7 @@ static void dummy_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, { } -static int dummy_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, +static int dummy_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, void *from_d, int idx, long argl, void *argp) { @@ -250,7 +250,7 @@ int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad) * for each index in the class used by this variable */ int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to, - CRYPTO_EX_DATA *from) + const CRYPTO_EX_DATA *from) { int mx, j, i; char *ptr; |