Skip to content

Commit 3b1be69

Browse files
authored
Update to v2.6.5 (#1)
* Sync V.2.6.5 changes.
1 parent 5e51ae3 commit 3b1be69

File tree

14 files changed

+63
-454
lines changed

14 files changed

+63
-454
lines changed

CMakeLists.txt

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -107,26 +107,23 @@ if(MSVC)
107107
message(STATUS "Using [${CMAKE_C_COMPILER_ID}] compiler")
108108
if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
109109
set(MSVC_DISABLED_WARNINGS_LIST
110-
"C4057" # C4057: 'initializing' : 'unsigned char *' differs in
111-
# indirection to slightly different base types from 'char [2]'
112-
"C4018" # '>=': signed/unsigned mismatch
113-
"C4100" # 'exarg' : unreferenced formal parameter
110+
"C4018" # 'expression' : signed/unsigned mismatch
111+
"C4057" # 'operator' : 'identifier1' indirection to
112+
# slightly different base types from 'identifier2'
113+
"C4100" # 'identifier' : unreferenced formal parameter
114114
"C4127" # conditional expression is constant
115-
"C4146" # unary minus operator applied to unsigned
116-
# type, result still unsigned
117-
"C4242" # 'function' : conversion from 'int' to 'uint8_t',
118-
# possible loss of data
119-
"C4244" # 'function' : conversion from 'int' to 'uint8_t',
120-
# possible loss of data
121-
"C4245" # 'initializing': conversion from 'long' to
122-
# 'unsigned long', signed/unsigned mismatch
123-
"C4267" # conversion from 'size_t' to 'some type that is almost
124-
# certainly safe to convert a size_t to'.
125-
"C4389" # '!=': signed/unsigned mismatch
115+
"C4146" # unary minus operator applied to unsigned type,
116+
# result still unsigned
117+
"C4244" # 'argument' : conversion from 'type1' to 'type2',
118+
# possible loss of data
119+
"C4245" # 'conversion' : conversion from 'type1' to 'type2',
120+
# signed/unsigned mismatch
121+
"C4267" # 'var' : conversion from 'size_t' to 'type',
122+
# possible loss of data
123+
"C4389" # 'operator' : signed/unsigned mismatch
126124
"C4706" # assignment within conditional expression
127-
"C4820" # 'bytes' bytes padding added after construct 'member_name'
128-
"C4996" # 'read': The POSIX name for this item is deprecated. Instead,
129-
# use the ISO C++ conformant name: _read.
125+
"C4996" # The POSIX name for this item is deprecated.
126+
# Instead, use the ISO C and C++ conformant name
130127
)
131128
elseif(CMAKE_C_COMPILER_ID MATCHES "Intel")
132129
add_definitions(-D_CRT_SUPPRESS_RESTRICT)

ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ history is also available from Git.
2828

2929
LibreSSL Portable Release Notes:
3030

31+
2.6.5 - Security fixes
32+
33+
* Avoid a timing side-channel leak when generating DSA and ECDSA
34+
signatures. This is caused by an attempt to do fast modular
35+
arithmetic, which introduces branches that leak information
36+
regarding secret values. Issue identified and reported by Keegan
37+
Ryan of NCC Group.
38+
39+
* Reject excessively large primes in DH key generation. Problem
40+
reported by Guido Vranken to OpenSSL
41+
(https://github.com/openssl/openssl/pull/6457) and based on his
42+
diff.
43+
3144
2.6.4 - Bug fixes
3245

3346
* Make tls_config_parse_protocols() work correctly when passed a NULL

0 commit comments

Comments
 (0)