diff options
| -rw-r--r-- | .github/rust-openssl.patch | 11 | ||||
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | crypto/compat/ui_openssl_win.c | 3 | ||||
| -rw-r--r-- | tls/CMakeLists.txt | 5 |
4 files changed, 12 insertions, 13 deletions
diff --git a/.github/rust-openssl.patch b/.github/rust-openssl.patch index e9586dd..4a8dd3f 100644 --- a/.github/rust-openssl.patch +++ b/.github/rust-openssl.patch | |||
| @@ -1,13 +1,12 @@ | |||
| 1 | diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs | 1 | diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs |
| 2 | index 82013b6c..2974abed 100644 | 2 | index bbee7c5c..57033b2d 100644 |
| 3 | --- a/openssl-sys/build/main.rs | 3 | --- a/openssl-sys/build/main.rs |
| 4 | +++ b/openssl-sys/build/main.rs | 4 | +++ b/openssl-sys/build/main.rs |
| 5 | @@ -273,7 +273,7 @@ See rust-openssl documentation for more information: | 5 | @@ -293,6 +293,7 @@ See rust-openssl documentation for more information: |
| 6 | (3, 7, 1) => ('3', '7', '1'), | ||
| 7 | (3, 7, _) => ('3', '7', 'x'), | ||
| 8 | (3, 8, 0) => ('3', '8', '0'), | 6 | (3, 8, 0) => ('3', '8', '0'), |
| 9 | - (3, 8, 1) => ('3', '8', '1'), | 7 | (3, 8, 1) => ('3', '8', '1'), |
| 10 | + (3, 8, _) => ('3', '8', 'x'), | 8 | (3, 8, _) => ('3', '8', 'x'), |
| 9 | + (3, 9, _) => ('3', '8', 'x'), | ||
| 11 | _ => version_error(), | 10 | _ => version_error(), |
| 12 | }; | 11 | }; |
| 13 | 12 | ||
| @@ -34,8 +34,12 @@ LibreSSL Portable Release Notes: | |||
| 34 | * Internal improvements | 34 | * Internal improvements |
| 35 | * Documentation improvements | 35 | * Documentation improvements |
| 36 | * Testing and proactive security | 36 | * Testing and proactive security |
| 37 | * Compatibility changes | ||
| 38 | - Added ChaCha20 and chacha20 aliases for ChaCha. | ||
| 37 | * Bug fixes | 39 | * Bug fixes |
| 38 | - Fixed aliasing issues in BN_mod_exp_simple() and BN_mod_exp_recp() | 40 | - Fixed aliasing issues in BN_mod_exp_simple() and BN_mod_exp_recp(). |
| 41 | - Fixed numerous misuses of X509_ALGOR_set0() resulting in leaks and | ||
| 42 | potentially incorrect encodings. | ||
| 39 | 43 | ||
| 40 | 3.8.2 - Stable release | 44 | 3.8.2 - Stable release |
| 41 | 45 | ||
diff --git a/crypto/compat/ui_openssl_win.c b/crypto/compat/ui_openssl_win.c index b6a621f..a8c92f2 100644 --- a/crypto/compat/ui_openssl_win.c +++ b/crypto/compat/ui_openssl_win.c | |||
| @@ -130,9 +130,6 @@ | |||
| 130 | #define NX509_SIG 32 | 130 | #define NX509_SIG 32 |
| 131 | #endif | 131 | #endif |
| 132 | 132 | ||
| 133 | /* Define globals. They are protected by a lock */ | ||
| 134 | static void (*savsig[NX509_SIG])(int ); | ||
| 135 | |||
| 136 | DWORD console_mode; | 133 | DWORD console_mode; |
| 137 | static FILE *tty_in, *tty_out; | 134 | static FILE *tty_in, *tty_out; |
| 138 | static int is_a_tty; | 135 | static int is_a_tty; |
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index 4beef36..240dbf8 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
| @@ -50,11 +50,10 @@ target_include_directories(tls_obj | |||
| 50 | ../include | 50 | ../include |
| 51 | ${CMAKE_BINARY_DIR}/include) | 51 | ${CMAKE_BINARY_DIR}/include) |
| 52 | 52 | ||
| 53 | add_library(tls $<TARGET_OBJECTS:tls_obj> $<TARGET_OBJECTS:ssl_obj> | 53 | add_library(tls $<TARGET_OBJECTS:tls_obj> empty.c) |
| 54 | $<TARGET_OBJECTS:crypto_obj> empty.c) | ||
| 55 | 54 | ||
| 56 | export_symbol(tls ${CMAKE_CURRENT_BINARY_DIR}/tls.sym) | 55 | export_symbol(tls ${CMAKE_CURRENT_BINARY_DIR}/tls.sym) |
| 57 | target_link_libraries(tls ${PLATFORM_LIBS}) | 56 | target_link_libraries(tls ${OPENSSL_LIBS}) |
| 58 | if (WIN32) | 57 | if (WIN32) |
| 59 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION} PARENT_SCOPE) | 58 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION} PARENT_SCOPE) |
| 60 | endif() | 59 | endif() |
