uringmachine 0.15 → 0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +3 -0
  3. data/.gitmodules +4 -0
  4. data/CHANGELOG.md +12 -0
  5. data/TODO.md +12 -3
  6. data/examples/bm_send.rb +86 -0
  7. data/ext/um/um.c +28 -1
  8. data/ext/um/um.h +3 -0
  9. data/ext/um/um_class.c +17 -0
  10. data/ext/um/um_stream_class.c +0 -1
  11. data/ext/um/um_utils.c +38 -15
  12. data/lib/uringmachine/version.rb +1 -1
  13. data/lib/uringmachine.rb +4 -3
  14. data/test/test_um.rb +76 -0
  15. data/vendor/libressl/.github/scripts/changelog.sh +74 -0
  16. data/vendor/libressl/.github/workflows/android.yml +35 -0
  17. data/vendor/libressl/.github/workflows/cifuzz.yml +33 -0
  18. data/vendor/libressl/.github/workflows/cmake-config.yml +98 -0
  19. data/vendor/libressl/.github/workflows/coverity.yml +69 -0
  20. data/vendor/libressl/.github/workflows/emscripten.yml +71 -0
  21. data/vendor/libressl/.github/workflows/fedora-rawhide.yml +39 -0
  22. data/vendor/libressl/.github/workflows/freebsd.yml +71 -0
  23. data/vendor/libressl/.github/workflows/linux.yml +71 -0
  24. data/vendor/libressl/.github/workflows/macos.yml +37 -0
  25. data/vendor/libressl/.github/workflows/release.yml +81 -0
  26. data/vendor/libressl/.github/workflows/rust-openssl.yml +47 -0
  27. data/vendor/libressl/.github/workflows/solaris.yml +37 -0
  28. data/vendor/libressl/.github/workflows/windows.yml +70 -0
  29. data/vendor/libressl/.gitignore +333 -0
  30. data/vendor/libressl/CMakeLists.txt +581 -0
  31. data/vendor/libressl/COPYING +133 -0
  32. data/vendor/libressl/ChangeLog +3280 -0
  33. data/vendor/libressl/FindLibreSSL.cmake +232 -0
  34. data/vendor/libressl/LibreSSLConfig.cmake.in +36 -0
  35. data/vendor/libressl/Makefile.am +60 -0
  36. data/vendor/libressl/Makefile.am.common +20 -0
  37. data/vendor/libressl/OPENBSD_BRANCH +1 -0
  38. data/vendor/libressl/README.md +238 -0
  39. data/vendor/libressl/README.mingw.md +43 -0
  40. data/vendor/libressl/apps/CMakeLists.txt +18 -0
  41. data/vendor/libressl/apps/Makefile.am +5 -0
  42. data/vendor/libressl/apps/nc/CMakeLists.txt +67 -0
  43. data/vendor/libressl/apps/nc/Makefile.am +64 -0
  44. data/vendor/libressl/apps/nc/compat/accept4.c +17 -0
  45. data/vendor/libressl/apps/nc/compat/readpassphrase.c +205 -0
  46. data/vendor/libressl/apps/nc/compat/socket.c +29 -0
  47. data/vendor/libressl/apps/nc/compat/sys/socket.h +30 -0
  48. data/vendor/libressl/apps/ocspcheck/CMakeLists.txt +44 -0
  49. data/vendor/libressl/apps/ocspcheck/Makefile.am +45 -0
  50. data/vendor/libressl/apps/ocspcheck/compat/.gitignore +0 -0
  51. data/vendor/libressl/apps/openssl/CMakeLists.txt +97 -0
  52. data/vendor/libressl/apps/openssl/Makefile.am +108 -0
  53. data/vendor/libressl/apps/openssl/apps_win.c +138 -0
  54. data/vendor/libressl/apps/openssl/certhash_win.c +13 -0
  55. data/vendor/libressl/apps/openssl/compat/clock_gettime_osx.c +26 -0
  56. data/vendor/libressl/apps/openssl/compat/poll_win.c +329 -0
  57. data/vendor/libressl/appveyor.yml +53 -0
  58. data/vendor/libressl/autogen.sh +15 -0
  59. data/vendor/libressl/check-release.sh +86 -0
  60. data/vendor/libressl/cmake_export_symbol.cmake +71 -0
  61. data/vendor/libressl/cmake_uninstall.cmake.in +36 -0
  62. data/vendor/libressl/config +17 -0
  63. data/vendor/libressl/configure.ac +165 -0
  64. data/vendor/libressl/crypto/CMakeLists.txt +863 -0
  65. data/vendor/libressl/crypto/Makefile.am +962 -0
  66. data/vendor/libressl/crypto/Makefile.am.arc4random +46 -0
  67. data/vendor/libressl/crypto/Makefile.am.elf-mips +14 -0
  68. data/vendor/libressl/crypto/Makefile.am.elf-mips64 +14 -0
  69. data/vendor/libressl/crypto/Makefile.am.elf-x86_64 +35 -0
  70. data/vendor/libressl/crypto/Makefile.am.macosx-x86_64 +35 -0
  71. data/vendor/libressl/crypto/Makefile.am.masm-x86_64 +22 -0
  72. data/vendor/libressl/crypto/Makefile.am.mingw64-x86_64 +23 -0
  73. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_darwin.c +60 -0
  74. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_linux.c +62 -0
  75. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_none.c +26 -0
  76. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_windows.c +36 -0
  77. data/vendor/libressl/crypto/arch/loongarch64/crypto_arch.h +21 -0
  78. data/vendor/libressl/crypto/arch/mips/crypto_arch.h +21 -0
  79. data/vendor/libressl/crypto/bn/arch/loongarch64/bn_arch.h +23 -0
  80. data/vendor/libressl/crypto/bn/arch/mips/bn_arch.h +24 -0
  81. data/vendor/libressl/crypto/compat/.gitignore +31 -0
  82. data/vendor/libressl/crypto/compat/arc4random.h +41 -0
  83. data/vendor/libressl/crypto/compat/b_win.c +55 -0
  84. data/vendor/libressl/crypto/compat/bsd-asprintf.c +96 -0
  85. data/vendor/libressl/crypto/compat/crypto_lock_win.c +56 -0
  86. data/vendor/libressl/crypto/compat/explicit_bzero_win.c +13 -0
  87. data/vendor/libressl/crypto/compat/freezero.c +32 -0
  88. data/vendor/libressl/crypto/compat/getdelim.c +78 -0
  89. data/vendor/libressl/crypto/compat/getline.c +40 -0
  90. data/vendor/libressl/crypto/compat/getopt_long.c +528 -0
  91. data/vendor/libressl/crypto/compat/getpagesize.c +18 -0
  92. data/vendor/libressl/crypto/compat/getprogname_linux.c +23 -0
  93. data/vendor/libressl/crypto/compat/getprogname_unimpl.c +7 -0
  94. data/vendor/libressl/crypto/compat/getprogname_windows.c +13 -0
  95. data/vendor/libressl/crypto/compat/posix_win.c +296 -0
  96. data/vendor/libressl/crypto/compat/syslog_r.c +19 -0
  97. data/vendor/libressl/crypto/compat/ui_openssl_win.c +334 -0
  98. data/vendor/libressl/dist.sh +22 -0
  99. data/vendor/libressl/gen-coverage-report.sh +58 -0
  100. data/vendor/libressl/gen-openbsd-tags.sh +20 -0
  101. data/vendor/libressl/include/CMakeLists.txt +61 -0
  102. data/vendor/libressl/include/Makefile.am +79 -0
  103. data/vendor/libressl/include/arch/loongarch64/opensslconf.h +150 -0
  104. data/vendor/libressl/include/arch/mips/opensslconf.h +150 -0
  105. data/vendor/libressl/include/compat/arpa/inet.h +15 -0
  106. data/vendor/libressl/include/compat/arpa/nameser.h +25 -0
  107. data/vendor/libressl/include/compat/cet.h +19 -0
  108. data/vendor/libressl/include/compat/dirent.h +17 -0
  109. data/vendor/libressl/include/compat/dirent_msvc.h +611 -0
  110. data/vendor/libressl/include/compat/endian.h +161 -0
  111. data/vendor/libressl/include/compat/err.h +95 -0
  112. data/vendor/libressl/include/compat/fcntl.h +32 -0
  113. data/vendor/libressl/include/compat/getopt.h +50 -0
  114. data/vendor/libressl/include/compat/limits.h +25 -0
  115. data/vendor/libressl/include/compat/netdb.h +10 -0
  116. data/vendor/libressl/include/compat/netinet/in.h +19 -0
  117. data/vendor/libressl/include/compat/netinet/ip.h +49 -0
  118. data/vendor/libressl/include/compat/netinet/tcp.h +10 -0
  119. data/vendor/libressl/include/compat/poll.h +63 -0
  120. data/vendor/libressl/include/compat/pthread.h +122 -0
  121. data/vendor/libressl/include/compat/readpassphrase.h +44 -0
  122. data/vendor/libressl/include/compat/resolv.h +24 -0
  123. data/vendor/libressl/include/compat/stdint.h +31 -0
  124. data/vendor/libressl/include/compat/stdio.h +65 -0
  125. data/vendor/libressl/include/compat/stdlib.h +57 -0
  126. data/vendor/libressl/include/compat/string.h +98 -0
  127. data/vendor/libressl/include/compat/sys/_null.h +18 -0
  128. data/vendor/libressl/include/compat/sys/ioctl.h +11 -0
  129. data/vendor/libressl/include/compat/sys/mman.h +19 -0
  130. data/vendor/libressl/include/compat/sys/param.h +15 -0
  131. data/vendor/libressl/include/compat/sys/queue.h +536 -0
  132. data/vendor/libressl/include/compat/sys/select.h +10 -0
  133. data/vendor/libressl/include/compat/sys/socket.h +18 -0
  134. data/vendor/libressl/include/compat/sys/stat.h +129 -0
  135. data/vendor/libressl/include/compat/sys/time.h +37 -0
  136. data/vendor/libressl/include/compat/sys/tree.h +1006 -0
  137. data/vendor/libressl/include/compat/sys/types.h +69 -0
  138. data/vendor/libressl/include/compat/sys/uio.h +17 -0
  139. data/vendor/libressl/include/compat/syslog.h +38 -0
  140. data/vendor/libressl/include/compat/time.h +59 -0
  141. data/vendor/libressl/include/compat/unistd.h +83 -0
  142. data/vendor/libressl/include/compat/win32netcompat.h +57 -0
  143. data/vendor/libressl/include/openssl/Makefile.am.tpl +45 -0
  144. data/vendor/libressl/libcrypto.pc.in +28 -0
  145. data/vendor/libressl/libressl.pub +2 -0
  146. data/vendor/libressl/libssl.pc.in +28 -0
  147. data/vendor/libressl/libtls.pc.in +28 -0
  148. data/vendor/libressl/m4/ax_add_fortify_source.m4 +80 -0
  149. data/vendor/libressl/m4/ax_check_compile_flag.m4 +53 -0
  150. data/vendor/libressl/m4/check-hardening-options.m4 +110 -0
  151. data/vendor/libressl/m4/check-libc.m4 +189 -0
  152. data/vendor/libressl/m4/check-os-options.m4 +181 -0
  153. data/vendor/libressl/m4/disable-compiler-warnings.m4 +44 -0
  154. data/vendor/libressl/man/CMakeLists.txt +26 -0
  155. data/vendor/libressl/man/links +2780 -0
  156. data/vendor/libressl/man/update_links.sh +25 -0
  157. data/vendor/libressl/openssl.pc.in +11 -0
  158. data/vendor/libressl/patches/bn_shift.patch +34 -0
  159. data/vendor/libressl/patches/crypto_arch.h.patch +34 -0
  160. data/vendor/libressl/patches/crypto_namespace.h.patch +22 -0
  161. data/vendor/libressl/patches/netcat.c.patch +178 -0
  162. data/vendor/libressl/patches/openssl.c.patch +12 -0
  163. data/vendor/libressl/patches/opensslfeatures.h.patch +49 -0
  164. data/vendor/libressl/patches/patch-amd64-crypto-cpu-caps.c.patch +20 -0
  165. data/vendor/libressl/patches/patch-i386-crypto-cpu-caps.c.patch +20 -0
  166. data/vendor/libressl/patches/speed.c.patch +114 -0
  167. data/vendor/libressl/patches/ssl_namespace.h.patch +21 -0
  168. data/vendor/libressl/patches/tls.h.patch +16 -0
  169. data/vendor/libressl/patches/tls_config.c.patch +15 -0
  170. data/vendor/libressl/patches/win32_amd64_bn_arch.h.patch +28 -0
  171. data/vendor/libressl/patches/windows_headers.patch +80 -0
  172. data/vendor/libressl/scripts/config.guess +1774 -0
  173. data/vendor/libressl/scripts/config.sub +1907 -0
  174. data/vendor/libressl/scripts/i686-w64-mingw32.cmake +9 -0
  175. data/vendor/libressl/scripts/test +210 -0
  176. data/vendor/libressl/scripts/wrap-compiler-for-flag-check +31 -0
  177. data/vendor/libressl/scripts/x86_64-w64-mingw32.cmake +9 -0
  178. data/vendor/libressl/ssl/CMakeLists.txt +183 -0
  179. data/vendor/libressl/ssl/Makefile.am +187 -0
  180. data/vendor/libressl/tests/CMakeLists.txt +970 -0
  181. data/vendor/libressl/tests/Makefile.am +944 -0
  182. data/vendor/libressl/tests/aeadtest.sh +30 -0
  183. data/vendor/libressl/tests/arc4randomforktest.sh +21 -0
  184. data/vendor/libressl/tests/asn1time_small.test +10 -0
  185. data/vendor/libressl/tests/cmake/CMakeLists.txt +52 -0
  186. data/vendor/libressl/tests/cmake/crypto.c +7 -0
  187. data/vendor/libressl/tests/cmake/ssl.c +6 -0
  188. data/vendor/libressl/tests/cmake/tls.c +6 -0
  189. data/vendor/libressl/tests/compat/pipe2.c +186 -0
  190. data/vendor/libressl/tests/dtlstest.sh +28 -0
  191. data/vendor/libressl/tests/evptest.sh +22 -0
  192. data/vendor/libressl/tests/keypairtest.sh +27 -0
  193. data/vendor/libressl/tests/mlkem_tests.sh +39 -0
  194. data/vendor/libressl/tests/ocsptest.bat +25 -0
  195. data/vendor/libressl/tests/ocsptest.sh +23 -0
  196. data/vendor/libressl/tests/openssl.cnf +29 -0
  197. data/vendor/libressl/tests/optionstest.c +381 -0
  198. data/vendor/libressl/tests/pidwraptest.c +85 -0
  199. data/vendor/libressl/tests/pidwraptest.sh +26 -0
  200. data/vendor/libressl/tests/quictest.bat +27 -0
  201. data/vendor/libressl/tests/quictest.sh +30 -0
  202. data/vendor/libressl/tests/renegotiation_test.bat +27 -0
  203. data/vendor/libressl/tests/renegotiation_test.sh +30 -0
  204. data/vendor/libressl/tests/rfc5280time_small.test +10 -0
  205. data/vendor/libressl/tests/servertest.bat +27 -0
  206. data/vendor/libressl/tests/servertest.sh +30 -0
  207. data/vendor/libressl/tests/shutdowntest.bat +27 -0
  208. data/vendor/libressl/tests/shutdowntest.sh +30 -0
  209. data/vendor/libressl/tests/ssltest.bat +32 -0
  210. data/vendor/libressl/tests/ssltest.sh +48 -0
  211. data/vendor/libressl/tests/testdsa.bat +47 -0
  212. data/vendor/libressl/tests/testdsa.sh +57 -0
  213. data/vendor/libressl/tests/testenc.bat +85 -0
  214. data/vendor/libressl/tests/testenc.sh +93 -0
  215. data/vendor/libressl/tests/testrsa.bat +47 -0
  216. data/vendor/libressl/tests/testrsa.sh +57 -0
  217. data/vendor/libressl/tests/testssl.bat +171 -0
  218. data/vendor/libressl/tests/tlstest.bat +27 -0
  219. data/vendor/libressl/tests/tlstest.sh +28 -0
  220. data/vendor/libressl/tls/CMakeLists.txt +125 -0
  221. data/vendor/libressl/tls/Makefile.am +76 -0
  222. data/vendor/libressl/tls/compat/ftruncate.c +17 -0
  223. data/vendor/libressl/tls/compat/pread.c +29 -0
  224. data/vendor/libressl/tls/compat/pwrite.c +29 -0
  225. data/vendor/libressl/update.sh +460 -0
  226. data/vendor/liburing/.github/workflows/ci.yml +8 -0
  227. data/vendor/liburing/configure +23 -2
  228. data/vendor/liburing/examples/helpers.c +1 -1
  229. data/vendor/liburing/examples/helpers.h +1 -1
  230. data/vendor/liburing/examples/reg-wait.c +3 -3
  231. data/vendor/liburing/examples/zcrx.c +5 -5
  232. data/vendor/liburing/liburing.spec +1 -1
  233. data/vendor/liburing/src/include/liburing/io_uring.h +16 -0
  234. data/vendor/liburing/src/include/liburing.h +20 -4
  235. data/vendor/liburing/src/lib.h +2 -4
  236. data/vendor/liburing/src/liburing-ffi.map +7 -0
  237. data/vendor/liburing/src/liburing.map +7 -0
  238. data/vendor/liburing/src/register.c +5 -0
  239. data/vendor/liburing/src/sanitize.c +5 -4
  240. data/vendor/liburing/src/setup.c +43 -28
  241. data/vendor/liburing/test/Makefile +7 -0
  242. data/vendor/liburing/test/cmd-discard.c +2 -2
  243. data/vendor/liburing/test/evfd-short-read.c +84 -0
  244. data/vendor/liburing/test/fdinfo-sqpoll.c +117 -0
  245. data/vendor/liburing/test/fdinfo.c +1 -1
  246. data/vendor/liburing/test/fixed-buf-merge.c +2 -2
  247. data/vendor/liburing/test/futex-kill.c +135 -0
  248. data/vendor/liburing/test/helpers.c +1 -1
  249. data/vendor/liburing/test/helpers.h +1 -1
  250. data/vendor/liburing/test/init-mem.c +50 -12
  251. data/vendor/liburing/test/io_uring_passthrough.c +25 -6
  252. data/vendor/liburing/test/msg-ring.c +123 -9
  253. data/vendor/liburing/test/recv-bundle-short-ooo.c +16 -1
  254. data/vendor/liburing/test/recv-inc-ooo.c +411 -0
  255. data/vendor/liburing/test/recv-mshot-fair.c +513 -0
  256. data/vendor/liburing/test/reg-wait.c +14 -14
  257. data/vendor/liburing/test/send-zerocopy.c +4 -4
  258. data/vendor/liburing/test/timerfd-short-read.c +81 -0
  259. data/vendor/liburing/test/timestamp.c +382 -0
  260. data/vendor/liburing/test/zcrx.c +22 -22
  261. metadata +222 -2
