aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrfl890 <87506407+rfl890@users.noreply.github.com>2024-08-02 20:37:42 +0500
committerGitHub <noreply@github.com>2024-08-02 20:37:42 +0500
commitb1bc704474059c8a36149a63c02749501b9a3cea (patch)
treed90c39adc47c03402d41259663787633f622bb27
parentbecbdfbfc36dde9cfc2d509918d44cd4f1b207e6 (diff)
parentcd0ae0ef32d308a4704006b4514e2d065ed8df3c (diff)
downloadportable-b1bc704474059c8a36149a63c02749501b9a3cea.tar.gz
portable-b1bc704474059c8a36149a63c02749501b9a3cea.tar.bz2
portable-b1bc704474059c8a36149a63c02749501b9a3cea.zip
Merge branch 'libressl:master' into patch-1
-rw-r--r--ChangeLog6
-rw-r--r--crypto/CMakeLists.txt2
-rw-r--r--crypto/Makefile.am2
-rw-r--r--tests/CMakeLists.txt4
4 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 20d185c..1230099 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -71,11 +71,17 @@ LibreSSL Portable Release Notes:
71 - Added support for TLS PRF in the EVP KDF API. 71 - Added support for TLS PRF in the EVP KDF API.
72 - Cleaned up cipher handling in SSL_SESSION. 72 - Cleaned up cipher handling in SSL_SESSION.
73 - Removed get_cipher from SSL_METHOD. 73 - Removed get_cipher from SSL_METHOD.
74 - Rewrote CRYPTO_EX_DATA from scratch. The only intentional change of
75 behavior is that there is now a hard limit on the number of indexes
76 that can be allocated.
74 * Documentation improvements 77 * Documentation improvements
75 - Removed documentation of no longer existing API. 78 - Removed documentation of no longer existing API.
76 * Testing and proactive security 79 * Testing and proactive security
77 - Switched the remaining tests to new certs. 80 - Switched the remaining tests to new certs.
78 * Compatibility changes 81 * Compatibility changes
82 - Protocol parsing in libtls was changed. The no longer supported
83 TLSv1.1 and TLSv1.0 protocols are now completely ignored and no
84 longer enable or disable TLSv1.2 in surprising ways.
79 - The one-step hashing functions, MD4(), MD5(), RIPEMD160(), SHA1(), 85 - The one-step hashing functions, MD4(), MD5(), RIPEMD160(), SHA1(),
80 all SHA-2, and HMAC() no longer support returning a static buffer. 86 all SHA-2, and HMAC() no longer support returning a static buffer.
81 Callers must pass in a correctly sized buffer. 87 Callers must pass in a correctly sized buffer.
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 5ee20ff..7d4ff70 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -221,9 +221,9 @@ set(
221 ${CRYPTO_SRC} 221 ${CRYPTO_SRC}
222 cpt_err.c 222 cpt_err.c
223 cryptlib.c 223 cryptlib.c
224 crypto_ex_data.c
224 crypto_init.c 225 crypto_init.c
225 cversion.c 226 cversion.c
226 ex_data.c
227 malloc-wrapper.c 227 malloc-wrapper.c
228 mem_clr.c 228 mem_clr.c
229 mem_dbg.c 229 mem_dbg.c
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index 6e1e975..cb463fb 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -203,6 +203,7 @@ endif
203 203
204libcrypto_la_SOURCES += cpt_err.c 204libcrypto_la_SOURCES += cpt_err.c
205libcrypto_la_SOURCES += cryptlib.c 205libcrypto_la_SOURCES += cryptlib.c
206libcrypto_la_SOURCES += crypto_ex_data.c
206libcrypto_la_SOURCES += crypto_init.c 207libcrypto_la_SOURCES += crypto_init.c
207if !HOST_WIN 208if !HOST_WIN
208libcrypto_la_SOURCES += crypto_lock.c 209libcrypto_la_SOURCES += crypto_lock.c
@@ -210,7 +211,6 @@ else
210libcrypto_la_SOURCES += compat/crypto_lock_win.c 211libcrypto_la_SOURCES += compat/crypto_lock_win.c
211endif 212endif
212libcrypto_la_SOURCES += cversion.c 213libcrypto_la_SOURCES += cversion.c
213libcrypto_la_SOURCES += ex_data.c
214libcrypto_la_SOURCES += malloc-wrapper.c 214libcrypto_la_SOURCES += malloc-wrapper.c
215libcrypto_la_SOURCES += mem_clr.c 215libcrypto_la_SOURCES += mem_clr.c
216libcrypto_la_SOURCES += mem_dbg.c 216libcrypto_la_SOURCES += mem_dbg.c
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d81d012..f79f69e 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -676,7 +676,7 @@ set_tests_properties(shutdowntest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_D
676# Emscripten does not support socketpair syscall. 676# Emscripten does not support socketpair syscall.
677if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) 677if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN))
678 set(SIGNERTEST_SRC signertest.c) 678 set(SIGNERTEST_SRC signertest.c)
679 check_function_exists(pipe2 HAVE_PIPE2) 679 check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2)
680 if(HAVE_PIPE2) 680 if(HAVE_PIPE2)
681 add_definitions(-DHAVE_PIPE2) 681 add_definitions(-DHAVE_PIPE2)
682 else() 682 else()
@@ -792,7 +792,7 @@ add_platform_test(tlslegacytest tlslegacytest)
792# Emscripten does not support socketpair syscall. 792# Emscripten does not support socketpair syscall.
793if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) 793if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN))
794 set(TLSTEST_SRC tlstest.c) 794 set(TLSTEST_SRC tlstest.c)
795 check_function_exists(pipe2 HAVE_PIPE2) 795 check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2)
796 if(HAVE_PIPE2) 796 if(HAVE_PIPE2)
797 add_definitions(-DHAVE_PIPE2) 797 add_definitions(-DHAVE_PIPE2)
798 else() 798 else()