Author: mjansen
Date: Fri May 20 17:09:56 2016
New Revision: 71362
URL:
http://svn.reactos.org/svn/reactos?rev=71362&view=rev
Log:
[MBEDTLS][SCHANNEL] Export mbedtls_ssl_config_free and use it. Patch by Peter Hater.
CORE-11270 #resolve #comment Thanks!
Modified:
trunk/reactos/dll/3rdparty/mbedtls/mbedtls.spec
trunk/reactos/dll/win32/schannel/schannel_mbedtls.c
Modified: trunk/reactos/dll/3rdparty/mbedtls/mbedtls.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/mbedtls/mbedt…
==============================================================================
--- trunk/reactos/dll/3rdparty/mbedtls/mbedtls.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/3rdparty/mbedtls/mbedtls.spec [iso-8859-1] Fri May 20 17:09:56 2016
@@ -23,6 +23,7 @@
@ cdecl mbedtls_ssl_write(ptr ptr ptr)
@ cdecl mbedtls_ssl_get_peer_cert(ptr)
@ cdecl mbedtls_ssl_config_init(ptr)
+@ cdecl mbedtls_ssl_config_free(ptr)
@ cdecl mbedtls_ssl_config_defaults(ptr long long long)
@ cdecl mbedtls_ssl_conf_dbg(ptr ptr ptr)
@ cdecl mbedtls_ssl_setup(ptr ptr)
Modified: trunk/reactos/dll/win32/schannel/schannel_mbedtls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/schannel/schanne…
==============================================================================
--- trunk/reactos/dll/win32/schannel/schannel_mbedtls.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/schannel/schannel_mbedtls.c [iso-8859-1] Fri May 20 17:09:56
2016
@@ -244,6 +244,7 @@
mbedtls_ssl_free(&s->ssl);
mbedtls_ctr_drbg_free(&s->ctr_drbg);
mbedtls_entropy_free(&s->entropy);
+ mbedtls_ssl_config_free(&s->conf);
/* safely overwrite the freed context with zeroes */
HeapFree(GetProcessHeap(), HEAP_ZERO_MEMORY, s);