]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix the parameter types of the CRYPTO_EX_dup function type.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 20 Mar 2017 16:29:28 +0000 (17:29 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 23 May 2020 13:31:14 +0000 (15:31 +0200)
commit712e8debb5b2238450b303acb5f24298382c63a5
treefbcbc73a1b34465cee2c4ab6199c3ae2a1ad9384
parent2de64666a07cccf8477e6483de62ae31f463df64
Fix the parameter types of the CRYPTO_EX_dup function type.

This fixes a strict aliasing issue in ui_dup_method_data.

The parameter type of CRYPTO_EX_dup's from_d parameter
is in fact void **, since it points to a pointer.

This function is rarely used, therefore fix the param type
although that may be considered an API breaking change.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2986)
crypto/ex_data.c
crypto/ui/ui_util.c
doc/man3/CRYPTO_get_ex_new_index.pod
include/openssl/crypto.h
test/exdatatest.c