X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2Fexdatatest.c;h=8dd9261d25cdc2073f4427c8493b88fa9411b9b1;hb=d9c2fd51e2e278bc3f7793a104ff7b4879f6d63a;hp=3ce6d33c1c89ea15724d3422e1a9a4e71d71e2ab;hpb=e17f5b6a6bae56175201a96feb8e855835865bb0;p=oweals%2Fopenssl.git diff --git a/test/exdatatest.c b/test/exdatatest.c index 3ce6d33c1c..8dd9261d25 100644 --- a/test/exdatatest.c +++ b/test/exdatatest.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -37,7 +37,7 @@ static void exnew(void *parent, void *ptr, CRYPTO_EX_DATA *ad, } static int exdup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, - void *from_d, int idx, long argl, void *argp) + void **from_d, int idx, long argl, void *argp) { if (!TEST_int_eq(idx, saved_idx) || !TEST_long_eq(argl, saved_argl) @@ -87,7 +87,7 @@ static void exnew2(void *parent, void *ptr, CRYPTO_EX_DATA *ad, } static int exdup2(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, - void *from_d, int idx, long argl, void *argp) + void **from_d, int idx, long argl, void *argp) { MYOBJ_EX_DATA **update_ex_data = (MYOBJ_EX_DATA**)from_d; MYOBJ_EX_DATA *ex_data = NULL;