@@ -0,0 +1,3280 @@
1
+ Because this project is maintained both in the OpenBSD tree using CVS and in
2
+ Git, it can be confusing following all of the changes.
3
+
4
+ Most of the libssl and libcrypto source code is here in OpenBSD CVS:
5
+
6
+ https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libssl/
7
+
8
+ Some of the libcrypto and OS-compatibility files for entropy and random number
9
+ generation are here:
10
+
11
+ https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/
12
+
13
+ A simplified TLS wrapper library is here:
14
+
15
+ https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libtls/
16
+
17
+ The LibreSSL Portable project copies these portions of the OpenBSD tree, along
18
+ with relevant portions of the C library, to a Git repository. This makes it
19
+ easier to follow all of the relevant changes to the upstream project in a
20
+ single place:
21
+
22
+ https://github.com/libressl/openbsd
23
+
24
+ The portable bits of the project are largely maintained out-of-tree, and their
25
+ history is also available from Git.
26
+
27
+ https://github.com/libressl/portable
28
+
29
+ LibreSSL Portable Release Notes:
30
+
31
+ 4.2.0 - In development
32
+
33
+ * Portable changes
34
+ * Internal improvements
35
+ - Cleaned up code implementing block cipher modes of operation.
36
+ Includes untangling a horrible #ifdef mess and removing a few
37
+ instances of undefined behavior.
38
+ - Removed assembly implementations of AES using bit slicing (BS-AES)
39
+ and vector permutation (VP-AES).
40
+ - Removed OPENSSL_SMALL_FOOTPRINT and OPENSSL_FIPSAPI.
41
+ - Lots of cleanup and removal of code with undefined behavior in
42
+ the block cipher modes of operation implementations.
43
+ - Implemented constant time EC field element operations to allow
44
+ implementing elliptic curve operations without bignum arithmetic.
45
+ - Implemented an EC method using homogeneous projective coordinates.
46
+ This allows exception-free elliptic curve arithmetic in constant
47
+ time.
48
+ - Started cleaning up the openssl speed implementation.
49
+ - The last SIGILL-based CPU capability detection was removed.
50
+ Instead, capabilities are now detected using a constructor on
51
+ library load, which improves the incomplete coverage by calls
52
+ to OPENSSL_init_crypto() on various entry points.
53
+ * Compatibility changes
54
+ - Removed the -msie_hack option from the openssl(1) ca subcommand.
55
+ - Removed parameters of the 239-bit prime curves from X9.62, H.5.2:
56
+ prime239v1, prime239v2, prime239v3.
57
+ - Increased default MAC salt length used by PKCS12_set_mac(3) to 16
58
+ per recommendation of NIST SP 800-132.
59
+ - Encrypted PKCS#8 key files now use a default password-based key
60
+ derivation function that is acceptable in the present millenium.
61
+ - Of the old *err() only PEMerr(), RSAerr(), and SSLerr() remain.
62
+ * New features
63
+ * Bug fixes
64
+ - Avoid pointer arithmetic on NULL for memory BIOs.
65
+ * Documentation
66
+ - Rewrote most of the EC documentation from scratch to be at least
67
+ somewhat accurate and intelligible.
68
+ * Testing and proactive security
69
+ - Added a testing framework that will help deduplicating lots of
70
+ ad-hoc code in the regression tests.
71
+
72
+ 4.1.0 - Stable release
73
+
74
+ * Portable changes
75
+ - Added initial experimental support for loongarch64.
76
+ - Fixed compilation for mips32 and reenable CI.
77
+ - Fixed CMake builds on FreeBSD.
78
+ - Fixed the --prefix option for cmake --install.
79
+ - Fixed tests for MinGW due to missing sh(1).
80
+ * Internal improvements
81
+ - Cleaned up the error implementation.
82
+ - Many bug fixes and simplifications in the EC ASN.1 code.
83
+ - Corrected DER encoding for EC keys and parameters.
84
+ - Polished EC_POINT_{oct2point,point2oct}() internals.
85
+ - Rewrote the wNAF code for fast ECDSA verification.
86
+ - Improved the code setting compressed coordinates for EC points.
87
+ - Reworked CPU capabilities detection for amd64 and aarch64.
88
+ - New SHA-1, SHA-256 and SHA-512 assembly implementations for amd64.
89
+ These make use of the SHA-NI instruction if it is available and
90
+ replace the perl-generated assembly optimized for museum pieces.
91
+ These are not yet enabled in libressl-portable.
92
+ - New SHA-256 and SHA-512 assembly implementations for aarch64
93
+ making use of the ARM Cryptographic Extension (CE). Not yet
94
+ enabled in libressl-portable.
95
+ - New simplified, readable MD5 implementation for amd64.
96
+ - Rewrote BN_bn2binpad() and its lebin siblings.
97
+ - The BIGNUMs in EC_GROUP and EC_POINT are now heap allocated.
98
+ - Rewrote TS_ASN1_INTEGER_print_bio().
99
+ - Improved bit counter handling in MD5.
100
+ - Simplified and cleaned up the BN_RECP_CTX internals.
101
+ - Improved SM4 to match other symmetric ciphers more closely.
102
+ - Rewrote X509_NAME_oneline() and X509_NAME_print() using CBS/CBB.
103
+ - CRLs are now cached in the issuer cache like certificates.
104
+ - Replaced combinations of BN_MONT_CTX_new/set with an internal
105
+ BN_MONT_CTX_create().
106
+ - Replaced BN_bn2hex() reimplementation in openssl(1) ca with
107
+ a proper API call.
108
+ - Fixed integer overflows due to signed shift in obj_dat.c.
109
+ - Improved some X509_VERIFY_PARAM internals and avoid an out of
110
+ bounds read from public API.
111
+ - Imported ML-KEM 768 and 1024 from BoringSSL (not yet public API).
112
+ * Compatibility changes
113
+ - Added an OPENSSL_INIT_NO_ATEXIT flag for OPENSSL_init_crypto().
114
+ It has no effect since LibreSSL doesn't call atexit().
115
+ - Elliptic curve parameters are only accepted if they encode a
116
+ built-in curve.
117
+ - EC_METHOD is no longer public and the API exposing it has been
118
+ removed. This includes EC_GROUP_new(), EC_GFp_mont_method(),
119
+ EC_GROUP_method_of() and EC_METHOD_get_field_type().
120
+ - The precomputation stubs for EC_GROUP were removed.
121
+ - The API setting Jacobian projective coordinates for a point was
122
+ removed as were EC_POINTs_{mul,make_affine}().
123
+ - All elliptic curves over fields with less than 224 bits and a
124
+ few more were removed from the built-in curves. This includes
125
+ all WTLS curves and P-192.
126
+ - It is no longer necessary to set RSA_FLAG_SIGN_VER to use the
127
+ sign and verify handlers set with RSA_meth_set_{sign,verify}.
128
+ - Removed the -C option to generate "C code" from the openssl(1)
129
+ dh, dhparam, dsaparam, ecparam, and x509 subcommands.
130
+ - Removed #error in headers when OPENSSL_NO_* is defined.
131
+ - CRYPTO_set_mem_functions() now matches OpenSSL 1.1 and
132
+ CRYPTO_set_mem_ex_functions() was removed.
133
+ - The tls_session_secret_cb_fn type now matches OpenSSL 1.1.
134
+ - Unexport X509_NAME_print() and X509_OBJECT_up_ref_count().
135
+ - const corrected UI_OpenSSL() and BN_MONT_CTX_copy().
136
+ - Support OPENSSL_NO_FILENAMES.
137
+ - Support SSL_OP_NO_RENEGOTIATION and SSL_OP_ALLOW_CLIENT_RENEGOTIATION.
138
+ - Export PKCS12_key_gen_uni() again.
139
+ * New features
140
+ - libtls has a new tls_peer_cert_common_name() API call to retrieve
141
+ the peer's common name without having to inspect the PEM.
142
+ * Bug fixes
143
+ - Plugged a leak in eckey_compute_pubkey().
144
+ - Again allow the magic values -1, -2 and -3 for the salt length
145
+ of an RSA-PSS key in the EVP_PKEY_CTX_ctrl_str() interface.
146
+ - Fixed a few memory leaks in legacy code.
147
+ * Documentation
148
+ - The remaining undocumented public EVP API is now documented.
149
+ - Reorganization of existing documentation for clarity and accuracy.
150
+ * Testing and proactive security
151
+ - Improved regress coverage of the EC code.
152
+
153
+ 4.0.0 - Stable release
154
+
155
+ * Portable changes
156
+ - Added initial Emscripten support in CMake builds.
157
+ - Removed timegm() compatibility layer since all uses were replaced
158
+ with OPENSSL_timegm(). Cleaned up the corresponding test harness.
159
+ - The mips32 platform is no longer actively supported.
160
+ - Fixed Windows support for dates beyond 2038.
161
+ * Internal improvements
162
+ - Cleaned up parts of the conf directory. Simplified some logic,
163
+ fixed memory leaks.
164
+ - Simplified X509_check_trust() internals to be somewhat readable.
165
+ - Removed last internal uses of gmtime() and timegm() and replaced
166
+ them with BoringSSL's posix time conversion API.
167
+ - Removed unnecessary stat calls in by_dir.
168
+ - Split parsing and processing of TLS extensions to ensure that
169
+ extension callbacks are called in a predefined order.
170
+ - Cleaned up the MD4 and MD5 implementations.
171
+ - Assembly functions are no longer exposed in the public API, they
172
+ are all wrapped by C functions.
173
+ - Removed assembly implementations of legacy ciphers on legacy
174
+ architectures.
175
+ - Merged most multi-file implementations of ciphers into one or two
176
+ C files.
177
+ - Removed the cache of certificate validity. This was added for
178
+ performance reasons which no longer apply since BoringSSL's time
179
+ conversion API isn't slow. Also, a recently added error check led
180
+ to obscure, undesirable validation failures.
181
+ - Stopped calling OPENSSL_cpuid_setup() from the .init section on
182
+ amd64 and i386.
183
+ - Rewrote various BN conversion functions.
184
+ - Improved certification request internals.
185
+ - Removed unused DSA methods.
186
+ - Improved X.509v3 extension internals. Fixed various bugs and leaks
187
+ in X509V3_add1_i2d() and X509V3_get_d2i(). Their implementations
188
+ now vaguely resemble code.
189
+ - Rewrote BN_bn2mpi() using CBB.
190
+ - Made most error string tables const.
191
+ - Removed handling for SSLv2 client hello messages.
192
+ - Improvements in the openssl(1) speed app's signal handler.
193
+ - Cleaned up various X509v3_* extension API.
194
+ - Unified the X.509v3 extension methods.
195
+ - Cleaned up cipher handling in SSL_SESSION.
196
+ - Removed get_cipher from SSL_METHOD.
197
+ - Rewrote CRYPTO_EX_DATA from scratch. The only intentional change of
198
+ behavior is that there is now a hard limit on the number of indexes
199
+ that can be allocated.
200
+ - Removed bogus connect() call from netcat.
201
+ - Uses of atoi() and strtol() in libcrypto were replaced with
202
+ strtonum().
203
+ - Introduced crypto_arch.h which will contain the architecture
204
+ dependent code and defines rather than the public opensslconf.h.
205
+ - OPENSSL_cpu_caps() is now architecture independent.
206
+ - Reorganized the DES implementation to use fewer files and removed
207
+ optimizations for ancient processors and compilers.
208
+ * New features
209
+ - Added CRLfile option to the cms command of openssl(1) to specify
210
+ additional CRLs for use during verification.
211
+ * Documentation improvements
212
+ - Removed documentation of no longer existing API.
213
+ - Unified the description of the obsolete ENGINE parameter that
214
+ needs to remain in many functions and should always be NULL.
215
+ * Testing and proactive security
216
+ - Switched the remaining tests to new certs.
217
+ * Compatibility changes
218
+ - Protocol parsing in libtls was changed. The unsupported TLSv1.1
219
+ and TLSv1.0 protocols are ignored and no longer enable or disable
220
+ TLSv1.2 in surprising ways.
221
+ - The dangerous EVP_PKEY*_check(3) family of functions was removed.
222
+ The openssl(1) pkey and pkeyparam commands no longer support the
223
+ -check and -pubcheck flags.
224
+ - The one-step hashing functions, MD4(), MD5(), RIPEMD160(), SHA1(),
225
+ all SHA-2, and HMAC() no longer support returning a static buffer.
226
+ Callers must pass in a correctly sized buffer.
227
+ - Support for Whirlpool was removed. Applications still using this
228
+ should honor OPENSSL_NO_WHIRLPOOL.
229
+ - Removed workaround for F5 middle boxes.
230
+ - Removed the useless pem2.h, a public header that was added since
231
+ it was too hard to add a single prototype to one file.
232
+ - Removed conf_api.h and the public API therein.
233
+ - Removed ssl2.h, ssl23.h and ui_compat.h.
234
+ - Numerous conf and attribute functions were removed. Some unused
235
+ types were removed, others were made opaque.
236
+ - Removed the deprecated HMAC_Init() function.
237
+ - Removed OPENSSL_load_builtin_modules().
238
+ - Removed X509_REQ_{get,set}_extension_nids().
239
+ - X509_check_trust() and was removed, X509_VAL was made opaque.
240
+ - Only specified versions can be set on certs, CRLs and CSRs.
241
+ - Removed unused PEM_USER and PEM_CTX types from pem.h.
242
+ - Removed typdefs for COMP_CTX, COMP_METHOD, X509_CRL_METHOD, STORE,
243
+ STORE_METHOD, and SSL_AEAD_CTX.
244
+ - i2d_ASN1_OBJECT() now returns -1 on error like most other i2d_*.
245
+ - SPKAC support was removed from openssl(1).
246
+ - Added TLS1-PRF support to the EVP interface.
247
+ - Support for attributes in EVP_PKEYs was removed.
248
+ - The X509at_* API is no longer public.
249
+ - SSL_CTX_set1_cert_store() and SSL_CIPHER_get_handshake_digest()
250
+ were added to libssl.
251
+ - The completely broken UI_UTIL password API was removed.
252
+ - The OpenSSL pkcs12 command and PKCS12_create() no longer support
253
+ setting the Microsoft-specific Local Key Set and Cryptographic
254
+ Service Provider attributes.
255
+ * Bug fixes
256
+ - Made ASN1_TIME_set_string() and ASN1_TIME_set_string_X509() match
257
+ their documentation. They always set an RFC 5280 conformant time.
258
+ - Improved standards compliance for supported groups and key shares
259
+ extensions:
260
+ - Duplicate key shares are disallowed.
261
+ - Duplicate supported groups are disallowed.
262
+ - Key shares must be sent in the order of supported groups.
263
+ - Key shares will only be selected if they match the most
264
+ preferred supported group by client preference order.
265
+ - Fixed signed integer overflow in bnrand().
266
+ - Prevent negative zero from being created via BN_clear_bit() and
267
+ BN_mask_bits(). Avoids a one byte overread in BN_bn2mpi().
268
+ - Add guard to avoid contracting the number linear hash buckets
269
+ to zero, which could lead to a crash due to accessing a zero
270
+ sized allocation.
271
+ - Fixed i2d_ASN1_OBJECT() with an output buffer pointing to NULL.
272
+ - Implemented RSA key exchange in constant time. This is done by
273
+ decrypting with RSA_NO_PADDING and checking the padding in libssl
274
+ in constant time. This is possible because the pre-master secret
275
+ is of known length based on the size of the RSA key.
276
+ - Rewrote SSL_select_next_proto() using CBS, also fixing a buffer
277
+ overread that wasn't reachable when used as intended from an
278
+ ALPN callback.
279
+ - Avoid pushing a spurious error onto the error stack in
280
+ ssl_sigalg_select().
281
+ - Made fatal alerts fatal in QUIC.
282
+
283
+ 3.9.2 - Stable release
284
+
285
+ * Bugfixes
286
+ - OpenBSD 7.5 errata 003. A missing bounds check could lead to a crash
287
+ due to dereferencing a zero-sized allocation.
288
+
289
+ 3.9.1 - Stable release
290
+
291
+ * Portable changes
292
+ - Updated tests with expiring certificates
293
+ - CET-related build fixes for Windows and macOS targets
294
+ - update libtls linker script to include libssl and libcrypto again
295
+
296
+ 3.9.0 - Development release
297
+
298
+ * Portable changes
299
+ - libcrypto no longer exports compat symbols in cmake builds.
300
+ - Most compatibility symbols are prefixed with libressl_ to avoid
301
+ symbol clashes in static links.
302
+ - Fixed various warnings on Windows.
303
+ - Removed assert pop-ups with Windows debug builds.
304
+ - Fixed crashes and hangs in Windows ARM64 builds.
305
+ - Improved control-flow enforcement (CET) support.
306
+ * Internal improvements
307
+ - Converted uses of OBJ_bsearch_() to standard bsearch().
308
+ - Greatly simplified by_file_ctrl().
309
+ - Simplified and cleaned up the OBJ_ API.
310
+ - Cleaned up the EVP_Cipher{Init,Update,Final}() implementations.
311
+ - Removed unused function pointers from X.509 stores and contexts.
312
+ - A lot of cleanup and reorganization in EVP.
313
+ - Removed all remaining ENGINE tentacles.
314
+ - Simplified internals of X509_TRUST handling.
315
+ - Made deletion from a lhash doall callback safe.
316
+ - Rewrote BIO_dump*(3) internals to be less bad.
317
+ * Documentation improvements
318
+ - ENGINE documentation was updated to reflect reality.
319
+ - Made EVP API documentation more accurate and less incoherent.
320
+ - Call out some shortcomings of the EC_KEY_set_* API explicitly.
321
+ * Testing and proactive security
322
+ - Bug fixes and simplifications in the Wycheproof tests.
323
+ * Compatibility changes
324
+ - Added ChaCha20 and chacha20 aliases for ChaCha.
325
+ - SSL_library_init() now has the same effect as OPENSSL_init_ssl().
326
+ - EVP_add_{cipher,digest}() were removed. From the OBJ_NAME API,
327
+ only OBJ_NAME_do_all*() remain. In particular, it is no longer
328
+ possible to add aliases for ciphers and digests.
329
+ - The thread unsafe global tables are no longer supported. It is no
330
+ longer possible to add aliases for ciphers and digests, custom ASN.1
331
+ strings table entries, ASN.1 methods, PKEY methods, digest methods,
332
+ CRL methods, purpose and trust identifiers, or X.509 extensions.
333
+ - Removed the _cb() and _fp() versions of BIO_dump{,_indent}().
334
+ - BIO_set() was removed.
335
+ - BIO_{sn,v,vsn}printf() were removed.
336
+ - Turn the long dysfunctional openssl(1) s_client -pause into a noop.
337
+ - openssl(1) x509 now supports -new -force_pubkey, -multivalue-rdn,
338
+ -set_issuer, -set_subject, and -utf8.
339
+ - Support ECDSA with SHA-3 signature algorithms.
340
+ - Support HMAC with truncated SHA-2 and SHA-3 as PBE PRF.
341
+ - GOST and STREEBOG support was removed.
342
+ - CRYPTO_THREADID, _LHASH, _STACK, X509_PURPOSE are now opaque,
343
+ X509_CERT_AUX and X509_TRUST were removed from the public API.
344
+ - ASN1_STRING_TABLE_get() and X509_PURPOSE_get0*() now return const
345
+ pointers.
346
+ - EVP_{CIPHER,MD}_CTX_init()'s signatures and semantics now match
347
+ OpenSSL's behavior.
348
+ - sk_find_ex() and OBJ_bsearch_() were removed.
349
+ - CRYPTO_malloc() was fixed to use size_t argument. CRYPTO_malloc()
350
+ and CRYPTO_free() now accept file and line arguments.
351
+ - A lot of decrepit CRYPTO memory API was removed.
352
+ * Bug fixes
353
+ - Fixed aliasing issues in BN_mod_exp_simple() and BN_mod_exp_recp().
354
+ - Fixed numerous misuses of X509_ALGOR_set0() resulting in leaks and
355
+ potentially incorrect encodings.
356
+ - Fixed potential double free in X509v3_asid_add_id_or_range().
357
+ - Stopped using ASN1_time_parse() outside of libcrypto.
358
+ - Prepared OPENSSL_gmtime() and OPENSSL_timegm() as public API
359
+ wrappers of internal functions compatible with BoringSSL API.
360
+ - Removed print_bin() to avoid overwriting the stack with 5 bytes
361
+ of ' ' when ECPK parameters are printed with large indentation.
362
+ - Avoid a NULL dereference after memory allocation failure during TLS
363
+ version downgrade.
364
+ - Fixed various bugs in CMAC internals.
365
+ - Fixed 4-byte overreads in GHASH assembly on amd64 and i386.
366
+ - Fixed various NULL dereferences in PKCS #12 code due to mishandling
367
+ of OPTIONAL content in PKCS #7 ContentInfo.
368
+ - Aligned SSL_shutdown() behavior in TLSv1.3 with the legacy stack.
369
+ - Fixed the new X.509 verifier to find trust anchors in the trusted
370
+ stack.
371
+ - Made in-place decryption work for EVP_chacha20_poly1305().
372
+
373
+ 3.8.4 - Stable release
374
+
375
+ * Portable changes
376
+ - Updated tests with expiring certificates
377
+ - CET-related build fixes for Windows and macOS targets
378
+ - update libtls linker script to include libssl and libcrypto again
379
+
380
+ 3.8.3 - Stable release
381
+
382
+ * Portable changes
383
+ - Removed assert pop-ups with Windows debug builds.
384
+ - Fixed crashes and hangs in Windows ARM64 builds.
385
+ - Improved control-flow enforcement (CET) support.
386
+
387
+ 3.8.2 - Stable release
388
+
389
+ * Portable changes
390
+ - Fixed processor detection for CMake targets.
391
+ Thanks to @jiegec from github.
392
+ - Enabled building oscpcheck with MSVC.
393
+ Thanks to @FtZPetruska from github.
394
+ - Improve CMake package detection and installation.
395
+ Thanks to @mark-groundctl from github.
396
+ - Fixed assembly optimizations on x64 Windows targets.
397
+ - Allow disabling warnings about WINCRYPT overrides.
398
+ - Use system arc4random on FreeBSD 12 and newer.
399
+ * Documentation improvements
400
+ - Documented the RFC 3779 API.
401
+ * Compatibility changes
402
+ - Restrict the RFC 3779 code to IPv4 and IPv6. It was not written
403
+ to be able to deal with anything else.
404
+ - Fixed EVP_CIPHER_CTX_iv_length() to return what was set with
405
+ EVP_CTRL_AEAD_SET_IVLEN or one of its aliases.
406
+ * Bug fixes
407
+ - Fixed EVP_PKEY_get{0,1}_RSA for RSA-PSS.
408
+ - Plug a potential memory leak in ASN1_TIME_normalize().
409
+ - Avoid memory leak in EVP_CipherInit().
410
+ - Redirect EVP_PKEY_get1_* through their get0 siblings.
411
+ - Fixed a use of uninitialized in i2r_IPAddrBlocks().
412
+ - Rewrote CMS_SignerInfo_{sign,verify}().
413
+ - Further cleanup and refactoring in the EC code.
414
+ - Allow IP addresses to be specified in a URI.
415
+ - Fixed a copy-paste error in ASN1_TIME_compare() that could lead
416
+ to two UTCTimes or two GeneralizedTimes incorrectly being compared
417
+ as equal.
418
+
419
+ 3.8.1 - Development release
420
+
421
+ * Portable changes
422
+ - Applications bundled as part of the LibreSSL package internally,
423
+ nc(1) and openssl(1), now are linked statically if static libraries
424
+ are built.
425
+ - Internal compatibility function symbols are no longer exported from
426
+ libcrypto. Instead, the libcompat library is linked to libcrypto,
427
+ libssl, and libtls separately. This increases size a little, but
428
+ ensures that the libraries are not exporting symbols to programs
429
+ unintentionally.
430
+ - Selective removal of CET implementation on platforms where it is
431
+ not supported (macOS).
432
+ - Integrated four more tests.
433
+ - Added Windows ARM64 architecture to tested platforms.
434
+ - Removed Solaris 10 support, fixed Solaris 11.
435
+ - libtls no longer links statically to libcrypto / libssl unless
436
+ '--enable-libtls-only' is specified at configure time.
437
+ - Improved Windows compatibility library, namely handling of files vs
438
+ sockets, correcting an exception when operating on a closed socket.
439
+ - CMake builds no longer hardcode '-O2' into the compiler flags, instead
440
+ using flags from the CMake build type instead.
441
+ - Set the CMake default build type to 'Release'. This can be overridden
442
+ during configuration.
443
+ - Fixed broken ASM support with MinGW builds.
444
+ * Internal improvements
445
+ - Fixed alignment handling in SHA-512.
446
+ - Moved the verified_chain to the correct internal struct.
447
+ - Improved checks for commonName in libtls.
448
+ - Fixed error check for X509_get_ext_d2i() failure in libtls.
449
+ - Improved BIGNUM internals and performance.
450
+ - Significantly improved Montgomery multiplication performance.
451
+ - Initial cleanup passes for SHA-256 internals.
452
+ - Converted more libcrypto internals API using CBB and CBS.
453
+ - Removed code guarded by #ifdef ZLIB.
454
+ - Changed ASN1_item_sign_ctx() and ASN1_item_verify() to work with
455
+ Ed25519 and fixed a few bugs in there.
456
+ - Fixed various issues with EVP_PKEY_CTX_{new,dup}().
457
+ - Improved X.509 certificate version checks.
458
+ - Cleaned up handling of elliptic curve cofactors.
459
+ - Made BN_num_bits() independent of bn->top.
460
+ - Rewrote and simplified bn_sqr().
461
+ - Removed EC_GROUP precomp machinery.
462
+ - Ensure no X.509v3 extensions appear more than once in certificates.
463
+ - Cleaned up various ECDH, ECDSA and EC internals.
464
+ - Replaced ASN1_bn_print with a cleaner internal implementation.
465
+ - Simplified ASN1_item_sign_ctx().
466
+ - Rewrote OBJ_find_sigid_algs() and OBJ_find_sigid_by_algs().
467
+ - Various improvements in the 'simple' EC code.
468
+ - Fix OPENSSL_cpuid_setup() invocations on arm/aarch64.
469
+ - Reduced the dependency of hash implementations on many layers of
470
+ macros. This results in significant speedups since modern compilers
471
+ are now less confused.
472
+ - Significantly simplified the BN_BLINDING internals used in RSA.
473
+ * New features
474
+ * Compatibility changes
475
+ - X509_NAME_get_text_by_{NID,OBJ}() now only succeed if they contain
476
+ valid UTF-8 without embedded NUL.
477
+ - Moved libtls from ECDSA_METHOD to EC_KEY_METHOD.
478
+ - Removed support for ECDH_METHOD and ECDSA_METHOD.
479
+ - BN_is_prime{,_fasttest}_ex() refuse to check numbers larger than
480
+ 32 kbits for primality. This mitigates various DoS vectors.
481
+ - Comp was removed.
482
+ - Dynamic loading of conf modules is no longer supported.
483
+ - DSO was removed and OPENSSL_NO_DSO is defined.
484
+ - ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
485
+ of this, some stub functions are provided to avoid patching some
486
+ applications that do not honor OPENSSL_NO_ENGINE.
487
+ - It is no longer possible to make the library use your own error
488
+ stack or ex_data implementation.
489
+ * Bug fixes
490
+ - Fixed aliasing issue in BN_mod_inverse().
491
+ - Made CRYPTO_get_ex_new_index() not return 0 to allow applications
492
+ to use *_{get,set}_app_data() and *_{get,set}_ex_data() alongside
493
+ each other.
494
+ - Made EVP_PKEY_set1_hkdf_key() fail on a NULL key.
495
+ - Plugged leaks in BIO_chain_dup().
496
+ - Fixed numerous leaks and other minor bugs in RSA, DH, DSA and EC
497
+ ASN.1 methods. Unified the coding style.
498
+ - On socket errors in the poll loop, netcat could issue system calls
499
+ on invalidated file descriptors.
500
+ * Documentation improvements
501
+ - Made it very explicit that the verify callback should not be used.
502
+ - Called out that the CRL lastUpdate is standardized as thisUpdate.
503
+ * Testing and Proactive Security
504
+ - As always, new test coverage is added as bugs are fixed and subsystems
505
+ are cleaned up.
506
+ * Security fixes
507
+ - Disabled TLSv1.0 and TLSv1.1 in libssl so that they may no longer
508
+ be selected for use.
509
+
510
+ 3.8.0 - Development release
511
+
512
+ * Portable changes
513
+ - Extended the endian.h compat header with hto* and *toh macros.
514
+ - Adapted more tests to the portable framework.
515
+ - Internal tools are now statically linked.
516
+ * Internal improvements
517
+ - Improved sieve of Eratosthenes script used for generating a table
518
+ of small primes.
519
+ - Started cleaning up and rewriting SHA internals.
520
+ - Replace internal use of BN_copy() with bn_copy() for consistency.
521
+ - Rewrote and improved BN_exp() and BN_copy().
522
+ - Add branch target information (BTI) support to arm64 assembly.
523
+ - Replaced BN_mod_sqrt() with a new implementation.
524
+ - Removed incomplete and dangerous BN_RECURSION code.
525
+ - Added endbr64 instructions to amd64 assembly.
526
+ - Imported RFC 5280 policy checking code from BoringSSL and used it
527
+ to replace the old exponential time code.
528
+ - Converted more of libcrypto to use CBB/CBS.
529
+ - Cleaned up and simplified the code dealing with builtin curves.
530
+ * New features
531
+ - Added support for truncated SHA-2 and for SHA-3.
532
+ - The BPSW primality test performs additional Miller-Rabin rounds
533
+ with random bases to reduce the likelihood of composites passing.
534
+ - Allow testing of ciphers and digests using badly aligned buffers
535
+ in openssl speed.
536
+ - Added a workaround for a poorly thought-out change in OpenSSL 3 that
537
+ broke privilege separation support in libtls.
538
+ * Compatibility changes
539
+ - Support for GF2m was removed: BIGNUM no longer supports binary extension
540
+ field arithmetic and all binary elliptic builtin curves were removed.
541
+ - Removed dangerous, "fast" NIST prime and elliptic curve implementations.
542
+ In particular, EC_GFp_nist_method() is no longer available.
543
+ - Removed most public symbols that were deprecated in OpenSSL 0.9.8.
544
+ - Removed the public X9.31 API (RSA_X931_PADDING is still available).
545
+ - Removed Cipher Text Stealing mode.
546
+ - Removed SXNET and NETSCAPE_CERT_SEQUENCE support including the
547
+ openssl(1) nseq command.
548
+ - Dropped proxy certificate (RFC 3820) support.
549
+ - The POLICY_TREE and its related structures and API were removed.
550
+ - The explicitText user notice uses UTF8String instead of VisibleString
551
+ to reduce the risk of emitting certificates with invalid DER-encoding.
552
+ - Initial fixes for RSA-PSS support to make the TLSv1.3 stack more
553
+ compliant with RFC 8446.
554
+ * Bug fixes
555
+ - Correctly handle negative input to various BIGNUM functions.
556
+ - Ensure ERR_load_ERR_strings() does not set errno unexpectedly.
557
+ - Fix error checking of i2d_ECDSA_SIG() in ossl_ecdsa_sign().
558
+ - Fixed detection of extended operations (XOP) on AMD hardware.
559
+ - Ensure Montgomery exponentiation is used for the initial RSA blinding.
560
+ - Policy is always checked in X509 validation. Critical policy extensions
561
+ are no longer silently ignored.
562
+ - Fixed error handling in tls_check_common_name().
563
+ - Add missing pointer invalidation in SSL_free().
564
+ - Fixed X509err() and X509V3err() and their internal versions.
565
+ - Ensure that OBJ_obj2txt() always returns a C string again.
566
+ - In X509_VERIFY_PARAM_inherit() copy hostflags independently of the
567
+ host list.
568
+ * Documentation improvements
569
+ - Improved documentation of BIO_ctrl(3), BIO_set_info_callback(3),
570
+ BIO_get_info_callback(3), BIO_method_type(3), and BIO_method_name(3).
571
+ - Marked BIO_CB_return(), BIO_cb_pre(), and BIO_cb_post() as intentionally
572
+ undocumented.
573
+ * Testing and Proactive Security
574
+ - Significantly improved test coverage of BN_mod_sqrt() and GCD.
575
+ - As always, new test coverage is added as bugs are fixed and subsystems
576
+ are cleaned up.
577
+
578
+ 3.7.3 - Bug and reliability fixes
579
+
580
+ * Bug fix
581
+ - Hostflags in the verify parameters would not propagate from an
582
+ SSL_CTX to newly created SSL.
583
+ * Reliability fix
584
+ - A double free or use after free could occur after SSL_clear(3).
585
+
586
+ 3.7.2 - Stable release
587
+
588
+ * Portable changes
589
+ - Moved official Github project to https://github.com/libressl/.
590
+ - Build support for Apple Silicon.
591
+ - Installed opensslconf.h is now architecture-specific.
592
+ - Removed internal defines from opensslconf.h.
593
+ - Support reproducible builds on tagged commits in main branch.
594
+
595
+ 3.7.1 - Development release
596
+
597
+ * Internal improvements
598
+ - Initial overhaul of the BIGNUM code:
599
+ - Added a new framework that allows architecture-dependent
600
+ replacement implementations for bignum primitives.
601
+ - Imported various s2n-bignum's constant time assembly primitives
602
+ and switched amd64 to them.
603
+ - Lots of cleanup, simplification and bug fixes.
604
+ - Changed Perl assembly generators to move constants into .rodata,
605
+ allowing code to run with execute-only permissions.
606
+ - Capped the number of iterations in DSA and ECDSA signing (avoiding
607
+ infinite loops), added additional sanity checks to DSA.
608
+ - ASN.1 parsing improvements.
609
+ - Made UI_destroy_method() NULL safe.
610
+ - Various improvements to nc(1).
611
+ - Always clear EC groups and points on free.
612
+ - Cleanup and improvements in EC code.
613
+ - Various openssl(1) improvements.
614
+ * Bug fixes
615
+ - Fixed a memory leak, a double free and various other issues in
616
+ BIO_new_NDEF().
617
+ - Fixed various crashes in the openssl(1) testing utility.
618
+ - Do not check policies by default in the new X.509 verifier.
619
+ - Added missing error checking in PKCS7.
620
+ - Call CRYPTO_cleanup_all_ex_data() from OPENSSL_cleanup().
621
+ * New features
622
+ - Added UI_null()
623
+ - Added X509_STORE_*check_issued()
624
+ - Added X509_CRL_get0_tbs_sigalg() and X509_get0_uids() accessors.
625
+ - Added EVP_CIPHER_meth_*() setter API.
626
+ * Documentation improvements
627
+ - Marked BIO_s_log(3) BIO_nread0(3), BIO_nread(3), BIO_nwrite0(3), BIO_nwrite(3),
628
+ BIO_dump_cb(3) and BIO_dump_indent_cb(3) as intentionally undocumented.
629
+ - Document BIO_number_read(3), BIO_number_written(3),
630
+ BIO_set_retry_read(3), BIO_set_retry_write(3),
631
+ BIO_set_retry_special(3), BIO_clear_retry_flags(3),
632
+ BIO_get_retry_flags(3), BIO_dup_chain(3), BIO_set_flags(3),
633
+ BIO_clear_flags(3), BIO_test_flags(3), BIO_get_flags(3).
634
+ BIO_callback_fn_ex(3), BIO_set_callback_ex(3), BIO_get_callback_ex(3),
635
+ BIO_callback_fn(3), and the BIO_FLAGS_* constants
636
+ - Correct the prototypes of BIO_get_conn_ip(3) and BIO_get_conn_int_port(3).
637
+ - Document ED25519_keypair(3), ED25519_sign(3), and ED25519_verify(3).
638
+ - Document EVP_PKEY_new_raw_private_key(3),
639
+ EVP_PKEY_new_raw_public_key(3), EVP_PKEY_get_raw_private_key(3), and
640
+ EVP_PKEY_get_raw_public_key(3).
641
+ - Document ASN1_buf_print(3).
642
+ - Document DH_get0_*, DSA_get0_*, ECDSA_SIG_get0_{r,s}() and RSA_get0_*.
643
+ - Merged documentation of UI_null() from OpenSSL 1.1
644
+ - Various spelling and other documentation improvements.
645
+ * Testing and Proactive Security
646
+ - As always, new test coverage is added as bugs are fixed and subsystems
647
+ are cleaned up.
648
+ - New Wycheproof tests added.
649
+ - OpenSSL 3.0 Interop tests added.
650
+ - Many old tests rewritten, cleaned up and extended.
651
+ * Security fixes
652
+ - A malicious certificate revocation list or timestamp response token
653
+ would allow an attacker to read arbitrary memory.
654
+
655
+ 3.7.0 - Development release
656
+
657
+ * Internal improvements
658
+ - Remove dependency on system timegm() and gmtime() by replacing
659
+ traditional Julian date conversion with POSIX epoch-seconds date
660
+ conversion from BoringSSL.
661
+ - Clean old and unused BN code dealing with primes.
662
+ - Start rewriting name constraints code using CBS.
663
+ - Remove support for the HMAC PRIVATE KEY.
664
+ - Rework DSA signing and verifying internals.
665
+ - First few passes on cleaning up the BN code.
666
+ - Internal headers coming from OpenSSL are all called *_local.h now.
667
+ - Rewrite TLSv1.2 key exporter.
668
+ - Cleaned up and refactored various aspects of the legacy TLS stack.
669
+ * Compatibility changes
670
+ - BIO_read() and BIO_write() now behave more closely to OpenSSL 3 in
671
+ various corner cases. More work is needed here.
672
+ * Bug fixes
673
+ - Add EVP_chacha20_poly1305() to the list of all ciphers.
674
+ - Fix potential leaks of EVP_PKEY in various printing functions
675
+ - Fix potential leak in OBJ_NAME_add().
676
+ - Avoid signed overflow in i2c_ASN1_BIT_STRING().
677
+ - Clean up EVP_PKEY_ASN1_METHOD related tables and code.
678
+ - Fix long standing bugs BN_GF2m_poly2arr() and BN_GF2m_mod().
679
+ - Fix segfaults in BN_{dec,hex}2bn().
680
+ - Fix NULL dereference in x509_constraints_uri_host() reachable only
681
+ in the process of generating certificates.
682
+ - Fixed a variety of memory corruption issues in BIO chains coming
683
+ from poor old and new API: BIO_push(), BIO_pop(), BIO_set_next().
684
+ - Avoid potential divide by zero in BIO_dump_indent_cb()
685
+ * Documentation improvements
686
+ - Numerous improvements and additions for ASN.1, BIO, BN, and X.509.
687
+ - The BN documentation is now considered to be complete.
688
+ * Testing and Proactive Security
689
+ - As always, new test coverage is added as bugs are fixed and
690
+ subsystems are cleaned up.
691
+ - Many old tests rewritten, cleaned up and extended.
692
+ * New features
693
+ - Added Ed25519 support both as a primitive and via OpenSSL's EVP
694
+ interfaces.
695
+ - X25519 is now also supported via EVP.
696
+ - The OpenSSL 1.1 raw public and private key API is available with
697
+ support for EVP_PKEY_ED25519, EVP_PKEY_HMAC and EVP_PKEY_X25519.
698
+ Poly1305 is not currently supported via this interface.
699
+
700
+ 3.6.3 - Bug and reliability fixes
701
+
702
+ * Bug fix
703
+ - Hostflags in the verify parameters would not propagate from an
704
+ SSL_CTX to newly created SSL.
705
+ * Reliability fix
706
+ - A double free or use after free could occur after SSL_clear(3).
707
+
708
+ 3.6.2 - Security release
709
+
710
+ * Security fix
711
+ - A malicious certificate revocation list or timestamp response token
712
+ would allow an attacker to read arbitrary memory.
713
+
714
+ 3.6.1 - Stable release
715
+
716
+ * Bug fixes
717
+ - Custom verification callbacks could cause the X.509 verifier to
718
+ fail to store errors resulting from leaf certificate verification.
719
+ Reported by Ilya Shipitsin.
720
+ - Unbreak ASN.1 indefinite length encoding.
721
+ Reported by Niklas Hallqvist.
722
+
723
+ 3.6.0 - Development release
724
+
725
+ * Internal improvements
726
+ - Avoid expensive RFC 3779 checks during cert verification.
727
+ - The templated ASN.1 decoder has been cleaned up, refactored,
728
+ modernized with parts rewritten using CBB and CBS.
729
+ - The ASN.1 time parser has been rewritten.
730
+ - Rewrite and fix ASN1_STRING_to_UTF8().
731
+ - Use asn1_abs_set_unused_bits() rather than inlining it.
732
+ - Simplify ec_asn1_group2curve().
733
+ - First pass at a clean up of ASN1_item_sign_ctx()
734
+ - ssl_txt.c was cleaned up.
735
+ - Internal function arguments and struct member have been changed
736
+ to size_t.
737
+ - Lots of missing error checks of EVP API were added.
738
+ - Clean up and clarify BN_kronecker().
739
+ - Simplify ASN1_INTEGER_cmp()
740
+ - Rewrite ASN1_INTEGER_{get,set}() using CBS and CBB and reuse
741
+ the ASN1_INTEGER functions for ASN1_ENUMERATED.
742
+ - Use ASN1_INTEGER to parse and build {Z,}LONG_it
743
+ - Refactored and cleaned up group (elliptic curve) handling in
744
+ t1_lib.c.
745
+ - Simplify certificate list handling code in the legacy server.
746
+ - Make CBB_finish() fail if *out_data is not NULL.
747
+ - Remove tls_buffer_set_data() and remove/revise callers.
748
+ - Rewrite SSL{_CTX,}_set_alpn_protos() using CBS.
749
+ - Simplify tlsext_supported_groups_server_parse().
750
+ - Remove redundant length checks in tlsext parse functions.
751
+ - Simplify tls13_server_encrypted_extensions_recv().
752
+ - Add read and write support to tls_buffer.
753
+ - Convert TLS transcript from BUF_MEM to tls_buffer.
754
+ - Clear key on exit in PKCS12_gen_mac().
755
+ - Minor fixes in PKCS12_parse().
756
+ - Provide and use a primitive clear function for BIGNUM_it.
757
+ - Use ASN1_INTEGER to encode/decode BIGNUM_it.
758
+ - Add stack frames to AES-NI x86_64 assembly.
759
+ - Use named initialisers for BIGNUMs.
760
+ - Tidy up some of BN_nist_mod_*.
761
+ - Expand BLOCK_CIPHER_* and related macros.
762
+ - Avoid shadowing the cbs function parameter in
763
+ tlsext_alpn_server_parse()
764
+ - Deduplicate peer certificate chain processing code.
765
+ - Make it possible to signal an error from an i2c_* function.
766
+ - Rewrite i2c_ASN1_INTEGER() using CBB/CBS.
767
+ - Remove UINT32_MAX limitation on ChaCha() and CRYPTO_chacha_20().
768
+ - Remove bogus length checks from EVP_aead_chacha20_poly1305().
769
+ - Reworked DSA_size() and ECDSA_size().
770
+ - Stop using CBIGNUM_it internal to libcrypto.
771
+ - Provide c2i_ASN1_ENUMERATED_cbs() and call it from
772
+ asn1_c2i_primitive().
773
+ - Ensure ASN.1 types are appropriately encoded.
774
+ - Avoid recycling ASN1_STRINGs when decoding ASN.1.
775
+ - Tidy up asn1_c2i_primitive() slightly.
776
+ - Mechanically expand IMPLEMENT_BLOCK_CIPHER, IMPLEMENT_CFBR,
777
+ BLOCK_CIPHER and the looney M_do_cipher macros.
778
+ - Use correct length for EVP CFB mode ciphers.
779
+ - Provide a version of ssl_msg_callback() that takes a CBS.
780
+ - Use CBS to parse TLS alerts in the legacy stack.
781
+ - Increment the input and output position for EVP AES CFB1.
782
+ - Ensure there is no trailing data for a CCS received by the
783
+ TLSv1.3 stack.
784
+ - Use CBS when procesing a CCS message in the legacy stack.
785
+ - Be stricter with middlebox compatibility mode in the TLSv1.3
786
+ server.
787
+ * Compatibility changes
788
+ - The ASN.1 time parser has been refactored and rewritten using CBS.
789
+ It has been made stricter in that it now enforces the rules from
790
+ RFC 5280.
791
+ - ASN1_AFLG_BROKEN was removed.
792
+ - Error check tls_session_secret_cb() like OpenSSL.
793
+ - Added ASN1_INTEGER_{get,set}_{u,}int64()
794
+ - Move leaf certificate checks to the last thing after chain
795
+ validation.
796
+ - Added -s option to openssl(1) ciphers that only shows the ciphers
797
+ supported by the specified protocol.
798
+ - Use TLS_client_method() instead of TLSv1_client_method() in
799
+ the openssl(1) ciphers command.
800
+ - Validate the protocols in SSL{_CTX,}_set_alpn_protos().
801
+ - Made TS and PKCS12 opaque.
802
+ - Per RFC 7292, safeContentsBag is a SEQUENCE OF, not a SET OF.
803
+ - Align PKCS12_key_gen_uni() with OpenSSL
804
+ - Various PKCS12 and TS accessors were added. In particular, the
805
+ TS_RESP_CTX_set_time_cb() function was added back.
806
+ - Allow a NULL header in PEM_write{,_bio}()
807
+ - Allow empty attribute sets in CSRs.
808
+ - Adjust signatures of BIO_ctrl functions.
809
+ - Provide additional defines for EVP AEAD.
810
+ - Provide OPENSSL_cleanup().
811
+ - Make BIO_info_cb() identical to bio_info_cb().
812
+ * Bug fixes
813
+ - Avoid use of uninitialized in BN_mod_exp_recp().
814
+ - Fix X509_get_extension_flags() by ensuring that EXFLAG_INVALID is
815
+ set on X509_get_purpose() failure.
816
+ - Fix HMAC() with NULL key.
817
+ - Add ERR_load_{COMP,CT,KDF}_strings() to ERR_load_crypto_strings().
818
+ - Avoid strict aliasing violations in BN_nist_mod_*().
819
+ - Do not return X509_V_ERR_UNSPECIFIED from X509_check_ca().
820
+ No return value of X509_check_ca() indicates failure. Application
821
+ code should therefore issue a checked call to X509_check_purpose()
822
+ before calling X509_check_ca().
823
+ - Rewrite and fix X509v3_asid_subset() to avoid segfaults on some
824
+ valid input.
825
+ - Call the ASN1_OP_D2I_PRE callback after ASN1_item_ex_new().
826
+ - Fix d2i_ASN1_OBJECT to advance the *der_in pointer correctly.
827
+ - Avoid use of uninitialized in ASN1_STRING_to_UTF8().
828
+ - Do not pass uninitialized pointer to ASN1_STRING_to_UTF8().
829
+ - Do not refuse valid IPv6 addresses in nc(1)'s HTTP CONNECT proxy.
830
+ - Do not reject primes in trial divisions.
831
+ - Error out on negative shifts in BN_{r,l}shift() instead of
832
+ accessing arrays out of bounds.
833
+ - Fix URI name constraints, allow for URI's with no host part.
834
+ - Fix the legacy verifier callback behaviour for untrusted certs.
835
+ - Correct serfver-side handling of TLSv1.3 key updates.
836
+ - Plug leak in PKCS12_setup_mac().
837
+ - Plug leak in X509V3_add1_i2d().
838
+ - Only print X.509 versions we know about.
839
+ - Avoid signed integer overflow due to unary negation
840
+ - Initialize readbytes in BIO_gets().
841
+ - Plug memory leak in CMS_add_simple_smimecap().
842
+ - Plug memory leak in X509_REQ_print_ex().
843
+ - Check HMAC() return value to avoid a later use of uninitialized.
844
+ - Avoid potential NULL dereference in ssl_set_pkey().
845
+ - Check return values in ssl_print_tmp_key().
846
+ - Switch loop bounds from size_t to int in check_hosts().
847
+ - Avoid division by zero if no connection was made in s_time.c.
848
+ - Check sk_SSL_CIPHER_push() return value
849
+ - Avoid out-of-bounds read in ssl_cipher_process_rulestr().
850
+ - Use LONG_MAX as the limit for ciphers with long based APIs.
851
+ * New features
852
+ - EVP API for HKDF ported from OpenSSL and subsequently cleaned up.
853
+ - The security level API (SSL_{,CTX}_{get,set}_security_level()) is
854
+ now available. Callbacks and ex_data are not supported. Sane
855
+ software will not be using this.
856
+ - Experimental support for the BoringSSL QUIC API.
857
+ - Add initial support for TS ESSCertIDv2 verification.
858
+ - LibreSSL now uses the Baillie-PSW primality test instead of
859
+ Miller-Rabin .
860
+
861
+ 3.5.3 - Reliability fix
862
+
863
+ * Fix d2i_ASN1_OBJECT(). A confusion of two CBS resulted in advancing
864
+ the passed *der_in pointer incorrectly. Thanks to Aram Sargsyan for
865
+ reporting the issue and testing the fix.
866
+
867
+ 3.5.2 - Stable release
868
+
869
+ * Bug fixes
870
+ - Avoid single byte overread in asn1_parse2().
871
+ - Allow name constraints with a leading dot. From Alex Wilson.
872
+ - Relax a check in x509_constraints_dirname() to allow prefixes.
873
+ From Alex Wilson.
874
+ - Fix NULL dereferences in openssl(1) cms option parsing.
875
+ - Do not zero the computed cofactor on ec_guess_cofactor() success.
876
+ - Bound cofactor in EC_GROUP_set_generator() to reduce the number of
877
+ bogus groups that can be described with nonsensical parameters.
878
+ - Avoid various potential segfaults in EVP_PKEY_CTX_free() in low
879
+ memory conditions. Reported for HMAC by Masaru Masuda.
880
+ - Plug leak in ASN1_TIME_adj_internal().
881
+ - Avoid infinite loop for custom curves of order 1.
882
+ Issue reported by Hanno Boeck, comments by David Benjamin.
883
+ - Avoid an infinite loop on parsing DSA private keys by validating
884
+ that the provided parameters conform to FIPS 186-4.
885
+ Issue reported by Hanno Boeck, comments by David Benjamin.
886
+ * Compatibility improvements
887
+ - Allow non-standard name constraints of the form @domain.com.
888
+ * Internal improvements
889
+ - Limit OID text conversion to 64 bits per arc.
890
+ - Clean up and simplify memory BIO code.
891
+ - Reduce number of memmove() calls in memory BIOs.
892
+ - Factor out alert handling code in the legacy stack.
893
+ - Add sanity checks on p and q in old_dsa_priv_decode()
894
+ - Cache the SHA-512 hash instead of the SHA-1 for CRLs.
895
+ - Suppress various compiler warnings for old gcc versions.
896
+ - Remove free_cont from asn1_d2i_ex_primitive()/asn1_ex_c2i().
897
+ - Rework ownership handling in x509_constraints_validate().
898
+ - Rework ASN1_STRING_set().
899
+ - Remove const from tls1_transcript_hash_value().
900
+ - Clean up and simplify ssl3_renegotiate{,_check}().
901
+ - Rewrite legacy TLS and DTLS unexpected handshake message handling.
902
+ - Simplify SSL_do_handshake().
903
+ - Rewrite ASCII/text to ASN.1 object conversion.
904
+ - Provide t2i_ASN1_OBJECT_internal() and use it for OBJ_txt2obj().
905
+ - Split armv7 and aarch64 code into separate locations.
906
+ - Rewrote openssl(1) ts to use the new option handling and cleaned
907
+ up the C code.
908
+ - Provide asn1_get_primitive().
909
+ - Convert {c2i,d2i}_ASN1_OBJECT() to CBS.
910
+ - Remove the minimum record length checks from dtls1_read_bytes().
911
+ - Clean up {dtls1,ssl3}_read_bytes().
912
+ - Be more careful with embedded and terminating NULs in the new
913
+ name constraints code.
914
+ - Check EVP_Digest* return codes in openssl(1) ts
915
+ - Various minor code cleanup in openssl(1) pkcs12
916
+ - Use calloc() in pkey_hmac_init().
917
+ - Simplify priv_key handling in d2i_ECPrivateKey().
918
+ * Documentation improvements
919
+ - Update d2i_ASN1_OBJECT(3) documentation to reflect reality after
920
+ refactoring and bug fixes.
921
+ - Fixed numerous minor grammar, spelling, wording, and punctuation
922
+ issues.
923
+
924
+ 3.5.1 - Security release
925
+
926
+ * A malicious certificate can cause an infinite loop.
927
+ Reported by and fix from Tavis Ormandy and David Benjamin, Google.
928
+
929
+ 3.5.0 - Development release
930
+
931
+ * New Features
932
+ - The RFC 3779 API was ported from OpenSSL. Many bugs were fixed,
933
+ regression tests were added and the code was cleaned up.
934
+ - Certificate Transparency was ported from OpenSSL. Many internal
935
+ improvements were made, resulting in cleaner and safer code.
936
+ Regress coverage was added. libssl does not yet make use of it.
937
+ * Portable Improvements
938
+ - Fixed various POSIX compliance and other portability issues
939
+ found by the port to the Sortix operating system.
940
+ - Add libmd as platform specific libraries for Solaris.
941
+ Issue reported from (ihsan <at> opencsw org) on libressl ML.
942
+ - Set IA-64 compiler flag only if it is HP-UX with IA-64.
943
+ Suggested from Larkin Nickle (me <at> larbob org) by libressl ML.
944
+ - Enabled and scheduled Coverity scan.
945
+ Contributed by Ilya Shipitsin (chipitsine <at> gmail com> on github.
946
+ * Compatibility Changes
947
+ - Most structs that were previously defined in the following headers
948
+ are now opaque as they are in OpenSSL 1.1:
949
+ bio.h, bn.h, comp.h, dh.h, dsa.h, evp.h, hmac.h, ocsp.h, rsa.h,
950
+ x509.h, x509v3.h, x509_vfy.h
951
+ - Switch TLSv1.3 cipher names from AEAD- to OpenSSL's TLS_
952
+ OpenSSL added the TLSv1.3 ciphersuites with "RFC names" instead
953
+ of using something consistent with the previous naming. Various
954
+ test suites expect these names (instead of checking for the much
955
+ more sensible cipher numbers). The old names are still accepted
956
+ as aliases.
957
+ - Subject alternative names and name constraints are now validated
958
+ when they are added to certificates. Various interoperability
959
+ problems with stacks that validate certificates more strictly
960
+ than OpenSSL can be avoided this way.
961
+ - Attempt to opportunistically use the host name for SNI in s_client
962
+ * Bug fixes
963
+ - In some situations, the verifier would discard the error on an
964
+ unvalidated certificate chain. This would happen when the
965
+ verification callback was in use, instructing the verifier to
966
+ continue unconditionally. This could lead to incorrect decisions
967
+ being made in software.
968
+ - Avoid an infinite loop in SSL_shutdown()
969
+ - Fix another return 0 bug in SSL_shutdown()
970
+ - Handle zero byte reads/writes that trigger handshakes in the
971
+ TLSv1.3 stack
972
+ - A long standing memleak in libtls CRL handling was fixed
973
+ * Internal Improvements
974
+ - Cache the SHA-512 hash instead of the SHA-1 hash and cache
975
+ notBefore and notAfter times when X.509 certificates are parsed.
976
+ - The X.509 lookup code has been simplified and cleaned up.
977
+ - Fixed numerous issues flagged by coverity and the cryptofuzz
978
+ project
979
+ - Increased the number of Miller-Rabin checks in DH and DSA
980
+ key/parameter generation
981
+ - Started using the bytestring API in libcrypto for cleaner and
982
+ safer code
983
+ - Convert {i2d,d2i}_{,EC_,DSA_,RSA_}PUBKEY{,_bio,_fp}() to templated
984
+ ASN1
985
+ - Convert ASN1_OBJECT_new() to calloc()
986
+ - Convert ASN1_STRING_type_new() to calloc()
987
+ - Rewrite ASN1_STRING_cmp()
988
+ - Use calloc() for X509_CRL_METHOD_new() instead of malloc()
989
+ - Convert ASN1_PCTX_new() to calloc()
990
+ - Replace asn1_tlc_clear and asn1_tlc_clear_nc macros with a
991
+ function
992
+ - Consolidate {d2i,i2d}_{pr,pu}.c
993
+ - Remove handling of a NULL BUF_MEM from asn1_collect()
994
+ - Pull the recursion depth check up to the top of asn1_collect()
995
+ - Inline collect_data() in asn1_collect()
996
+ - Convert asn1_d2i_ex_primitive()/asn1_collect() from BUF_MEM to CBB
997
+ - Clean up d2i_ASN1_BOOLEAN() and i2d_ASN1_BOOLEAN()
998
+ - Consolidate ASN.1 universal tag type data
999
+ - Rewrite ASN.1 identifier/length parsing in CBS
1000
+ - Make OBJ_obj2nid() work correctly with NID_undef
1001
+ - tlsext_tick_lifetime_hint is now an uint32_t
1002
+ - Untangle ssl3_get_message() return values
1003
+ - Rename tls13_buffer to tls_buffer
1004
+ - Fold DTLS_STATE_INTERNAL into DTLS1_STATE
1005
+ - Provide a way to determine our maximum legacy version
1006
+ - Mop up enc_read_ctx and read_hash
1007
+ - Fold SSL_SESSION_INTERNAL into SSL_SESSION
1008
+ - Use ssl_force_want_read in the DTLS code
1009
+ - Add record processing limit to DTLS code
1010
+ - Add explicit CBS_contains_zero_byte() check in CBS_strdup()
1011
+ - Improve SNI hostname validation
1012
+ - Ensure SSL_set_tlsext_host_name() is given a valid hostname
1013
+ - Fix a strange check in the auto DH codepath
1014
+ - Factor out/rewrite DHE key exchange
1015
+ - Convert server serialisation of DHE parameters/public key to new
1016
+ functions
1017
+ - Check DH public key in ssl_kex_peer_public_dhe()
1018
+ - Move the minimum DHE key size check into ssl_kex_peer_params_dhe()
1019
+ - Clean up and refactor server side DHE key exchange
1020
+ - Provide CBS_get_last_u8()
1021
+ - Provide CBS_get_u64()
1022
+ - Provide CBS_add_u64()
1023
+ - Provide various CBS_peek_* functions
1024
+ - Use CBS_get_last_u8() to find the content type in TLSv1.3 records
1025
+ - unifdef TLS13_USE_LEGACY_CLIENT_AUTH
1026
+ - Correct SSL_get_peer_cert_chain() when used with the TLSv1.3 stack
1027
+ - Only allow zero length key shares when we know we're doing HRR
1028
+ - Pull key share group/length CBB code up from
1029
+ tls13_key_share_public()
1030
+ - Refactor ssl3_get_server_kex_ecdhe() to separate parsing and
1031
+ validation
1032
+ - Return 0 on failure from send/get kex functions in the legacy
1033
+ stack
1034
+ - Rename tls13_key_share to tls_key_share
1035
+ - Allocate and free the EVP_AEAD_CTX struct in
1036
+ tls13_record_protection
1037
+ - Convert legacy TLS client to tls_key_share
1038
+ - Convert legacy TLS server to tls_key_share
1039
+ - Stop attempting to duplicate the public and private key of dh_tmp
1040
+ - Rename dh_tmp to dhe_params
1041
+ - Rename CERT to SSL_CERT and CERT_PKEY to SSL_CERT_PKEY
1042
+ - Clean up pkey handling in ssl3_get_server_key_exchange()
1043
+ - Fix GOST skip certificate verify handling
1044
+ - Simplify tlsext_keyshare_server_parse()
1045
+ - Plumb decode errors through key share parsing code
1046
+ - Simplify SSL_get_peer_certificate()
1047
+ - Cleanup/simplify ssl_cert_type()
1048
+ - The S3I macro was removed
1049
+ - The openssl(1) cms and smime subcommands option handling was
1050
+ converted and the C source was cleaned up.
1051
+ * Documentation improvements
1052
+ - 45 new manual pages, most of which were written from scratch.
1053
+ Documentation coverage of ASN.1 and X.509 code has been
1054
+ significantly improved.
1055
+ * API additions and removals
1056
+ - libssl
1057
+ API additions
1058
+ SSL_get0_verified_chain SSL_peek_ex SSL_read_ex SSL_write_ex
1059
+ API stubs for compatibility
1060
+ SSL_CTX_get_keylog_callback SSL_CTX_get_num_tickets
1061
+ SSL_CTX_set_keylog_callback SSL_CTX_set_num_tickets
1062
+ SSL_get_num_tickets SSL_set_num_tickets
1063
+ - libcrypto
1064
+ added API (some of these were previously available as macros):
1065
+ ASIdOrRange_free ASIdOrRange_new ASIdentifierChoice_free
1066
+ ASIdentifierChoice_new ASIdentifiers_free ASIdentifiers_new
1067
+ ASN1_TIME_diff ASRange_free ASRange_new BIO_get_callback_ex
1068
+ BIO_get_init BIO_set_callback_ex BIO_set_next
1069
+ BIO_set_retry_reason BN_GENCB_set BN_GENCB_set_old
1070
+ BN_abs_is_word BN_get_flags BN_is_negative
1071
+ BN_is_odd BN_is_one BN_is_word BN_is_zero BN_set_flags
1072
+ BN_to_montgomery BN_with_flags BN_zero_ex CTLOG_STORE_free
1073
+ CTLOG_STORE_get0_log_by_id CTLOG_STORE_load_default_file
1074
+ CTLOG_STORE_load_file CTLOG_STORE_new CTLOG_free
1075
+ CTLOG_get0_log_id CTLOG_get0_name CTLOG_get0_public_key
1076
+ CTLOG_new CTLOG_new_from_base64 CT_POLICY_EVAL_CTX_free
1077
+ CT_POLICY_EVAL_CTX_get0_cert CT_POLICY_EVAL_CTX_get0_issuer
1078
+ CT_POLICY_EVAL_CTX_get0_log_store CT_POLICY_EVAL_CTX_get_time
1079
+ CT_POLICY_EVAL_CTX_new CT_POLICY_EVAL_CTX_set1_cert
1080
+ CT_POLICY_EVAL_CTX_set1_issuer
1081
+ CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE
1082
+ CT_POLICY_EVAL_CTX_set_time DH_get0_g DH_get0_p DH_get0_priv_key
1083
+ DH_get0_pub_key DH_get0_q DH_get_length DSA_bits DSA_get0_g
1084
+ DSA_get0_p DSA_get0_priv_key DSA_get0_pub_key DSA_get0_q
1085
+ ECDSA_SIG_get0_r ECDSA_SIG_get0_s EVP_AEAD_CTX_free
1086
+ EVP_AEAD_CTX_new EVP_CIPHER_CTX_buf_noconst
1087
+ EVP_CIPHER_CTX_get_cipher_data EVP_CIPHER_CTX_set_cipher_data
1088
+ EVP_MD_CTX_md_data EVP_MD_CTX_pkey_ctx EVP_MD_CTX_set_pkey_ctx
1089
+ EVP_MD_meth_dup EVP_MD_meth_free EVP_MD_meth_new
1090
+ EVP_MD_meth_set_app_datasize EVP_MD_meth_set_cleanup
1091
+ EVP_MD_meth_set_copy EVP_MD_meth_set_ctrl EVP_MD_meth_set_final
1092
+ EVP_MD_meth_set_flags EVP_MD_meth_set_init
1093
+ EVP_MD_meth_set_input_blocksize EVP_MD_meth_set_result_size
1094
+ EVP_MD_meth_set_update EVP_PKEY_asn1_set_check
1095
+ EVP_PKEY_asn1_set_param_check EVP_PKEY_asn1_set_public_check
1096
+ EVP_PKEY_check EVP_PKEY_meth_set_check
1097
+ EVP_PKEY_meth_set_param_check EVP_PKEY_meth_set_public_check
1098
+ EVP_PKEY_param_check EVP_PKEY_public_check FIPS_mode
1099
+ FIPS_mode_set IPAddressChoice_free IPAddressChoice_new
1100
+ IPAddressFamily_free IPAddressFamily_new IPAddressOrRange_free
1101
+ IPAddressOrRange_new IPAddressRange_free IPAddressRange_new
1102
+ OBJ_get0_data OBJ_length OCSP_resp_get0_certs OCSP_resp_get0_id
1103
+ OCSP_resp_get0_produced_at OCSP_resp_get0_respdata
1104
+ OCSP_resp_get0_signature OCSP_resp_get0_signer
1105
+ OCSP_resp_get0_tbs_sigalg PEM_write_bio_PrivateKey_traditional
1106
+ RSA_get0_d RSA_get0_dmp1 RSA_get0_dmq1 RSA_get0_e RSA_get0_iqmp
1107
+ RSA_get0_n RSA_get0_p RSA_get0_pss_params RSA_get0_q
1108
+ SCT_LIST_free SCT_LIST_print SCT_LIST_validate SCT_free
1109
+ SCT_get0_extensions SCT_get0_log_id SCT_get0_signature
1110
+ SCT_get_log_entry_type SCT_get_signature_nid SCT_get_source
1111
+ SCT_get_timestamp SCT_get_validation_status SCT_get_version
1112
+ SCT_new SCT_new_from_base64 SCT_print SCT_set0_extensions
1113
+ SCT_set0_log_id SCT_set0_signature SCT_set1_extensions
1114
+ SCT_set1_log_id SCT_set1_signature SCT_set_log_entry_type
1115
+ SCT_set_signature_nid SCT_set_source SCT_set_timestamp
1116
+ SCT_set_version SCT_validate SCT_validation_status_string
1117
+ X509_OBJECT_free X509_OBJECT_new X509_REQ_get0_pubkey
1118
+ X509_SIG_get0 X509_SIG_getm X509_STORE_CTX_get_by_subject
1119
+ X509_STORE_CTX_get_num_untrusted
1120
+ X509_STORE_CTX_get_obj_by_subject X509_STORE_CTX_get_verify
1121
+ X509_STORE_CTX_get_verify_cb X509_STORE_CTX_set0_verified_chain
1122
+ X509_STORE_CTX_set_current_cert X509_STORE_CTX_set_error_depth
1123
+ X509_STORE_CTX_set_verify X509_STORE_get_verify
1124
+ X509_STORE_get_verify_cb X509_STORE_set_verify
1125
+ X509_get_X509_PUBKEY X509_get_extended_key_usage
1126
+ X509_get_extension_flags X509_get_key_usage
1127
+ X509v3_addr_add_inherit X509v3_addr_add_prefix
1128
+ X509v3_addr_add_range X509v3_addr_canonize X509v3_addr_get_afi
1129
+ X509v3_addr_get_range X509v3_addr_inherits
1130
+ X509v3_addr_is_canonical X509v3_addr_subset
1131
+ X509v3_addr_validate_path X509v3_addr_validate_resource_set
1132
+ X509v3_asid_add_id_or_range X509v3_asid_add_inherit
1133
+ X509v3_asid_canonize X509v3_asid_inherits
1134
+ X509v3_asid_is_canonical X509v3_asid_subset
1135
+ X509v3_asid_validate_path X509v3_asid_validate_resource_set
1136
+ d2i_ASIdOrRange d2i_ASIdentifierChoice d2i_ASIdentifiers
1137
+ d2i_ASRange d2i_IPAddressChoice d2i_IPAddressFamily
1138
+ d2i_IPAddressOrRange d2i_IPAddressRange d2i_SCT_LIST
1139
+ i2d_ASIdOrRange i2d_ASIdentifierChoice i2d_ASIdentifiers
1140
+ i2d_ASRange i2d_IPAddressChoice i2d_IPAddressFamily
1141
+ i2d_IPAddressOrRange i2d_IPAddressRange i2d_SCT_LIST
1142
+ i2d_re_X509_CRL_tbs i2d_re_X509_REQ_tbs i2d_re_X509_tbs i2o_SCT
1143
+ i2o_SCT_LIST o2i_SCT o2i_SCT_LIST
1144
+ removed API:
1145
+ ASN1_check_infinite_end ASN1_const_check_infinite_end EVP_dss
1146
+ EVP_dss1 EVP_ecdsa HMAC_CTX_cleanup HMAC_CTX_init
1147
+ NETSCAPE_ENCRYPTED_PKEY_free NETSCAPE_ENCRYPTED_PKEY_new
1148
+ NETSCAPE_PKEY_free NETSCAPE_PKEY_new NETSCAPE_X509_free
1149
+ NETSCAPE_X509_new OBJ_bsearch_ex_ PEM_SealFinal PEM_SealInit
1150
+ PEM_SealUpdate PEM_read_X509_CERT_PAIR
1151
+ PEM_read_bio_X509_CERT_PAIR PEM_write_X509_CERT_PAIR
1152
+ PEM_write_bio_X509_CERT_PAIR X509_CERT_PAIR_free
1153
+ X509_CERT_PAIR_new X509_OBJECT_free_contents asn1_do_adb
1154
+ asn1_do_lock asn1_enc_free asn1_enc_init asn1_enc_restore
1155
+ asn1_enc_save asn1_ex_c2i asn1_get_choice_selector
1156
+ asn1_get_field_ptr asn1_set_choice_selector check_defer
1157
+ d2i_ASN1_BOOLEAN d2i_NETSCAPE_ENCRYPTED_PKEY d2i_NETSCAPE_PKEY
1158
+ d2i_NETSCAPE_X509 d2i_Netscape_RSA d2i_RSA_NET
1159
+ d2i_X509_CERT_PAIR i2d_ASN1_BOOLEAN i2d_NETSCAPE_ENCRYPTED_PKEY
1160
+ i2d_NETSCAPE_PKEY i2d_NETSCAPE_X509 i2d_Netscape_RSA i2d_RSA_NET
1161
+ i2d_X509_CERT_PAIR name_cmp obj_cleanup_defer
1162
+
1163
+ 3.4.1 - Stable release
1164
+
1165
+ * New Features
1166
+ - Added support for OpenSSL 1.1.1 TLSv1.3 APIs.
1167
+ - Enabled the new X.509 validator to allow verification of
1168
+ modern certificate chains.
1169
+ * Portable Improvements
1170
+ - Ported continuous integration and test infrastructure to Github
1171
+ actions.
1172
+ - Added Universal Windows Platform (UWP) build support.
1173
+ - Fixed mingw-w64 builds on newer versions with missing SSP support.
1174
+ - Added non-executable stack annotations for CMake builds.
1175
+ * API and Documentation Enhancements
1176
+ - Added the following APIs from OpenSSL
1177
+ BN_bn2binpad BN_bn2lebinpad BN_lebin2bn EC_GROUP_get_curve
1178
+ EC_GROUP_order_bits EC_GROUP_set_curve
1179
+ EC_POINT_get_affine_coordinates
1180
+ EC_POINT_set_affine_coordinates
1181
+ EC_POINT_set_compressed_coordinates EVP_DigestSign
1182
+ EVP_DigestVerify SSL_CIPHER_find SSL_CTX_get0_privatekey
1183
+ SSL_CTX_get_max_early_data SSL_CTX_get_ssl_method
1184
+ SSL_CTX_set_ciphersuites SSL_CTX_set_max_early_data
1185
+ SSL_CTX_set_post_handshake_auth SSL_SESSION_get0_cipher
1186
+ SSL_SESSION_get_max_early_data SSL_SESSION_is_resumable
1187
+ SSL_SESSION_set_max_early_data SSL_get_early_data_status
1188
+ SSL_get_max_early_data SSL_read_early_data SSL_set0_rbio
1189
+ SSL_set_ciphersuites SSL_set_max_early_data
1190
+ SSL_set_post_handshake_auth
1191
+ SSL_set_psk_use_session_callback
1192
+ SSL_verify_client_post_handshake SSL_write_early_data
1193
+ - Added AES-GCM constants from RFC 7714 for SRTP.
1194
+ * Compatibility Changes
1195
+ - Implement flushing for TLSv1.3 handshakes behavior, needed for Apache.
1196
+ - Call the info callback on connect/accept exit in TLSv1.3,
1197
+ needed for p5-Net-SSLeay.
1198
+ - Default to using named curve parameter encoding from
1199
+ pre-OpenSSL 1.1.0, adding OPENSSL_EC_EXPLICIT_CURVE.
1200
+ - Do not ignore SSL_TLSEXT_ERR_FATAL from the ALPN callback.
1201
+ * Testing and Proactive Security
1202
+ - Added additional state machine test coverage.
1203
+ - Improved integration test support with ruby/openssl tests.
1204
+ - Error codes and callback support in new X.509 validator made
1205
+ compatible with p5-Net_SSLeay tests.
1206
+ * Internal Improvements
1207
+ - Numerous fixes and improvements to the new X.509 validator to
1208
+ ensure compatible error codes and callback support compatible
1209
+ with the legacy OpenSSL validator.
1210
+
1211
+ 3.4.0 - Development release
1212
+
1213
+ * Add support for OpenSSL 1.1.1 TLSv1.3 APIs.
1214
+
1215
+ * Enable new x509 validator.
1216
+
1217
+ * More details to come, testing is appreciated.
1218
+
1219
+ 3.3.5 - Security fix
1220
+
1221
+ * A stack overread could occur when checking X.509 name constraints.
1222
+ From GoldBinocle on GitHub.
1223
+
1224
+ * Enable X509_V_FLAG_TRUSTED_FIRST by default in the legacy verifier.
1225
+ This compensates for the expiry of the DST Root X3 certificate.
1226
+
1227
+ 3.3.4 - Security fix
1228
+
1229
+ * In LibreSSL, printing a certificate can result in a crash in
1230
+ X509_CERT_AUX_print().
1231
+ From Ingo Schwarze
1232
+
1233
+ * Ensure GNU-stack is set on ELF platforms when building with CMake to
1234
+ enable non-executable stack annotations for the GNU toolchain.
1235
+ From Tobias Heider
1236
+
1237
+ 3.3.3 - Stable release
1238
+
1239
+ * This is the first stable release from the 3.3.x series.
1240
+ There are no changes from 3.3.2.
1241
+
1242
+ 3.3.2 - Development release
1243
+
1244
+ * This release adds support for DTLSv1.2 and continues the rewrite
1245
+ of the record layer for the legacy stack. Numerous bugs and
1246
+ interoperability issues were fixed in the new verifier. A few bugs
1247
+ and incompatibilities remain, so this release uses the old verifier
1248
+ by default. The OpenSSL 1.1 TLSv1.3 API is not yet available.
1249
+
1250
+ * Switch finish{,_peer}_md_len from an int to a size_t.
1251
+
1252
+ * Make SSL_get{,_peer}_finished() work when used with TLSv1.3.
1253
+
1254
+ * Use EVP_MD_MAX_MD_SIZE instead of 2 * EVP_MD_MAX_MD_SIZE as size
1255
+ for cert_verify_md[], finish_md[] and peer_finish_md[]. The factor 2
1256
+ was a historical artefact.
1257
+
1258
+ * Correct the return value type from ERR_peek_error() to a long.
1259
+
1260
+ * Avoid use of uninitialized in ASN1_time_parse() which could happen
1261
+ on parsing UTCTime if the caller did not initialise the passed
1262
+ struct tm.
1263
+
1264
+ * Destroy the mutex in a tls_config object on tls_config_free().
1265
+
1266
+ * Free alert_data and phh_data in tls13_record_layer_free()
1267
+ these could leak if SSL_shutdown() or tls_close() were called
1268
+ after closing the underlying socket().
1269
+
1270
+ * Free struct members in tls13_record_layer_free() in their natural
1271
+ order for reviewability.
1272
+
1273
+ * Gracefully handle root certificates being both trusted and
1274
+ untrusted.
1275
+
1276
+ * Handle X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE in the new
1277
+ verifier.
1278
+
1279
+ * Use the legacy verifier when building auto chains for TLS.
1280
+
1281
+ * Use consistent names in tls13_{client,server}_finished_{recv,send}().
1282
+
1283
+ * Add tls13_secret_{init,cleanup}() and use them throughout the
1284
+ TLSv1.3 code base.
1285
+
1286
+ * Move the read MAC key into the TLSv1.2 record layer.
1287
+
1288
+ * Make tls12_record_layer_free() NULL safe.
1289
+
1290
+ * Search the intermediates only after searching the root certs in the
1291
+ new verifier to avoid problems with the legacy callback.
1292
+
1293
+ * Bail out early after finding a single chain in the new verifier, if
1294
+ we have been called via the legacy verifier API.
1295
+
1296
+ * Set (invalid and likely incomplete) chain on the xsc on chain build
1297
+ failure prior to calling the callback. This is required by various
1298
+ callers, including auto chain.
1299
+
1300
+ * Align SSL_get_shared_ciphers() with OpenSSL. This takes into account
1301
+ that it never returned server ciphers, so now it will fail when
1302
+ called from the client side.
1303
+
1304
+ * Add support for SSL_get_shared_ciphers() with TLSv1.3.
1305
+
1306
+ * Split the record protection from the TLSv1.2 record layer.
1307
+
1308
+ * Clean up sequence number handling in the new TLSv1.2 record layer.
1309
+
1310
+ * Clean up sequence number handling in DTLS.
1311
+
1312
+ * Clean up dtls1_reset_seq_numbers().
1313
+
1314
+ * Factor out code for explicit IV length, block size and MAC length
1315
+ from tls12_record_layer_open_record_protected_cipher().
1316
+
1317
+ * Provide record layer overhead for DTLS.
1318
+
1319
+ * Provide functions to determine if TLSv1.2 record protection is
1320
+ engaged.
1321
+
1322
+ * Add code to handle change of cipher state in the new TLSv1.2 record
1323
+ layer.
1324
+
1325
+ * Mop up now unused dtls1_build_sequence_numbers() function.
1326
+
1327
+ * Allow setting a keypair on a tls context without specifying the
1328
+ private key, and fake it internally in libtls. This removes the
1329
+ need for privsep engines like relayd to use bogus keys.
1330
+
1331
+ * Skip the private key check for fake private keys.
1332
+
1333
+ * Move the private key setup from tls_configure_ssl_keypair() to a
1334
+ helper function with proper error checking.
1335
+
1336
+ * Change the internal tls_configure_ssl_keypair() function to
1337
+ return -1 instead of 1 on failure.
1338
+
1339
+ * Move sequence numbers into the new TLSv1.2 record layer.
1340
+
1341
+ * Move AEAD handling into the new TLSv1.2 record layer.
1342
+
1343
+ * Remove direct assignment of aead_ctx to avoid a leak.
1344
+
1345
+ * Add a number of RPKI OIDs from RFC 6482, 6484, 6493, 8182, 8360,
1346
+ draft-ietf-sidrops-rpki-rta, and draft-ietf-opsawg-finding-geofeeds.
1347
+
1348
+ * Fail early in legacy exporter if the master secret is not available
1349
+ to avoid a segfault if it is called when the handshake is not
1350
+ completed.
1351
+
1352
+ * Factor out legacy stack version checks.
1353
+
1354
+ * Correct handshake MAC/PRF for various TLSv1.2 cipher suites which
1355
+ were originally added with the default handshake MAC and PRF rather
1356
+ than the SHA256 handshake MAC and PRF.
1357
+
1358
+ * Absorb ssl3_get_algorithm2() into ssl_get_handshake_evp_md().
1359
+
1360
+ * Use dtls1_record_retrieve_buffered_record() to load buffered
1361
+ application data.
1362
+
1363
+ * Enforce read ahead with DTLS.
1364
+
1365
+ * Remove bogus DTLS checks that disabled ECC and OCSP.
1366
+
1367
+ * Sync cert.pem with Mozilla NSS root CAs except "GeoTrust Global CA".
1368
+
1369
+ * Only print the certificate file once on verification failure.
1370
+
1371
+ * Pull in fix for EVP_CipherUpdate() overflow from OpenSSL.
1372
+
1373
+ * Clean up and simplify dtls1_get_cipher().
1374
+
1375
+ * Group HelloVerifyRequest decoding and add missing check for trailing
1376
+ data.
1377
+
1378
+ * Revise HelloVerifyRequest handling for DTLSv1.2.
1379
+
1380
+ * Handle DTLS1_2_VERSION in various places.
1381
+
1382
+ * Add DTLSv1.2 methods.
1383
+
1384
+ * Make SSL{_CTX,}_get_{min,max}_proto_version() return a version of
1385
+ zero if the minimum or maximum has been set to zero to match
1386
+ OpenSSL's behavior.
1387
+
1388
+ * Rename the "truncated" label into "decode_err" and the "f_err"
1389
+ label into "fatal_err".
1390
+
1391
+ * Factor out and change some of the legacy client version code.
1392
+
1393
+ * Simplify version checks in the TLSv1.3 client. Ensure that the
1394
+ server announced TLSv1.3 and nothing higher and check that the
1395
+ legacy_version is set to TLSv1.2 as required by RFC 8446.
1396
+
1397
+ * Fix an off-by-one in x509_verify_set_xsc_chain() to make sure that
1398
+ the new validator checks for EXFLAG_CRITICAL in
1399
+ x509_vfy_check_chain_extension() for all untrusted certs in the
1400
+ chain. Take into account that the root is not necessarily trusted.
1401
+
1402
+ * Avoid passing last and depth to x509_verify_cert_error() on ENOMEM.
1403
+
1404
+ * Rename depth to num_untrusted.
1405
+
1406
+ * Only use TLS versions internally rather than both TLS and DTLS
1407
+ versions since the latter are the one's complement of the human
1408
+ readable version numbers, which means that newer versions decrease
1409
+ in value.
1410
+
1411
+ * Fix two bugs in the legacy verifier that resulted from refactoring
1412
+ of X509_verify_cert() for the new verifier: a return value was
1413
+ incorrectly treated as boolean, making it insufficient to decide
1414
+ whether validation should carry on or not.
1415
+
1416
+ * Identify DTLS based on the version major value.
1417
+
1418
+ * Move handling of cipher/hash based cipher suites into the new record
1419
+ layer.
1420
+
1421
+ * Add tls12_record_protection_unused() and call it from CCS functions.
1422
+
1423
+ * Move key/IV length checks closer to usage sites. Also add explicit
1424
+ checks against EVP_CIPHER_{iv,key}_length().
1425
+
1426
+ * Replace two handrolled tls12_record_protection_engaged().
1427
+
1428
+ * Improve internal version handling: add handshake fields for our
1429
+ minimum version, our maximum version and the TLS version negotiated
1430
+ during the handshake. Convert most of the internal code to use these
1431
+ version fields.
1432
+
1433
+ * Guard against future internal use of TLS1_get_{client,}_version()
1434
+ macros.
1435
+
1436
+ * Remove the internal ssl_downgrade_max_version() function which is no
1437
+ longer needed.
1438
+
1439
+ * Fix checks for memory caps of constraints names. There are internal
1440
+ caps on the number of name constraints and other names, that the new
1441
+ name constraints code allocates per cert chain. These limits were
1442
+ checked too late, making them only partially effective.
1443
+
1444
+ * Use EXFLAG_INVALID to handle out of memory and parse errors in
1445
+ x509v3_cache_extensions().
1446
+
1447
+ * Add support for DTLSv1.2 version handling.
1448
+
1449
+ * Enable DTLSv1.2 support.
1450
+
1451
+ * Add DTLSv1.2 support to openssl s_client/s_server.
1452
+
1453
+ * Remove no longer needed read ahead workarounds in the s_client and
1454
+ s_server.
1455
+
1456
+ * Fix a copy-paste error - skid was confused with an akid when
1457
+ checking for EXFLAG_INVALID. This broke OCSP validation with
1458
+ certain mirrors.
1459
+
1460
+ * Make supported protocols and options for DHE params more prominent
1461
+ in tls_config_set_protocols.3.
1462
+
1463
+ * Avoid a use-after-scope in tls13_cert_add().
1464
+
1465
+ * Split TLSv1.3 record protection from record layer.
1466
+
1467
+ * Move the TLSv1.3 handshake struct inside the shared handshake
1468
+ struct.
1469
+
1470
+ * Fully initialize rrec in tls12_record_layer_open_record_protected()
1471
+ to avoid confusing some static analyzers.
1472
+
1473
+ * Use tls_set_errorx() on OCSP_basic_verify() failure since the latter
1474
+ does not set errno.
1475
+
1476
+ * Convert openssl(1) x509 to new option handling and do the usual
1477
+ clean up that goes along with it.
1478
+
1479
+ * Add SSL_HANDSHAKE_TLS12 for TLSv1.2 specific handshake data.
1480
+
1481
+ * Rename new_cipher to cipher to align naming with keyblock or other
1482
+ parts of the handshake data.
1483
+
1484
+ * Avoid mangled output in BIO_debug_callback().
1485
+
1486
+ * Fix client initiated renegotiation by replacing use of s->internal-type
1487
+ with s->server.
1488
+
1489
+ * Move the TLSv1.2 record number increment into the new record layer.
1490
+
1491
+ * Move finished and peer finished into the handshake struct.
1492
+
1493
+ * Avoid transcript initialization when sending a TLS HelloRequest,
1494
+ fixing server initiated renegotiation.
1495
+
1496
+ * Remove pointless assignment in SSL_get0_alpn_selected().
1497
+
1498
+ * Provide EVP_PKEY_new_CMAC_KEY(3).
1499
+
1500
+ * Add missing prototype for d2i_DSAPrivateKey_fp(3) to x509.h.
1501
+
1502
+ * Add DTLSv1.2 to openssl(1) s_server and s_client protocol message
1503
+ logging.
1504
+
1505
+ * Avoid leaking param->name in x509_verify_param_zero().
1506
+
1507
+ * Avoid a leak in an error path in openssl(1) x509.
1508
+
1509
+ * Add some error checking to openssl(1) x509.
1510
+
1511
+ * When sending an alert in TLSv1.3, only set its error code when no
1512
+ other error was set previously. Certain clients rely on specific
1513
+ SSL_R_ error codes to identify that they are dealing with a self
1514
+ signed cert.
1515
+
1516
+ * Switch to the legacy verifier for the stable release.
1517
+
1518
+ * Provide SSL_use_certificate_chain_file(3).
1519
+
1520
+ * Provide SSL_set_hostflags(3) and SSL_get0_peername(3).
1521
+
1522
+ * Provide various DTLSv1.2 specific functions and defines.
1523
+
1524
+ * Document meaning of '*' in the genrsa output.
1525
+
1526
+ * Updated documentation for SSL_get_shared_ciphers(3).
1527
+
1528
+ * Add documentation for SSL_get_finished(3).
1529
+
1530
+ * Document EVP_PKEY_new_CMAC_key(3)
1531
+
1532
+ * Document SSL_use_certificate_chain_file(3).
1533
+
1534
+ * Document SSL_set_hostflags(3) and SSL_get0_peername(3).
1535
+
1536
+ * Update SSL_get_version.3 manual for DTLSv.1.2 support.
1537
+
1538
+ * Added '--enable-libtls-only' build option, which builds and installs a
1539
+ statically-linked libtls, skipping libcrypto and libssl. This is useful
1540
+ for systems that ship with OpenSSL but wish to also package libtls.
1541
+
1542
+ 3.3.1 - Security fix
1543
+
1544
+ * Malformed ASN.1 in a certificate revocation list or a timestamp
1545
+ response token can lead to a NULL pointer dereference.
1546
+
1547
+ Bug fixes
1548
+
1549
+ * Move point-on-curve check to set_affine_coordinates to avoid
1550
+ verifying ECDSA signatures with unchecked public keys.
1551
+
1552
+ * Fix SSL_is_server() to behave as documented by re-introducing the
1553
+ client-specific methods.
1554
+
1555
+ * Avoid undefined behavior due to memcpy(NULL, NULL, 0).
1556
+
1557
+ * Mark a few more internal static tables const.
1558
+
1559
+ 3.3.0 - Development release
1560
+
1561
+ * Make openssl(1) s_server ignore -4 and -6 for compatibility with
1562
+ OpenSSL.
1563
+
1564
+ * Further cleanup of the DTLS record handling.
1565
+
1566
+ * Continue the replacement of the TLSv1.2 record layer by
1567
+ reimplementing the read side of the TLSv1.2 record handling.
1568
+
1569
+ * Replace DTLSv1_enc_data() with TLSv1_1_enc_data().
1570
+
1571
+ * Merge d1_{clnt,srvr}.c into ssl_{clnt,srvr}.c.
1572
+
1573
+ * When switching from the TLSv1.3 stack to the legacy stack include
1574
+ a TLS record header. This is necessary if there is more than one
1575
+ handshake message in the TLS plaintext record.
1576
+
1577
+ * Set SO_REUSEADDR on the server socket in the openssl(1) ocsp
1578
+ command.
1579
+
1580
+ * Fix resource handling on error in OCSP_request_add0_id().
1581
+
1582
+ * Add const to ssl_ciphers and tls1[23]_sigalgs* to push them into
1583
+ .data.rel.ro and .rodata, respectively.
1584
+
1585
+ * Add a const qualifier to srtp_known_profiles.
1586
+
1587
+ * Simplify TLS method by removing the client and server specific
1588
+ methods internally.
1589
+
1590
+ * Avoid casting away const in ssl_ctx_make_profiles().
1591
+
1592
+ * Make sure there is enough room for stashing the handshake message
1593
+ when switching to the legacy TLS stack.
1594
+
1595
+ * Avoid explicitly conditioning an assert on DTLS1_VERSION to make
1596
+ the assert work for newer DTLS versions.
1597
+
1598
+ * Merge SSL_ENC_METHOD into SSL_METHOD_INTERNAL.
1599
+
1600
+ * Send a host header with OCSP queries to make openssl(1) ocsp
1601
+ work with some widely used OCSP responders.
1602
+
1603
+ * Fix a memory leak in the openssl(1) s_client.
1604
+
1605
+ * Add a flag to mark DTLS methods as DTLS to have an easy way to
1606
+ recognize DTLS methods that avoids inspecting the version number.
1607
+
1608
+ * Implement SSL_is_dtls() and use it internally in place of the
1609
+ SSL_IS_DTLS macro.
1610
+
1611
+ * Unbreak DTLS retransmissions for flights that include a CCS.
1612
+
1613
+ * Add ability to ocspcheck(8) to parse a port in the specified
1614
+ OCSP URL.
1615
+
1616
+ * Refactor and clean up ocspcheck(8) and add regression tests.
1617
+
1618
+ * If x509_verify() fails, ensure that the error is set on both
1619
+ the x509_verify_ctx() and its store context to make some failures
1620
+ visible from SSL_get_verify_result().
1621
+
1622
+ * Use the X509_STORE_CTX get_issuer() callback from the new X.509
1623
+ verifier to fix hashed certificate directories.
1624
+
1625
+ * Only check BIO_should_read() on read and BIO_should_write() on
1626
+ write. Previously, BIO_should_write() was also checked after read
1627
+ and BIO_should_read() after write which could cause stalls in
1628
+ software that uses the same BIO for read and write.
1629
+
1630
+ * In openssl(1) verify, also check for error on the store context
1631
+ since the return value of X509_verify_cert() is unreliable in
1632
+ presence of a callback that returns 1 too often.
1633
+
1634
+ * Update getentropy on Windows to use Cryptography Next Generation
1635
+ (CNG). wincrypt is deprecated and no longer works with newer Windows
1636
+ environments, such as in Windows Store apps.
1637
+
1638
+ * Implement auto chain for the TLSv1.3 server since some software
1639
+ relies on this.
1640
+
1641
+ * Handle additional certificate error cases in the new X.509 verifier.
1642
+ Keep track of the errors encountered if a verify callback tells the
1643
+ verifier to continue and report them back via the error on the store
1644
+ context. This mimics the behavior of the old verifier that would
1645
+ persist the first error encountered while building the chain.
1646
+
1647
+ * Report specific failures for "self signed certificates" in a way
1648
+ compatible with the old verifier since software relies on the
1649
+ error code.
1650
+
1651
+ * Implement key exporter for TLSv1.3.
1652
+
1653
+ * Plug a large memory leak in the new verifier caused by calling
1654
+ X509_policy_check() repeatedly.
1655
+
1656
+ * Avoid leaking memory in x509_verify_chain_dup().
1657
+
1658
+ * Various documentation improvements, particularly around TLS methods.
1659
+
1660
+ 3.2.3 - Security fix
1661
+
1662
+ * Malformed ASN.1 in a certificate revocation list or a timestamp
1663
+ response token can lead to a NULL pointer dereference.
1664
+
1665
+ 3.2.2 - Stable release
1666
+
1667
+ * This is the first stable release with the new TLSv1.3
1668
+ implementation enabled by default for both client and server. The
1669
+ OpenSSL 1.1 TLSv1.3 API is not yet available and will be provided
1670
+ in an upcoming release.
1671
+
1672
+ * New X509 certificate chain validator that correctly handles
1673
+ multiple paths through intermediate certificates. Loosely based on
1674
+ Go's X509 validator.
1675
+
1676
+ * New name constraints verification implementation which passes the
1677
+ bettertls.com certificate validation check suite.
1678
+
1679
+ * Improve the handling of BIO_read()/BIO_write() failures in the
1680
+ TLSv1.3 stack.
1681
+
1682
+ * Start replacing the existing TLSv1.2 record layer.
1683
+
1684
+ * Define OPENSSL_NO_SSL_TRACE in opensslfeatures.h.
1685
+
1686
+ * Make SSL_CTX_get_ciphers(NULL) return NULL rather than crash.
1687
+
1688
+ * Send alert on ssl_get_prev_session() failure.
1689
+
1690
+ * Zero out variable on the stack to avoid leaving garbage in the tail
1691
+ of short session IDs.
1692
+
1693
+ * Move state initialization from SSL_clear() to ssl3_clear() to ensure
1694
+ that it gets correctly reinitialized across a SSL_set_ssl_method()
1695
+ call.
1696
+
1697
+ * Avoid an out-of-bounds write in BN_rand().
1698
+
1699
+ * Fix numerous leaks in the UI_dup_* functions. Simplify and tidy up
1700
+ the code in ui_lib.c.
1701
+
1702
+ * Correctly track selected ALPN length to avoid a potential segmentation
1703
+ fault with SSL_get0_alpn_selected() when alpn_selected is NULL.
1704
+
1705
+ * Include machine/endian.h gost2814789.c in order to pick up the
1706
+ __STRICT_ALIGNMENT define.
1707
+
1708
+ * Simplify SSL method lookups.
1709
+
1710
+ * Clean up and simplify SSL_get_ciphers(), SSL_set_session(),
1711
+ SSL_set_ssl_method() and several internal functions.
1712
+
1713
+ * Correctly handle ssl_cert_dup() failure in SSL_set_SSL_CTX().
1714
+
1715
+ * Refactor dtls1_new(), dtls1_hm_fragment_new(),
1716
+ dtls1_drain_fragments(), dtls1_clear_queues().
1717
+
1718
+ * Copy the session ID directly in ssl_get_prev_session() instead of
1719
+ handing it through several functions for copying.
1720
+
1721
+ * Clean up and refactor ssl_get_prev_session(); simplify
1722
+ tls_decrypt_ticket() and tls1_process_ticket() exit paths.
1723
+
1724
+ * Avoid memset() before memcpy() in CBS_add_bytes().
1725
+
1726
+ * Rewrite X509_INFO_{new,free}() more idiomatically.
1727
+
1728
+ * Remove unnecessary zeroing after recallocarray() in
1729
+ ASN1_BIT_STRING_set_bit().
1730
+
1731
+ * Convert openssl(1) ocsp new option handling.
1732
+
1733
+ * Document SSL_set1_host(3), SSL_set_SSL_CTX(3).
1734
+
1735
+ * Document return value from EC_KEY_get0_public_key(3).
1736
+
1737
+ * Greatly expanded test coverage via the tlsfuzzer test scripts.
1738
+
1739
+ * Expanded test coverage via the bettertls certificate test suite.
1740
+
1741
+ * Test interoperability with the Botan TLS client.
1742
+
1743
+ * Make pthread_mutex static initialisation work on Windows.
1744
+
1745
+ * Get __STRICT_ALIGNMENT from machine/endian.h with portable build.
1746
+
1747
+ 3.2.1 - Development release
1748
+
1749
+ * Propagate alerts from the read half of the TLSv1.3 record layer to I/O
1750
+ functions.
1751
+
1752
+ * Send a record overflow alert for TLSv1.3 messages having overlong
1753
+ plaintext or inner plaintext.
1754
+
1755
+ * Send an illegal parameter alert if a client sends an invalid DH key
1756
+ share.
1757
+
1758
+ * Document PKCS7_final(3), PKCS7_add_attribute(3).
1759
+
1760
+ * Collapse x509v3 directory into x509.
1761
+
1762
+ * Improve TLSv1.3 client certificate selection to allow EC certificates
1763
+ instead of only RSA certificates.
1764
+
1765
+ * Fail on receiving an invalid NID in X509_ATTRIBUTE_create() instead
1766
+ of constructing a broken objects that may cause NULL pointer accesses.
1767
+
1768
+ * Add support for additional GOST curves from RFC 7836 and
1769
+ draft-deremin-rfc4491-bis.
1770
+
1771
+ * Add OIDs for HMAC using the Streebog hash function.
1772
+
1773
+ * Allow GOST R 34.11-2012 in PBE/PBKDF2/PKCS#5.
1774
+
1775
+ * Enable GOST_SIG_FORMAT_RS_LE when verifying certificate signatures.
1776
+
1777
+ * Handle GOST in ssl_cert_dup().
1778
+
1779
+ * Stop sending GOST R 34.10-94 as a CertificateType.
1780
+
1781
+ * Use IANA allocated GOST ClientCertificateTypes.
1782
+
1783
+ * Add a custom copy handler for AES keywrap to fix a use-after-free.
1784
+
1785
+ * Enforce in the TLSv1.3 server that that ClientHello messages after
1786
+ a HelloRetryRequest match the original ClientHello as per RFC 8446
1787
+ section 4.1.2
1788
+
1789
+ * Document more PKCS7 attribute functions.
1790
+
1791
+ * Document PKCS7_get_signer_info(3).
1792
+
1793
+ * Document PEM_ASN1_read(3) and PEM_ASN1_read_bio(3).
1794
+
1795
+ * Document PEM_def_callback(3).
1796
+
1797
+ * Document EVP_read_pw_string_min(3).
1798
+
1799
+ * Merge documentation of X509_get0_serialNumber from OpenSSL 1.1.1.
1800
+
1801
+ * Document error handling of X509_PUBKEY_get0(3) and X509_PUBKEY_get(3)
1802
+
1803
+ * Document X509_get0_pubkey_bitstr(3).
1804
+
1805
+ * Fix an off-by-one in the CBC padding removal. From BoringSSL.
1806
+
1807
+ * Enforce restrictions on extensions present in the ClientHello as per
1808
+ RFC 8446, section 9.2.
1809
+
1810
+ * Add new CMAC_Init(3) and ChaCha(3) manual pages.
1811
+
1812
+ * Fix SSL_shutdown behavior to match the legacy stack. The previous
1813
+ behavior could cause a hang.
1814
+
1815
+ * Add initial support for openbsd/powerpc64.
1816
+
1817
+ * Make the message type available in the internal TLS extensions API
1818
+ functions.
1819
+
1820
+ * Enable TLSv1.3 for the generic TLS_method().
1821
+
1822
+ * Convert openssl(1) s_client option handling.
1823
+
1824
+ * Document openssl(1) certhash.
1825
+
1826
+ * Convert openssl(1) verify option handling.
1827
+
1828
+ * Fix a longstanding bug in PEM_X509_INFO_read_bio(3) that could cause
1829
+ use-after-free and double-free issues in calling programs.
1830
+
1831
+ * Document PEM_X509_INFO_read(3) and PEM_X509_INFO_read_bio(3).
1832
+
1833
+ * Handle SSL_MODE_AUTO_RETRY being changed during a TLSv1.3 session.
1834
+
1835
+ * Convert openssl(1) s_server option handling.
1836
+
1837
+ * Add minimal info callback support for TLSv1.3.
1838
+
1839
+ * Refactor, clean up and simplify some SSL3/DTLS1 record writing code.
1840
+
1841
+ * Correctly handle server requests for an OCSP response.
1842
+
1843
+ * Add the P-521 curve to the list of curves supported by default
1844
+ in the client.
1845
+
1846
+ * Convert openssl(1) req option handling.
1847
+
1848
+ * Avoid calling freezero with a negative size if a server sends a
1849
+ malformed plaintext of all zeroes.
1850
+
1851
+ * Send an unexpected message alert if no valid content type is found
1852
+ in a TLSv1.3 record.
1853
+
1854
+ 3.2.0 - Development release
1855
+
1856
+ * Enable TLS 1.3 server side in addition to client by default.
1857
+ With this change TLS 1.3 is handled entirely on the new stack
1858
+ and state machine, with fallback to the legacy stack and
1859
+ state machine for older versions. Note that the OpenSSL TLS 1.3
1860
+ API is not yet visible/available.
1861
+
1862
+ * Improve length checks in the TLS 1.3 record layer and provide
1863
+ appropriate alerts for violations of record layer limits.
1864
+
1865
+ * Enforce that SNI hostnames received by the TLS server are correctly
1866
+ formed as per RFC 5890 and RFC 6066, responding with illegal parameter
1867
+ for a nonconformant host name.
1868
+
1869
+ * Support SSL_MODE_AUTO_RETRY in TLS 1.3 to allow the automatic
1870
+ retry of handshake messages.
1871
+
1872
+ * Modify I/O behavior so that SSL_MODE_AUTO_RETRY is the default
1873
+ similar to new OpenSSL releases.
1874
+
1875
+ * Modify openssl(1) to clear SSL_MODE_AUTO_RETRY appropriately in
1876
+ various commands.
1877
+
1878
+ * Add tlsfuzzer based regression tests.
1879
+
1880
+ * Support sending certificate status requests from the TLS 1.3
1881
+ client to request OCSP staples for leaf certificates.
1882
+
1883
+ * Support sending certificate status replies from the TLS 1.3 server
1884
+ in order to send OCSP staples for leaf certificates.
1885
+
1886
+ * Send correct alerts when handling failed key share extensions
1887
+ on the TLS 1.3 server.
1888
+
1889
+ * Various compatibility fixes for TLS 1.3 to 1.2 fallback for
1890
+ switching from the new to legacy stacks.
1891
+
1892
+ * Support TLS 1.3 options in the openssl(1) command.
1893
+
1894
+ * Many alert cleanups in TLS 1.3 to provide expected alerts in failure
1895
+ conditions.
1896
+
1897
+ * Modify "openssl x509" to display invalid certificate times as
1898
+ invalid, and correctly deal with the failing return case from
1899
+ X509_cmp_time so that a certificate with an invalid NotAfter does
1900
+ not appear valid.
1901
+
1902
+ * Support sending dummy change_cipher_spec records for TLS 1.3 middlebox
1903
+ compatibility.
1904
+
1905
+ * Ensure only PSS signatures are used with RSA in TLS 1.3.
1906
+
1907
+ * Ensure that TLS 1.3 clients advertise exactly the "null" compression
1908
+ method in its legacy_compression_methods.
1909
+
1910
+ * Correct use of sockaddr_storage instead of sockaddr in openssl(1)
1911
+ s_client, which could lead to using 14 bytes of stack garbage instead
1912
+ of an IPv6 address in DTLS mode.
1913
+
1914
+ * Use non-expired certificates first when building a certificate chain.
1915
+
1916
+ 3.1.5 - Security fix
1917
+
1918
+ * Malformed ASN.1 in a certificate revocation list or a timestamp
1919
+ response token can lead to a NULL pointer dereference.
1920
+
1921
+ 3.1.4 - Interoperability and bug fixes for the TLSv1.3 client:
1922
+
1923
+ * Improve client certificate selection to allow EC certificates
1924
+ instead of only RSA certificates.
1925
+
1926
+ * Do not error out if a TLSv1.3 server requests an OCSP response as
1927
+ part of a certificate request.
1928
+
1929
+ * Fix SSL_shutdown behavior to match the legacy stack. The previous
1930
+ behaviour could cause a hang.
1931
+
1932
+ * Fix a memory leak and add a missing error check in the handling of
1933
+ the key update message.
1934
+
1935
+ * Fix a memory leak in tls13_record_layer_set_traffic_key.
1936
+
1937
+ * Avoid calling freezero with a negative size if a server sends a
1938
+ malformed plaintext of all zeroes.
1939
+
1940
+ * Ensure that only PSS may be used with RSA in TLSv1.3 in order
1941
+ to avoid using PKCS1-based signatures.
1942
+
1943
+ * Add the P-521 curve to the list of curves supported by default
1944
+ in the client.
1945
+
1946
+ 3.1.3 - Bug fix
1947
+
1948
+ * libcrypto may fail to build a valid certificate chain due to
1949
+ expired untrusted issuer certificates.
1950
+
1951
+ 3.1.2 - Bug fix
1952
+
1953
+ * A TLS client with peer verification disabled may crash when
1954
+ contacting a server that sends an empty certificate list.
1955
+
1956
+ 3.1.1 - Stable release
1957
+
1958
+ * Improved cipher suite handling to automatically include TLSv1.3
1959
+ cipher suites when they are not explicitly referred to in the
1960
+ cipher string.
1961
+
1962
+ * Improved handling of TLSv1.3 HelloRetryRequests, simplifying
1963
+ state transitions and ensuring that the legacy session identifer
1964
+ retains the same value across the handshake.
1965
+
1966
+ * Provided TLSv1.3 cipher suite aliases to match the names used
1967
+ in RFC 8446.
1968
+
1969
+ * Improved TLSv1.3 client key share handling to allow the use of
1970
+ any groups in our configured NID list.
1971
+
1972
+ * Fixed printing the serialNumber with X509_print_ex() fall back to
1973
+ the colon separated hex bytes in case greater than int value.
1974
+
1975
+ * Fix to disallow setting the AES-GCM IV length to zero.
1976
+
1977
+ * Added -groups option to openssl(1) s_server subcommand.
1978
+
1979
+ * Fix to show TLSv1.3 extension types with openssl(1) -tlsextdebug.
1980
+
1981
+ * Improved portable builds to support the use of static MSVC runtimes.
1982
+
1983
+ * Fixed portable builds to avoid exporting a sleep() symbol.
1984
+
1985
+ 3.1.0 - Development release
1986
+
1987
+ * Completed initial TLS 1.3 implementation with a completely new state
1988
+ machine and record layer. TLS 1.3 is now enabled by default for the
1989
+ client side, with the server side to be enabled in a future release.
1990
+ Note that the OpenSSL TLS 1.3 API is not yet visible/available.
1991
+
1992
+ * Many more code cleanups, fixes, and improvements to memory handling
1993
+ and protocol parsing.
1994
+
1995
+ * Added RSA-PSS and RSA-OAEP methods from OpenSSL 1.1.1.
1996
+
1997
+ * Ported Cryptographic Message Syntax (CMS) implementation from OpenSSL
1998
+ 1.1.1 and enabled by default.
1999
+
2000
+ * Improved compatibility by backporting functionality and documentation
2001
+ from OpenSSL 1.1.1.
2002
+
2003
+ * Added many new additional crypto test vectors.
2004
+
2005
+ * Adjusted EVP_chacha20()'s behavior to match OpenSSL's semantics.
2006
+
2007
+ * Default CA bundle location is now configurable in portable builds.
2008
+
2009
+ * Added cms subcommand to openssl(1).
2010
+
2011
+ * Added -addext option to openssl(1) req subcommand.
2012
+
2013
+ 3.0.2 - Stable release
2014
+
2015
+ * Use a valid curve when constructing an EC_KEY that looks like X25519.
2016
+ The recent EC group cofactor change results in stricter validation,
2017
+ which causes the EC_GROUP_set_generator() call to fail.
2018
+ Issue reported and fix tested by rsadowski@
2019
+
2020
+ * Fixed a padding oracle in PKCS7_dataDecode and CMS_decrypt_set1_pkey.
2021
+ (Note that the CMS code is currently disabled)
2022
+ Port of Edlinger's Fix for CVE-2019-1563 from OpenSSL 1.1.1 (old license)
2023
+
2024
+ * Avoid a path traversal bug in s_server on Windows when run with the -WWW
2025
+ or -HTTP options, due to incomplete path check logic.
2026
+ Issue reported and fix tested by Jobert Abma
2027
+
2028
+ 3.0.1 - Development release
2029
+
2030
+ * Ported Billy Brumley's fix for CVE-2019-1547 in OpenSSL 1.1.1. If a NULL
2031
+ or zero cofactor is passed to EC_GROUP_set_generator(), try to compute
2032
+ it using Hasse's bound. This works as long as the cofactor is small
2033
+ enough.
2034
+
2035
+ * Fixed a memory leak in error paths for eckey_type2param().
2036
+
2037
+ * Initial work on supporting Cryptographic Message Syntax (CMS) in
2038
+ libcrypto (not enabled).
2039
+
2040
+ * Various manual page improvements and additions.
2041
+
2042
+ * Added a CMake check for an existing uninstall target, facilitating
2043
+ embedding LibreSSL in larger CMake projects, from Matthew Albrecht.
2044
+
2045
+ 3.0.0 - Development release
2046
+
2047
+ * Completed the port of RSA_METHOD accessors from the OpenSSL 1.1 API.
2048
+
2049
+ * Documented undescribed options and removed unfunctional options
2050
+ description in openssl(1) manual.
2051
+
2052
+ * A plethora of small fixes due to regular oss-fuzz testing.
2053
+
2054
+ * Various side channels in DSA and ECDSA were addressed. These are some of
2055
+ the many issues found in an extensive systematic analysis of bignum usage
2056
+ by Samuel Weiser, David Schrammel et al.
2057
+
2058
+ * Enabled openssl(1) speed subcommand on Windows platform.
2059
+
2060
+ * Enabled performance optimizations when building with Visual Studio on Windows.
2061
+
2062
+ * Fixed incorrect carry operation in 512 addition for Streebog.
2063
+
2064
+ * Fixed -modulus option with openssl(1) dsa subcommand.
2065
+
2066
+ * Fixed PVK format output issue with openssl(1) dsa and rsa subcommand.
2067
+
2068
+ 2.9.2 - Bug fixes
2069
+
2070
+ * Fixed portable builds with older versions of MacOS,
2071
+ Android targets < API 21, and Solaris 10
2072
+
2073
+ * Fixed SRTP profile advertisement for DTLS servers.
2074
+
2075
+ 2.9.1 - Stable release
2076
+
2077
+ * Added support for XChaCha20 and XChaCha20-Poly1305.
2078
+
2079
+ * Added support for AES key wrap constructions via the EVP interface.
2080
+
2081
+ * Partial port of the OpenSSL EC_KEY_METHOD API for use by OpenSSH.
2082
+
2083
+ * Added pbkdf2 key derivation support to openssl(1)
2084
+
2085
+ * Removed SHA224 based handshake signatures from consideration for use in a TLS 1.2 handshake.
2086
+
2087
+ * Changed the default digest type of openssl(1) enc to to sha256.
2088
+
2089
+ * Changed the default digest type of openssl(1) dgst to sha256.
2090
+
2091
+ * Changed the default digest type of openssl(1) x509 -fingerprint to sha256.
2092
+
2093
+ * Changed the default digest type of openssl(1) crl -fingerprint to sha256.
2094
+
2095
+ * Improved Windows, Android, and ARM compatibility, including assembly
2096
+ optimizations on Mingw-w64 targets.
2097
+
2098
+ 2.9.0 - Development release
2099
+
2100
+ * Added the SM4 block cipher from the Chinese standard GB/T 32907-2016.
2101
+
2102
+ * Fixed warnings about clock_gettime on Windows Visual Studio builds.
2103
+
2104
+ * Fixed CMake builds on systems where getpagesize is defined as an
2105
+ inline function.
2106
+
2107
+ * CRYPTO_LOCK is now automatically initialized, with the legacy
2108
+ callbacks stubbed for compatibility.
2109
+
2110
+ * Added the SM3 hash function from the Chinese standard GB/T 32905-2016.
2111
+
2112
+ * Added more OPENSSL_NO_* macros for compatibility with OpenSSL.
2113
+
2114
+ * Added extensive interoperability tests between LibreSSL and OpenSSL
2115
+ 1.0 and 1.1.
2116
+
2117
+ * Added additional Wycheproof tests and related bug fixes.
2118
+
2119
+ * Simplified sigalgs option processing and handshake signing algorithm
2120
+
2121
+ * Added the ability to use the RSA PSS algorithm for handshake
2122
+ signatures.
2123
+
2124
+ * Added bn_rand_interval() and use it in code needing ranges of random
2125
+ bn values.
2126
+
2127
+ * Added functionality to derive early, handshake, and application
2128
+ secrets as per RFC8446.
2129
+
2130
+ * Added handshake state machine from RFC8446.
2131
+
2132
+ * Removed some ASN.1 related code from libcrypto that had not been used
2133
+ since around 2000.
2134
+
2135
+ * Unexported internal symbols and internalized more record layer structs.
2136
+
2137
+ * Added support for assembly optimizations on 32-bit ARM ELF targets.
2138
+
2139
+ * Improved protection against timing side channels in ECDSA signature
2140
+ generation.
2141
+
2142
+ * Coordinate blinding was added to some elliptic curves. This is the
2143
+ last bit of the work by Brumley et al. to protect against the
2144
+ Portsmash vulnerability.
2145
+
2146
+ * Ensure transcript handshake is always freed with TLS 1.2.
2147
+
2148
+ 2.8.2 - Stable release
2149
+
2150
+ * Added Wycheproof support for ECDH and ECDSA Web Crypto test vectors,
2151
+ along with test harness fixes.
2152
+
2153
+ * Fixed memory leak in nc(1)
2154
+
2155
+ 2.8.1 - Test and compatibility improvements
2156
+
2157
+ * Added Wycheproof support for ECDH, RSASSA-PSS, AES-GCM,
2158
+ AES-CMAC, AES-CCM, AES-CBC-PKCS5, DSA, ChaCha20-Poly1305, ECDSA, and
2159
+ X25519 test vectors. Applied appropriate fixes for errors uncovered
2160
+ by tests.
2161
+
2162
+ * Simplified key exchange signature generation and verification.
2163
+
2164
+ * Fixed a one-byte buffer overrun in callers of EVP_read_pw_string
2165
+
2166
+ * Converted more code paths to use CBB/CBS. All handshake messages are
2167
+ now created by CBB.
2168
+
2169
+ * Fixed various memory leaks found by Coverity.
2170
+
2171
+ * Simplified session ticket parsing and handling, inspired by
2172
+ BoringSSL.
2173
+
2174
+ * Modified signature of CRYPTO_mem_leaks_* to return -1. This function
2175
+ is a no-op in LibreSSL, so this function returns an error to not
2176
+ indicate the (non-)existence of memory leaks.
2177
+
2178
+ * SSL_copy_session_id, PEM_Sign, EVP_EncodeUpdate, BIO_set_cipher,
2179
+ X509_OBJECT_up_ref_count now return an int for error handling,
2180
+ matching OpenSSL.
2181
+
2182
+ * Converted a number of #defines into proper functions, matching
2183
+ OpenSSL's ABI.
2184
+
2185
+ * Added X509_get0_serialNumber from OpenSSL.
2186
+
2187
+ * Removed EVP_PKEY2PKCS8_broken and PKCS8_set_broken, while adding
2188
+ PKCS8_pkey_add1_attr_by_NID and PKCS8_pkey_get0_attrs, matching
2189
+ OpenSSL.
2190
+
2191
+ * Removed broken pkcs8 formats from openssl(1).
2192
+
2193
+ * Converted more functions in public API to use const arguments.
2194
+
2195
+ * Stopped handing AES-GCM in ssl_cipher_get_evp, since they use the
2196
+ EVP_AEAD interface.
2197
+
2198
+ * Stopped using composite EVP_CIPHER AEADs.
2199
+
2200
+ * Added timing-safe compares for checking results of signature
2201
+ verification. There are no known attacks, this is just inexpensive
2202
+ prudence.
2203
+
2204
+ * Correctly clear the current cipher state, when changing cipher state.
2205
+ This fixed an issue where renegotiation of cipher suites would fail
2206
+ when switched from AEAD to non-AEAD or vice-versa.
2207
+ Issue reported by Bernard Spil.
2208
+
2209
+ * Added more cipher tests to appstest.sh, including all TLSv1.2
2210
+ ciphers.
2211
+
2212
+ * Added RSA_meth_get_finish() RSA_meth_set1_name() from OpenSSL.
2213
+
2214
+ * Added new EVP_CIPHER_CTX_(get|set)_iv() API that allows the IV to be
2215
+ retrieved and set with appropriate validation.
2216
+
2217
+ 2.8.0 - Bug fixes, security, and compatibility improvements
2218
+
2219
+ * Extensive documentation updates and additional API history.
2220
+
2221
+ * Fixed a pair of 20+ year-old bugs in X509_NAME_add_entry
2222
+
2223
+ * Tighten up checks for various X509_VERIFY_PARAM functions,
2224
+ 'poisoning' parameters so that an unverified certificate cannot be
2225
+ used if it fails verification.
2226
+
2227
+ * Fixed a potential memory leak on failure in ASN1_item_digest
2228
+
2229
+ * Fixed a potential memory alignment crash in asn1_item_combine_free
2230
+
2231
+ * Removed unused SSL3_FLAGS_DELAY_CLIENT_FINISHED and
2232
+ SSL3_FLAGS_POP_BUFFER flags in write path, simplifying IO paths.
2233
+
2234
+ * Removed SSL_OP_TLS_ROLLBACK_BUG buggy client workarounds.
2235
+
2236
+ * Made ENGINE_finish and ENGINE_free succeed on NULL and simplify callers
2237
+ and matching OpenSSL behavior, rewrote ENGINE_* documentation.
2238
+
2239
+ * Added const annotations to many existing APIs from OpenSSL, making
2240
+ interoperability easier for downstream applications.
2241
+
2242
+ * Fixed small timing side-channels in ecdsa_sign_setup and
2243
+ dsa_sign_setup.
2244
+
2245
+ * Documented security pitfalls with BN_FLG_CONSTTIME and constant-time
2246
+ operation of BN_* functions.
2247
+
2248
+ * Updated BN_clear to use explicit_bzero.
2249
+
2250
+ * Added a missing bounds check in c2i_ASN1_BIT_STRING.
2251
+
2252
+ * More CBS conversions, including simplifications to RSA key exchange,
2253
+ and converted code to use dedicated buffers for secrets.
2254
+
2255
+ * Removed three remaining single DES cipher suites.
2256
+
2257
+ * Fixed a potential leak/incorrect return value in DSA signature
2258
+ generation.
2259
+
2260
+ * Added a blinding value when generating DSA and ECDSA signatures, in
2261
+ order to reduce the possibility of a side-channel attack leaking the
2262
+ private key.
2263
+
2264
+ * Added ECC constant time scalar multiplication support.
2265
+ From Billy Brumley and his team at Tampere University of Technology.
2266
+
2267
+ * Revised the implementation of RSASSA-PKCS1-v1_5 to match the
2268
+ specification in RFC 8017. Based on an OpenSSL commit by David
2269
+ Benjamin.
2270
+
2271
+ * Cleaned up BN_* implementations following changes made in OpenSSL by
2272
+ Davide Galassi and others.
2273
+
2274
+ 2.7.4 - Security fixes
2275
+
2276
+ * Avoid a timing side-channel leak when generating DSA and ECDSA
2277
+ signatures. This is caused by an attempt to do fast modular
2278
+ arithmetic, which introduces branches that leak information
2279
+ regarding secret values. Issue identified and reported by Keegan
2280
+ Ryan of NCC Group.
2281
+
2282
+ * Reject excessively large primes in DH key generation. Problem
2283
+ reported by Guido Vranken to OpenSSL
2284
+ (https://github.com/openssl/openssl/pull/6457) and based on his
2285
+ diff.
2286
+
2287
+ 2.7.3 - Bug fixes
2288
+
2289
+ * Removed incorrect NULL checks in DH_set0_key(). Reported by Ondrej
2290
+ Sury
2291
+
2292
+ * Fixed an issue normalizing CPU architecture in the configure script,
2293
+ which disabled assembly optimizations on platforms that get detected
2294
+ as 'amd64', opposed to 'x86_64'
2295
+
2296
+ * Limited tls_config_clear_keys() to only clear private keys.
2297
+ This was inadvertently clearing the keypair, which includes the OCSP
2298
+ staple and pubkey hash - if an application called tls_configure()
2299
+ followed by tls_config_clear_keys(), this would prevent OCSP staples
2300
+ from working.
2301
+
2302
+ 2.7.2 - Stable release
2303
+
2304
+ * Updated and added extensive new HISTORY sections to API manuals.
2305
+
2306
+ * Added support for shared library builds with CMake on all supported
2307
+ platforms. Note that some of the CMake options have changed, consult
2308
+ the README for details.
2309
+
2310
+ 2.7.1 - Bug fixes
2311
+
2312
+ * Fixed a bug in int_x509_param_set_hosts, calling strlen() if name
2313
+ length provided is 0 to match the OpenSSL behaviour. Issue noticed
2314
+ by Christian Heimes <christian@python.org>.
2315
+
2316
+ * Fixed builds macOS 10.11 and older.
2317
+
2318
+ 2.7.0 - Bug fixes and improvements
2319
+
2320
+ * Added support for many OpenSSL 1.0.2 and 1.1 APIs, based on
2321
+ observations of real-world usage in applications. These are
2322
+ implemented in parallel with existing OpenSSL 1.0.1 APIs - visibility
2323
+ changes have not been made to existing structs, allowing code written
2324
+ for older OpenSSL APIs to continue working.
2325
+
2326
+ * Extensive corrections, improvements, and additions to the
2327
+ API documentation, including new public APIs from OpenSSL that had
2328
+ no pre-existing documentation.
2329
+
2330
+ * Added support for automatic library initialization in libcrypto,
2331
+ libssl, and libtls. Support for pthread_once or a compatible
2332
+ equivalent is now required of the target operating system. As a
2333
+ side-effect, minimum Windows support is Vista or higher.
2334
+
2335
+ * Converted more packet handling methods to CBB, which improves
2336
+ resiliency when generating TLS messages.
2337
+
2338
+ * Completed TLS extension handling rewrite, improving consistency of
2339
+ checks for malformed and duplicate extensions.
2340
+
2341
+ * Rewrote ASN1_TYPE_{get,set}_octetstring() using templated ASN.1.
2342
+ This removes the last remaining use of the old M_ASN1_* macros
2343
+ (asn1_mac.h) from API that needs to continue to exist.
2344
+
2345
+ * Added support for client-side session resumption in libtls.
2346
+ A libtls client can specify a session file descriptor (a regular
2347
+ file with appropriate ownership and permissions) and libtls will
2348
+ manage reading and writing of session data across TLS handshakes.
2349
+
2350
+ * Improved support for strict alignment on ARMv7 architectures,
2351
+ conditionally enabling assembly in those cases.
2352
+
2353
+ * Fixed a memory leak in libtls when reusing a tls_config.
2354
+
2355
+ * Merged more DTLS support into the regular TLS code path, removing
2356
+ duplicated code.
2357
+
2358
+ * Many improvements to Windows Cmake-based builds and tests,
2359
+ especially when targeting Visual Studio.
2360
+
2361
+ 2.6.4 - Bug fixes
2362
+
2363
+ * Make tls_config_parse_protocols() work correctly when passed a NULL
2364
+ pointer for a protocol string. Issue found by semarie@, who also
2365
+ provided the diff.
2366
+
2367
+ * Correct TLS extensions handling when no extensions are present.
2368
+ If no TLS extensions are present in a client hello or server hello,
2369
+ omit the entire extensions block, rather than including it with a
2370
+ length of zero. Thanks to Eric Elena <eric at voguemerry dot com> for
2371
+ providing packet captures and testing the fix.
2372
+
2373
+ * Fixed portable builds on older Android systems, and systems with out
2374
+ IPV6_TCLASS support.
2375
+
2376
+ 2.6.3 - OpenBSD 6.2 Release
2377
+
2378
+ * No core changes from LibreSSL 2.6.2
2379
+
2380
+ * Minor compatibility fixes in portable version.
2381
+
2382
+ 2.6.2 - Bug fixes
2383
+
2384
+ * Provide a useful error with libtls if there are no OCSP URLs in a
2385
+ peer certificate.
2386
+
2387
+ * Keep track of which keypair is in use by a TLS context, fixing a bug
2388
+ where a TLS server with SNI would only return the OCSP staple for the
2389
+ default keypair. Issue reported by William Graeber and confirmed by
2390
+ Andreas Bartelt.
2391
+
2392
+ * Fixed various issues in the OCSP extension parsing code.
2393
+ The original code incorrectly passes the pointer allocated via
2394
+ CBS_stow() (using malloc()) to a d2i_*() function and then calls
2395
+ free() on the now incremented pointer, most likely resulting in a
2396
+ crash. This issue was reported by Robert Swiecki who found the issue
2397
+ using honggfuzz.
2398
+
2399
+ * If tls_config_parse_protocols() is called with a NULL pointer,
2400
+ return the default protocols instead of crashing - this makes the
2401
+ behaviour more useful and mirrors what we already do in
2402
+ tls_config_set_ciphers() et al.
2403
+
2404
+ 2.6.1 - Code removal, rewrites
2405
+
2406
+ * Added a "-T tlscompat" option to nc(1), which enables the use of all
2407
+ TLS protocols and "compat" ciphers. This allows for TLS connections
2408
+ to TLS servers that are using less than ideal cipher suites, without
2409
+ having to resort to "-T tlsall" which enables all known cipher
2410
+ suites. Diff from Kyle J. McKay.
2411
+
2412
+ * Added a new TLS extension handling framework, somewhat analogous to
2413
+ BoringSSL, and converted all TLS extensions to use it. Added new TLS
2414
+ extension regression tests.
2415
+
2416
+ * Improved and added many new manpages. Updated *check_private_key
2417
+ manpages with additional cautions regarding their use.
2418
+
2419
+ * Cleaned up the EC key/curve configuration handling.
2420
+
2421
+ * Added tls_config_set_ecdhecurves() to libtls, which allows the names
2422
+ of the eliptical curves that may be used during client and server
2423
+ key exchange to be specified.
2424
+
2425
+ * Converted more code paths to use CBB/CBS.
2426
+
2427
+ * Removed support for DSS/DSA, since we removed the cipher suites a
2428
+ while back.
2429
+
2430
+ * Removed NPN support. NPN was never standardised and the last draft
2431
+ expired in October 2012. ALPN was standardised in July 2014 and has
2432
+ been supported in LibreSSL since December 2014. NPN has also been
2433
+ removed from Chromium in May 2016.
2434
+
2435
+ * Removed SSL_OP_CRYPTOPRO_TLSEXT_BUG workaround for old/broken
2436
+ CryptoPro clients.
2437
+
2438
+ * Removed support for the TLS padding extension, which was added as a
2439
+ workaround for an old bug in F5's TLS termination.
2440
+
2441
+ * Worked around another bug in F5's TLS termination handling of the
2442
+ elliptical curves extension. RFC 4492 only defines elliptic_curves
2443
+ for ClientHello. However, F5 is sending it in ServerHello. We need
2444
+ to skip over it since our TLS extension parsing code is now more
2445
+ strict. Thanks to Armin Wolfermann and WJ Liu for reporting.
2446
+
2447
+ * Added ability to clamp notafter valies in certificates for systems
2448
+ with 32-bit time_t. This is necessary to conform to RFC 5280
2449
+ 4.1.2.5.
2450
+
2451
+ * Implemented the SSL_CTX_set_min_proto_version(3) API.
2452
+
2453
+ * Removed the original (pre-IETF) chacha20-poly1305 cipher suites.
2454
+
2455
+ * Reclassified ECDHE-RSA-DES-CBC3-SHA from HIGH to MEDIUM.
2456
+
2457
+ 2.6.0 - New APIs, bug fixes and improvements
2458
+
2459
+ * Added support for providing CRLs to libtls. Once a CRL is provided we
2460
+ enable CRL checking for the full certificate chain. Based on a diff
2461
+ from Jack Burton
2462
+
2463
+ * Allow non-compliant clients using IP literal addresses with SNI
2464
+ to connect to a server using libtls.
2465
+
2466
+ * Avoid a potential NULL pointer dereference in d2i_ECPrivateKey().
2467
+ Reported by Robert Swiecki, who found the issue using honggfuzz.
2468
+
2469
+ * Added definitions for three OIDs used in EV certificates.
2470
+ From Kyle J. McKay
2471
+
2472
+ * Added tls_peer_cert_chain_pem to libtls, useful in private
2473
+ certificate validation callbacks such as those in relayd.
2474
+
2475
+ * Converted explicit clear/free sequences to use freezero(3).
2476
+
2477
+ * Reworked TLS certificate name verification code to more strictly
2478
+ follow RFC 6125.
2479
+
2480
+ * Cleaned up and simplified server key exchange EC point handling.
2481
+
2482
+ * Added tls_keypair_clear_key for clearing key material.
2483
+
2484
+ * Removed inconsistent IPv6 handling from BIO_get_accept_socket,
2485
+ simplified BIO_get_host_ip and BIO_accept.
2486
+
2487
+ * Fixed the openssl(1) ca command so that is generates certificates
2488
+ with RFC 5280-conformant time. Problem noticed by Harald Dunkel.
2489
+
2490
+ * Added ASN1_TIME_set_tm to set an asn1 from a struct tm *
2491
+
2492
+ * Added SSL{,_CTX}_set_{min,max}_proto_version() functions.
2493
+
2494
+ * Added HKDF (HMAC Key Derivation Function) from BoringSSL
2495
+
2496
+ * Provided a tls_unload_file() function that frees the memory returned
2497
+ from a tls_load_file() call, ensuring that it the contents become
2498
+ inaccessible. This is specifically needed on platforms where the
2499
+ library allocators may be different from the application allocator.
2500
+
2501
+ * Perform reference counting for tls_config. This allows
2502
+ tls_config_free() to be called as soon as it has been passed to the
2503
+ final tls_configure() call, simplifying lifetime tracking for the
2504
+ application.
2505
+
2506
+ * Moved internal state of SSL and other structures to be opaque.
2507
+
2508
+ * Dropped cipher suites with DSS authentication.
2509
+
2510
+ * nc(1) improvements, including:
2511
+ nc -W to terminate nc after receiving a number of packets
2512
+ nc -Z for saving the peer certificate and chain in a pem file
2513
+
2514
+ 2.5.5 - Bug fixes
2515
+
2516
+ * Distinguish between self-issued certificates and self-signed
2517
+ certificates. The certificate verification code has special cases
2518
+ for self-signed certificates and without this change, self-issued
2519
+ certificates (which it seems are common place with
2520
+ openvpn/easyrsa) were also being included in this category.
2521
+
2522
+ * Added getpagesize fallback, needed for Android bionic libc.
2523
+
2524
+ 2.5.4 - Security Updates
2525
+
2526
+ * Revert a previous change that forced consistency between return
2527
+ value and error code when specifing a certificate verification
2528
+ callback, since this breaks the documented API. When a user supplied
2529
+ callback always returns 1, and later code checks the error code to
2530
+ potentially abort post verification, this will result in incorrect
2531
+ successul certificate verification.
2532
+
2533
+ * Switched Linux getrandom() usage to non-blocking mode, continuing to
2534
+ use fallback mechanims if unsuccessful. This works around a design
2535
+ flaw in Linux getrandom(2) where early boot usage in a library makes
2536
+ it impossible to recover if getrandom(2) is not yet initialized.
2537
+
2538
+ * Fixed a bug caused by the return value being set early to signal
2539
+ successful DTLS cookie validation. This can mask a later failure and
2540
+ result in a positive return value being returned from
2541
+ ssl3_get_client_hello(), when it should return a negative value to
2542
+ propagate the error.
2543
+
2544
+ * Fixed a build error on non-x86/x86_64 systems running Solaris.
2545
+
2546
+ 2.5.3 - OpenBSD 6.1 Release
2547
+
2548
+ * Documentation updates
2549
+
2550
+ * Improved ocspcheck(1) error handling
2551
+
2552
+ 2.5.2 - Security features and bugfixes
2553
+
2554
+ * Added the recallocarray(3) memory allocation function, and converted
2555
+ various places in the library to use it, such as CBB and BUF_MEM_grow.
2556
+ recallocarray(3) is similar to reallocarray. Newly allocated memory
2557
+ is cleared similar to calloc(3). Memory that becomes unallocated
2558
+ while shrinking or moving existing allocations is explicitly
2559
+ discarded by unmapping or clearing to 0
2560
+
2561
+ * Added new root CAs from SECOM Trust Systems / Security Communication
2562
+ of Japan.
2563
+
2564
+ * Added EVP interface for MD5+SHA1 hashes.
2565
+
2566
+ * Fixed DTLS client failures when the server sends a certificate
2567
+ request.
2568
+
2569
+ * Correct handling of padding when upgrading an SSLv2 challenge into
2570
+ an SSLv3/TLS connection.
2571
+
2572
+ * Allow protocols and ciphers to be set on a TLS config object in
2573
+ libtls.
2574
+
2575
+ * Improved nc(1) TLS handshake CPU usage and server-side error
2576
+ reporting.
2577
+
2578
+ 2.5.1 - Bug and security fixes, new features, documentation updates
2579
+
2580
+ * X509_cmp_time() now passes a malformed GeneralizedTime field as an
2581
+ error. Reported by Theofilos Petsios.
2582
+
2583
+ * Detect zero-length encrypted session data early, instead of when
2584
+ malloc(0) fails or the HMAC check fails. Noted independently by
2585
+ jsing@ and Kurt Cancemi.
2586
+
2587
+ * Check for and handle failure of HMAC_{Update,Final} or
2588
+ EVP_DecryptUpdate().
2589
+
2590
+ * Massive update and normalization of manpages, conversion to
2591
+ mandoc format. Many pages were rewritten for clarity and accuracy.
2592
+ Portable doc links are up-to-date with a new conversion tool.
2593
+
2594
+ * Curve25519 Key Exchange support.
2595
+
2596
+ * Support for alternate chains for certificate verification.
2597
+
2598
+ * Code cleanups, CBS conversions, further unification of DTLS/SSL
2599
+ handshake code, further ASN1 macro expansion and removal.
2600
+
2601
+ * Private symbol are now hidden in libssl and libcryto.
2602
+
2603
+ * Friendly certificate verification error messages in libtls, peer
2604
+ verification is now always enabled.
2605
+
2606
+ * Added OCSP stapling support to libtls and netcat.
2607
+
2608
+ * Added ocspcheck utility to validate a certificate against its OCSP
2609
+ responder and save the reply for stapling
2610
+
2611
+ * Enhanced regression tests and error handling for libtls.
2612
+
2613
+ * Added explicit constant and non-constant time BN functions,
2614
+ defaulting to constant time wherever possible.
2615
+
2616
+ * Moved many leaked implementation details in public structs behind
2617
+ opaque pointers.
2618
+
2619
+ * Added ticket support to libtls.
2620
+
2621
+ * Added support for setting the supported EC curves via
2622
+ SSL{_CTX}_set1_groups{_list}() - also provide defines for the previous
2623
+ SSL{_CTX}_set1_curves{_list} names. This also changes the default
2624
+ list of curves to be X25519, P-256 and P-384. All other curves must
2625
+ be manually enabled.
2626
+
2627
+ * Added -groups option to openssl(1) s_client for specifying the curves
2628
+ to be used in a colon-separated list.
2629
+
2630
+ * Merged client/server version negotiation code paths into one,
2631
+ reducing much duplicate code.
2632
+
2633
+ * Removed error function codes from libssl and libcrypto.
2634
+
2635
+ * Fixed an issue where a truncated packet could crash via an OOB read.
2636
+
2637
+ * Added SSL_OP_NO_CLIENT_RENEGOTIATION option that disallows
2638
+ client-initiated renegotiation. This is the default for libtls
2639
+ servers.
2640
+
2641
+ * Avoid a side-channel cache-timing attack that can leak the ECDSA
2642
+ private keys when signing. This is due to BN_mod_inverse() being
2643
+ used without the constant time flag being set. Reported by Cesar
2644
+ Pereida Garcia and Billy Brumley (Tampere University of Technology).
2645
+ The fix was developed by Cesar Pereida Garcia.
2646
+
2647
+ * iOS and MacOS compatibility updates from Simone Basso and Jacob
2648
+ Berkman.
2649
+
2650
+
2651
+ 2.5.0 - New APIs, bug fixes and improvements
2652
+
2653
+ * libtls now supports ALPN and SNI
2654
+
2655
+ * libtls adds a new callback interface for integrating custom IO
2656
+ functions. Thanks to Tobias Pape.
2657
+
2658
+ * libtls now handles 4 cipher suite groups:
2659
+ "secure" (TLSv1.2+AEAD+PFS)
2660
+ "compat" (HIGH:!aNULL)
2661
+ "legacy" (HIGH:MEDIUM:!aNULL)
2662
+ "insecure" (ALL:!aNULL:!eNULL)
2663
+
2664
+ This allows for flexibility and finer grained control, rather than
2665
+ having two extremes (an issue raised by Marko Kreen some time ago).
2666
+
2667
+ * Tightened error handling for tls_config_set_ciphers().
2668
+
2669
+ * libtls now always loads CA, key and certificate files at the time the
2670
+ configuration function is called. This simplifies code and results in
2671
+ a single memory based code path being used to provide data to libssl.
2672
+
2673
+ * Add support for OCSP intermediate certificates.
2674
+
2675
+ * Added functions used by stunnel and exim from BoringSSL - this
2676
+ brings in X509_check_host, X509_check_email, X509_check_ip, and
2677
+ X509_check_ip_asc.
2678
+
2679
+ * Added initial support for iOS, thanks to Jacob Berkman.
2680
+
2681
+ * Improved behavior of arc4random on Windows when using memory leak
2682
+ analysis software.
2683
+
2684
+ * Correctly handle an EOF that occurs prior to the TLS handshake
2685
+ completing. Reported by Vasily Kolobkov, based on a diff from Marko
2686
+ Kreen.
2687
+
2688
+ * Limit the support of the "backward compatible" ssl2 handshake to
2689
+ only be used if TLS 1.0 is enabled.
2690
+
2691
+ * Fix incorrect results in certain cases on 64-bit systems when
2692
+ BN_mod_word() can return incorrect results. BN_mod_word() now can
2693
+ return an error condition. Thanks to Brian Smith.
2694
+
2695
+ * Added constant-time updates to address CVE-2016-0702
2696
+
2697
+ * Fixed undefined behavior in BN_GF2m_mod_arr()
2698
+
2699
+ * Removed unused Cryptographic Message Support (CMS)
2700
+
2701
+ * More conversions of long long idioms to time_t
2702
+
2703
+ * Improved compatibility by avoiding printing NULL strings with
2704
+ printf.
2705
+
2706
+ * Reverted change that cleans up the EVP cipher context in
2707
+ EVP_EncryptFinal() and EVP_DecryptFinal(). Some software relies on the
2708
+ previous behaviour.
2709
+
2710
+ * Avoid unbounded memory growth in libssl, which can be triggered by a
2711
+ TLS client repeatedly renegotiating and sending OCSP Status Request
2712
+ TLS extensions.
2713
+
2714
+ * Avoid falling back to a weak digest for (EC)DH when using SNI with
2715
+ libssl.
2716
+
2717
+ 2.4.2 - Bug fixes and improvements
2718
+
2719
+ * Fixed loading default certificate locations with openssl s_client.
2720
+
2721
+ * Ensured OCSP only uses and compares GENERALIZEDTIME values as per
2722
+ RFC6960. Also added fixes for OCSP to work with intermediate
2723
+ certificates provided in responses.
2724
+
2725
+ * Improved behavior of arc4random on Windows to not appear to leak
2726
+ memory in debug tools, reduced privileges of allocated memory.
2727
+
2728
+ * Fixed incorrect results from BN_mod_word() when the modulus is too
2729
+ large, thanks to Brian Smith from BoringSSL.
2730
+
2731
+ * Correctly handle an EOF prior to completing the TLS handshake in
2732
+ libtls.
2733
+
2734
+ * Improved libtls ceritificate loading and cipher string validation.
2735
+
2736
+ * Updated libtls cipher group suites into four categories:
2737
+ "secure" (TLSv1.2+AEAD+PFS)
2738
+ "compat" (HIGH:!aNULL)
2739
+ "legacy" (HIGH:MEDIUM:!aNULL)
2740
+ "insecure" (ALL:!aNULL:!eNULL)
2741
+ This allows for flexibility and finer grained control, rather than
2742
+ having two extremes.
2743
+
2744
+ * Limited support for 'backward compatible' SSLv2 handshake packets to
2745
+ when TLS 1.0 is enabled, providing more restricted compatibility
2746
+ with TLS 1.0 clients.
2747
+
2748
+ * openssl(1) and other documentation improvements.
2749
+
2750
+ * Removed flags for disabling constant-time operations.
2751
+ This removes support for DSA_FLAG_NO_EXP_CONSTTIME,
2752
+ DH_FLAG_NO_EXP_CONSTTIME, and RSA_FLAG_NO_CONSTTIME flags, making
2753
+ all of these operations unconditionally constant-time.
2754
+
2755
+
2756
+ 2.4.1 - Security fix
2757
+
2758
+ * Correct a problem that prevents the DSA signing algorithm from
2759
+ running in constant time even if the flag BN_FLG_CONSTTIME is set.
2760
+ This issue was reported by Cesar Pereida (Aalto University), Billy
2761
+ Brumley (Tampere University of Technology), and Yuval Yarom (The
2762
+ University of Adelaide and NICTA). The fix was developed by Cesar
2763
+ Pereida.
2764
+
2765
+ 2.4.0 - Build improvements, new features
2766
+
2767
+ * Many improvements to the CMake build infrastructure, including
2768
+ Solaris, mingw-w64, Cygwin, and HP-UX support. Thanks to Kinichiro
2769
+ Inoguchi for this work.
2770
+
2771
+ * Added missing error handling around bn_wexpand() calls.
2772
+
2773
+ * Added explicit_bzero calls for freed ASN.1 objects.
2774
+
2775
+ * Fixed X509_*set_object functions to return 0 on allocation failure.
2776
+
2777
+ * Implemented the IETF ChaCha20-Poly1305 cipher suites.
2778
+
2779
+ * Changed default EVP_aead_chacha20_poly1305() implementation to the
2780
+ IETF version, which is now the default.
2781
+
2782
+ * Fixed password prompts from openssl(1) to properly handle ^C.
2783
+
2784
+ * Reworked error handling in libtls so that configuration errors are
2785
+ visible.
2786
+
2787
+ * Deprecated internal use of EVP_[Cipher|Encrypt|Decrypt]_Final.
2788
+
2789
+ * Manpage fixes and updates
2790
+
2791
+ 2.3.5 - Reliability fix
2792
+
2793
+ * Fixed an error in libcrypto when parsing some ASN.1 elements > 16k.
2794
+
2795
+ 2.3.4 - Security Update
2796
+
2797
+ * Fix multiple vulnerabilities in libcrypto relating to ASN.1 and encoding.
2798
+ From OpenSSL.
2799
+
2800
+ * Minor build fixes
2801
+
2802
+ 2.3.3 - OpenBSD 5.9 release branch tagged
2803
+
2804
+ * Reworked build scripts to better sync with OpenNTPD-portable
2805
+
2806
+ * Fixed broken manpage links
2807
+
2808
+ * Fixed an nginx compatibility issue by adding an 'install_sw' make alias
2809
+
2810
+ * Fixed HP-UX builds
2811
+
2812
+ * Changed the default configuration directory to c:\LibreSSL\ssl on Windows
2813
+ binary builds
2814
+
2815
+ * cert.pem has been reorganized and synced with Mozilla's certificate store
2816
+
2817
+ 2.3.2 - Compatibility and Reliability fixes
2818
+
2819
+ * Changed format of LIBRESSL_VERSION_NUMBER to match that of
2820
+ OPENSSL_VERSION_NUMBER, see:
2821
+ https://wiki.openssl.org/index.php/Manual:OPENSSL_VERSION_NUMBER(3)
2822
+
2823
+ * Added EVP_aead_chacha20_poly1305_ietf() which matches the AEAD
2824
+ construction introduced in RFC 7539, which is different than that
2825
+ already used in TLS with EVP_aead_chacha20_poly1305()
2826
+
2827
+ * Avoid a potential undefined C99+ behavior due to shift overflow in
2828
+ AES_decrypt, reported by Pascal Cuoq <cuoq at trust-in-soft.com>
2829
+
2830
+ * More man pages converted from pod to mdoc format
2831
+
2832
+ * Added COMODO RSA Certification Authority and QuoVadis
2833
+ root certificates to cert.pem
2834
+
2835
+ * Removed Remove "C=US, O=VeriSign, Inc., OU=Class 3 Public Primary Certification
2836
+ Authority" (serial 3c:91:31:cb:1f:f6:d0:1b:0e:9a:b8:d0:44:bf:12:be) root
2837
+ certificate from cert.pem
2838
+
2839
+ * Added support for building nc(1) on Solaris
2840
+
2841
+ * Fixed GCC 5.x+ preprocessor checks, reported by Ruslan Babayev
2842
+
2843
+ * Improved console handling with openssl(1) on Windows
2844
+
2845
+ * Ensure the network stack is enabled on Windows when running
2846
+ tls_init()
2847
+
2848
+ * Fixed incorrect TLS certificate loading by nc(1)
2849
+
2850
+ * Added support for Solaris 11.3's getentropy(2) system call
2851
+
2852
+ * Enabled support for using NetBSD 7.0's arc4random(3) implementation
2853
+
2854
+ * Deprecated the SSL_OP_SINGLE_DH_USE flag by disabling its effect
2855
+
2856
+ * Fixes from OpenSSL 1.0.1q
2857
+ - CVE-2015-3194 - NULL pointer dereference in client side certificate
2858
+ validation.
2859
+ - CVE-2015-3195 - Memory leak in PKCS7 - not reachable from TLS/SSL
2860
+
2861
+ * The following OpenSSL CVEs did not apply to LibreSSL
2862
+ - CVE-2015-3193 - Carry propagating bug in the x86_64 Montgomery
2863
+ squaring procedure.
2864
+ - CVE-2015-3196 - Double free race condition of the identify hint
2865
+ data.
2866
+
2867
+ See https://marc.info/?l=openbsd-announce&m=144925068504102
2868
+
2869
+ 2.3.1 - ASN.1 and time handling cleanups
2870
+
2871
+ * ASN.1 cleanups and RFC5280 compliance fixes.
2872
+
2873
+ * Time representations switched from 'unsigned long' to 'time_t'. LibreSSL
2874
+ now checks if the host OS supports 64-bit time_t.
2875
+
2876
+ * Fixed a leak in SSL_new in the error path.
2877
+
2878
+ * Support always extracting the peer cipher and version with libtls.
2879
+
2880
+ * Added ability to check certificate validity times with libtls,
2881
+ tls_peer_cert_notbefore and tls_peer_cert_notafter.
2882
+
2883
+ * Changed tls_connect_servername to use the first address that resolves with
2884
+ getaddrinfo().
2885
+
2886
+ * Remove broken conditional EVP_CHECK_DES_KEY code (non-functional since
2887
+ initial commit in 2004).
2888
+
2889
+ * Fixed a memory leak and out-of-bounds access in OBJ_obj2txt, reported
2890
+ by Qualys Security.
2891
+
2892
+ * Fixed an up-to 7 byte overflow in RC4 when len is not a multiple of
2893
+ sizeof(RC4_CHUNK), reported by Pascal Cuoq <cuoq at trust-in-soft.com>.
2894
+
2895
+ * Reject too small bits value in BN_generate_prime_ex(), so that it does
2896
+ not risk becoming negative in probable_prime_dh_safe(), reported by
2897
+ Franck Denis.
2898
+
2899
+ * Enable nc(1) builds on more platforms.
2900
+
2901
+ 2.3.0 - SSLv3 removed, libtls API changes, portability improvements
2902
+
2903
+ * SSLv3 is now permanently removed from the tree.
2904
+
2905
+ * The libtls API is changed from the 2.2.x series.
2906
+
2907
+ The read/write functions work correctly with external event
2908
+ libraries. See the tls_init man page for examples of using libtls
2909
+ correctly in asynchronous mode.
2910
+
2911
+ Client-side verification is now supported, with the client supplying
2912
+ the certificate to the server.
2913
+
2914
+ Also, when using tls_connect_fds, tls_connect_socket or
2915
+ tls_accept_fds, libtls no longer implicitly closes the passed in
2916
+ sockets. The caller is responsible for closing them in this case.
2917
+
2918
+ * When loading a DSA key from an raw (without DH parameters) ASN.1
2919
+ serialization, perform some consistency checks on its `p' and `q'
2920
+ values, and return an error if the checks failed.
2921
+
2922
+ Thanks for Georgi Guninski (guninski at guninski dot com) for
2923
+ mentioning the possibility of a weak (non prime) q value and
2924
+ providing a test case.
2925
+
2926
+ See
2927
+ https://cpunks.org/pipermail/cypherpunks/2015-September/009007.html
2928
+ for a longer discussion.
2929
+
2930
+ * Fixed a bug in ECDH_compute_key that can lead to silent truncation
2931
+ of the result key without error. A coding error could cause software
2932
+ to use much shorter keys than intended.
2933
+
2934
+ * Removed support for DTLS_BAD_VER. Pre-DTLSv1 implementations are no
2935
+ longer supported.
2936
+
2937
+ * The engine command and parameters are removed from the openssl(1).
2938
+ Previous releases removed dynamic and builtin engine support
2939
+ already.
2940
+
2941
+ * SHA-0 is removed, which was withdrawn shortly after publication 20
2942
+ years ago.
2943
+
2944
+ * Added Certplus CA root certificate to the default cert.pem file.
2945
+
2946
+ * New interface OPENSSL_cpu_caps is provided that does not allow
2947
+ software to inadvertently modify cpu capability flags.
2948
+ OPENSSL_ia32cap and OPENSSL_ia32cap_loc are removed.
2949
+
2950
+ * The out_len argument of AEAD changed from ssize_t to size_t.
2951
+
2952
+ * Deduplicated DTLS code, sharing bugfixes and improvements with
2953
+ TLS.
2954
+
2955
+ * Converted 'nc' to use libtls for client and server operations; it is
2956
+ included in the libressl-portable distribution as an example of how
2957
+ to use the library.
2958
+
2959
+ 2.2.3 - Bug fixes, build enhancements
2960
+
2961
+ * LibreSSL 2.2.2 incorrectly handles ClientHello messages that do not
2962
+ include TLS extensions, resulting in such handshakes being aborted.
2963
+ This release corrects the handling of such messages. Thanks to
2964
+ Ligushka from github for reporting the issue.
2965
+
2966
+ * Added install target for cmake builds. Thanks to TheNietsnie from
2967
+ github.
2968
+
2969
+ * Updated pkgconfig files to correctly report the release version
2970
+ number, not the individual library ABI version numbers. Thanks to
2971
+ Jan Engelhardt for reporting the issue.
2972
+
2973
+ 2.2.2 - More TLS parser rework, bug fixes, expanded portable build support
2974
+
2975
+ * Switched 'openssl dhparam' default from 512 to 2048 bits
2976
+
2977
+ * Reworked openssl(1) option handling
2978
+
2979
+ * More CRYPTO ByteString (CBC) packet parsing conversions
2980
+
2981
+ * Fixed 'openssl pkeyutl -verify' to exit with a 0 on success
2982
+
2983
+ * Fixed dozens of Coverity issues including dead code, memory leaks,
2984
+ logic errors and more.
2985
+
2986
+ * Ensure that openssl(1) restores terminal echo state after reading a
2987
+ password.
2988
+
2989
+ * Incorporated fix for OpenSSL Issue #3683
2990
+
2991
+ * LibreSSL version define LIBRESSL_VERSION_NUMBER will now be bumped
2992
+ for each portable release.
2993
+
2994
+ * Removed workarounds for TLS client padding bugs.
2995
+
2996
+ * No longer disable ECDHE-ECDSA on OS X
2997
+
2998
+ * Removed SSLv3 support from openssl(1)
2999
+
3000
+ * Removed IE 6 SSLv3 workarounds.
3001
+
3002
+ * Modified tls_write in libtls to allow partial writes, clarified with
3003
+ examples in the documentation.
3004
+
3005
+ * Removed RSAX engine
3006
+
3007
+ * Tested SSLv3 removal with the OpenBSD ports tree and found several
3008
+ applications that were not ready to build without SSLv3 yet. For
3009
+ now, building a program that intentionally uses SSLv3 will result in
3010
+ a linker warning.
3011
+
3012
+ * Added TLS_method, TLS_client_method and TLS_server_method as a
3013
+ replacement for the SSLv23_*method calls.
3014
+
3015
+ * Added initial cmake build support, including support for building with
3016
+ Visual Studio, currently tested with Visual Studio 2013 Community
3017
+ Edition.
3018
+
3019
+ * --with-enginesdir is removed as a configuration parameter
3020
+
3021
+ * Default cert.pem, openssl.cnf, and x509v3.cnf files are now
3022
+ installed under $sysconfdir/ssl or the directory specified by
3023
+ --with-openssldir. Previous versions of LibreSSL left these empty.
3024
+
3025
+ 2.2.1 - Build fixes, feature added, features removed
3026
+
3027
+ * Assorted build fixes for musl, HP-UX, Mingw, Solaris.
3028
+
3029
+ * Initial support for Windows Embedded 2009, Server 2003, XP
3030
+
3031
+ * Protocol parsing conversions to BoringSSL's CRYPTO ByteString (CBS) API
3032
+
3033
+ * Added EC_curve_nid2nist and EC_curve_nist2nid from OpenSSL
3034
+
3035
+ * Removed Dynamic Engine support
3036
+
3037
+ * Removed unused and obsolete MDC-2DES cipher
3038
+
3039
+ * Removed workarounds for obsolete SSL implementations
3040
+
3041
+ 2.2.0 - Build cleanups and new OS support, Security Updates
3042
+
3043
+ * AIX Support - thanks to Michael Felt
3044
+
3045
+ * Cygwin Support - thanks to Corinna Vinschen
3046
+
3047
+ * Refactored build macros, support packaging libtls independently.
3048
+ There are more pieces required to support building and using OpenSSL
3049
+ with libtls, but this is an initial start at providing an
3050
+ independent package for people to start hacking on.
3051
+
3052
+ * Removal of OPENSSL_issetugid and all library getenv calls.
3053
+ Applications can and should no longer rely on environment variables
3054
+ for changing library behavior. OPENSSL_CONF/SSLEAY_CONF is still
3055
+ supported with the openssl(1) command.
3056
+
3057
+ * libtls API and documentation additions
3058
+
3059
+ * Various bug fixes and simplifications to libssl and libcrypto
3060
+
3061
+ * Fixes for the following issues are integrated into LibreSSL 2.2.0:
3062
+ - CVE-2015-1788 - Malformed ECParameters causes infinite loop
3063
+ - CVE-2015-1789 - Exploitable out-of-bounds read in X509_cmp_time
3064
+ - CVE-2015-1792 - CMS verify infinite loop with unknown hash function
3065
+
3066
+ * The following CVEs did not apply to LibreSSL or were fixed in
3067
+ earlier releases:
3068
+ - CVE-2015-4000 - DHE man-in-the-middle protection (Logjam)
3069
+ - CVE-2015-1790 - PKCS7 crash with missing EnvelopedContent
3070
+ - CVE-2014-8176 - Invalid free in DTLS
3071
+
3072
+ * Fixes for the following CVEs are still in review for LibreSSL
3073
+ - CVE-2015-1791 - Race condition handling NewSessionTicket
3074
+
3075
+ 2.1.6 - Security update
3076
+
3077
+ * Fixes for the following issues are integrated into LibreSSL 2.1.6:
3078
+ - CVE-2015-0209 - Use After Free following d2i_ECPrivatekey error
3079
+ - CVE-2015-0286 - Segmentation fault in ASN1_TYPE_cmp
3080
+ - CVE-2015-0287 - ASN.1 structure reuse memory corruption
3081
+ - CVE-2015-0288 - X509_to_X509_REQ NULL pointer deref
3082
+ - CVE-2015-0289 - PKCS7 NULL pointer dereferences
3083
+
3084
+ * The fix for CVE-2015-0207 - Segmentation fault in DTLSv1_listen
3085
+ is integrated for safety, but LibreSSL is not vulnerable.
3086
+
3087
+ * Libtls is now built by default. The --enable-libtls
3088
+ configuration option is no longer required.
3089
+ The libtls API is now stable for the 2.1.x series.
3090
+
3091
+ 2.1.5 - Bug fixes and a security update
3092
+ * Fix incorrect comparison function in openssl(1) certhash command.
3093
+ Thanks to Christian Neukirchen / Void Linux.
3094
+
3095
+ * Windows port improvements and bug fixes.
3096
+ - Removed a dependency on libgcc in 32-bit dynamic libraries.
3097
+ - Correct a hang in openssl(1) reading from stdin on an connection.
3098
+ - Initialize winsock in openssl(1) earlier, allow 'openssl ocsp' and
3099
+ any other network-related commands to function properly.
3100
+
3101
+ * Reject all server DH keys smaller than 1024 bits.
3102
+
3103
+ 2.1.4 - Security and feature updates
3104
+ * Improvements to libtls:
3105
+ - a new API for loading CA chains directly from memory instead of a
3106
+ file, allowing verification with privilege separation in a chroot
3107
+ without direct access to CA certificate files.
3108
+
3109
+ - Ciphers default to TLSv1.2 with AEAD and PFS.
3110
+
3111
+ - Improved error handling and message generation
3112
+
3113
+ - New APIs and improved documentation
3114
+
3115
+ * Added X509_STORE_load_mem API for loading certificates from memory.
3116
+ This facilitates accessing certificates from a chrooted environment.
3117
+
3118
+ * New AEAD "MAC alias" allows configuring TLSv1.2 AEAD ciphers by
3119
+ using 'TLSv1.2+AEAD' as the cipher selection string.
3120
+
3121
+ * Dead and disabled code removal including MD5, Netscape workarounds,
3122
+ non-POSIX IO, SCTP, RFC 3779 support, many #if 0 sections, and more.
3123
+
3124
+ * ASN1 macro maze expanded to aid reading and searching the code.
3125
+
3126
+ * NULL pointer asserts removed in favor of letting the OS/signal
3127
+ handler catch them.
3128
+
3129
+ * Refactored argument handling in openssl(1) for consistency and
3130
+ maintainability.
3131
+
3132
+ * New openssl(1) command 'certhash' replaces the c_rehash script.
3133
+
3134
+ * Support for building with OPENSSL_NO_DEPRECATED
3135
+
3136
+ * Server-side support for TLS_FALLBACK_SCSV for compatibility with
3137
+ various auditor and vulnerability scanners.
3138
+
3139
+ * Dozens of issues found with the Coverity scanner fixed.
3140
+
3141
+ * Security Updates:
3142
+
3143
+ - Fix a minor information leak that was introduced in t1_lib.c
3144
+ r1.71, whereby an additional 28 bytes of .rodata (or .data) is
3145
+ provided to the network. In most cases this is a non-issue since
3146
+ the memory content is already public. Issue found and reported by
3147
+ Felix Groebert of the Google Security Team.
3148
+
3149
+ - Fixes for the following low-severity issues were integrated into
3150
+ LibreSSL from OpenSSL 1.0.1k:
3151
+
3152
+ CVE-2015-0205 - DH client certificates accepted without
3153
+ verification
3154
+ CVE-2014-3570 - Bignum squaring may produce incorrect results
3155
+ CVE-2014-8275 - Certificate fingerprints can be modified
3156
+ CVE-2014-3572 - ECDHE silently downgrades to ECDH [Client]
3157
+ Reported by Karthikeyan Bhargavan of the PROSECCO team at INRIA.
3158
+
3159
+ The following CVEs were fixed in earlier LibreSSL releases:
3160
+ CVE-2015-0206 - Memory leak handling repeated DLTS records
3161
+ CVE-2014-3510 - Flaw handling DTLS anonymous EC(DH) ciphersuites.
3162
+
3163
+ The following CVEs did not apply to LibreSSL:
3164
+ CVE-2014-3571 - DTLS segmentation fault in dtls1_get_record
3165
+ CVE-2014-3569 - no-ssl3 configuration sets method to NULL
3166
+ CVE-2015-0204 - RSA silently downgrades to EXPORT_RSA
3167
+
3168
+ 2.1.3 - Security update and OS support improvements
3169
+ * Fixed various memory leaks in DTLS, including fixes for
3170
+ CVE-2015-0206.
3171
+
3172
+ * Added Application-Layer Protocol Negotiation (ALPN) support.
3173
+
3174
+ * Removed GOST R 34.10-94 signature authentication.
3175
+
3176
+ * Removed nonfunctional Netscape browser-hang workaround code.
3177
+
3178
+ * Simplified and refactored SSL/DTLS handshake code.
3179
+
3180
+ * Added SHA256 Camellia cipher suites for TLS 1.2 from RFC 5932.
3181
+
3182
+ * Hide timing info about padding errors during handshakes.
3183
+
3184
+ * Improved libtls support for non-blocking sockets, added randomized
3185
+ session ID contexts. Work is ongoing with this library - feedback
3186
+ and potential use-cases are welcome.
3187
+
3188
+ * Support building Windows DLLs.
3189
+ Thanks to Jan Engelhard.
3190
+
3191
+ * Packaged config wrapper for better compatibility with OpenSSL-based
3192
+ build systems.
3193
+ Thanks to @technion from github
3194
+
3195
+ * Ensure the stack is marked non-executable for assembly sections.
3196
+ Thanks to Anthony G. Bastile.
3197
+
3198
+ * Enable extra compiler hardening flags by default, where applicable.
3199
+ The default set of hardening features can vary by OS to OS, so
3200
+ feedback is welcome on this. To disable the default hardening flags,
3201
+ specify '--disable-hardening' during configure.
3202
+ Thanks to Jim Barlow
3203
+
3204
+ * Initial HP-UX support, tested with HP-UX 11.31 ia64
3205
+ Thanks to Kinichiro Inoguchi
3206
+
3207
+ * Initial NetBSD support, tested with NetBSD 6.1.5 x86_64
3208
+ Imported from OpenNTPD, thanks to @gitisihara from github
3209
+
3210
+ 2.1.2 - Many new features and improvements
3211
+ * Added reworked GOST cipher suite support
3212
+ thanks to Dmitry Eremin-Solenikov
3213
+
3214
+ * Enabled Camellia ciphers due to improved patent situation
3215
+
3216
+ * Use builtin arc4random implementation on OS X and FreeBSD
3217
+ this addresses some deficiencies in the native implementations of
3218
+ these operating systems, see commit logs for more information
3219
+
3220
+ * Added initial Windows mingw-w64 support (32 and 64-bit)
3221
+ thanks to Song Dongsheng and others for code and feedback
3222
+
3223
+ * Enabled assembly optimizations on x86_64 CPUs
3224
+ supports Linux, *BSD, Solaris and OS X operating systems
3225
+ thanks to Wouter Clarie for the initial implementation
3226
+
3227
+ * Added no_ssl3/no_tls1_1/no_tls1_2 options to openssl(1)
3228
+
3229
+ * Improved build infrastructure, 'make distcheck' now passes
3230
+ this simplifies and speeds developer efficiency
3231
+ thanks to Dmitry Eremin-Solenikov and Wouter Clarie
3232
+
3233
+ * Allow conditional building of the libtls library
3234
+ expect the API and ABI of the library to change
3235
+ feedback is welcome
3236
+
3237
+ * Fixes for more memory leaks, cleanups, etc.
3238
+
3239
+ 2.1.1 - Security update
3240
+ * Address POODLE attack by disabling SSLv3 by default
3241
+
3242
+ * Fix Eliptical Curve cipher selection bug
3243
+ (https://github.com/libressl/portable/issues/35)
3244
+
3245
+ 2.1.0 - First release from the OpenBSD 5.7 tree
3246
+ * Added support for automatic ephemeral EC keys
3247
+
3248
+ * Fixes for many memory leaks and overflows in error handlers
3249
+
3250
+ * The TLS padding extension (that works around bugs in F5 terminators) is
3251
+ off by default
3252
+
3253
+ * support for getrandom(2) on Linux 3.17
3254
+
3255
+ * the NO_ASM macro is no longer being set, providing the first bits toward
3256
+ enabling other assembly offloads.
3257
+
3258
+ 2.0.5 - Fixes for CVEs from OpenSSL 1.0.1i
3259
+ * CVE-2014-3506
3260
+ * CVE-2014-3507
3261
+ * CVE-2014-3508 (partially vulnerable)he
3262
+ * CVE-2014-3509
3263
+ * CVE-2014-3510
3264
+ * CVE-2014-3511
3265
+ * Synced LibreSSL Portable with the release version of OpenBSD 5.6
3266
+
3267
+ 2.0.4 - Portability fixes, deleted unused SRP code
3268
+
3269
+ 2.0.3 - Portability fixes, improvements to fork detection
3270
+
3271
+ 2.0.2 - Address arc4random fork PID wraparound issues with pthread_atfork
3272
+
3273
+ 2.0.1 - Portability fixes:
3274
+ * Removed -Werror and and other non-portable compiler flags
3275
+
3276
+ * Allow setting OPENSSLDIR and ENGINSDIR
3277
+
3278
+ 2.0.0 - First release from the OpenBSD 5.6 tree
3279
+ * Removal of many obsolete features and coding conventions from the OpenSSL
3280
+ 1.0.1h source