Debian Codegraph @

debian/rust-vendor/openssl/CHANGELOG.md

raw
1 # Change Log
2
3 ## [Unreleased]
4
5 ## [v0.10.81] - 2026-06-12
6
7 ### Fixed
8
9 * `SslContextRef::verify_mode` and `SslRef::verify_mode` no longer panic when the verify mode contains bits not modeled by `SslVerifyMode`.
10
11 ### Added
12
13 * Added `SslVerifyMode::CLIENT_ONCE` and `SslVerifyMode::POST_HANDSHAKE`.
14 * Added `X509CrlBuilder` and `X509RevokedBuilder`, for building and signing CRLs, along with the `CrlNumber` extension builder.
15 * Added `Nid::BRAINPOOL_P224R1` and `Nid::BRAINPOOL_P224T1`.
16 * Added `Asn1StringRef::to_string`, which converts the string to UTF-8 without truncating at interior NUL bytes.
17
18 ### Changed
19
20 * Deprecated `Asn1StringRef::as_utf8`, which truncates at the first interior NUL byte, in favor of `Asn1StringRef::to_string`.
21
22 ## [v0.10.80] - 2026-05-16
23
24 ### Fixed
25
26 * Fixed a buffer overflow in `CipherCtxRef::cipher_update_inplace` when used with AES key-wrap-with-padding ciphers.
27
28 ## [v0.10.79] - 2026-05-03
29
30 ### Changed
31
32 * Bumped MSRV to 1.80.
33 * Removed the `once_cell` dependency in favor of `std::sync::{LazyLock, OnceLock}`.
34 * Deprecated `EcPointRef::mul`, `EcPointRef::mul_generator`, and `EcPointRef::invert` in favor of `mul2`, `mul_generator2`, and `invert2`, which take `&mut BigNumContextRef`. The deprecated methods accepted a shared reference despite mutating the `BN_CTX`, which was unsound under `Send + Sync`.
35
36 ### Added
37
38 * Added `EcGroupRef::generator_opt`, which returns `Option<&EcPointRef>`.
39 * Added `PKeyRef::seed_into`, which writes the algorithm-defined seed of an ML-DSA or ML-KEM private key into a caller-supplied buffer. The inverse of `PKey::private_key_from_seed`.
40 * Added `PKey::private_key_from_seed`, which constructs ML-DSA and ML-KEM private keypairs from a `seed` `OSSL_PARAM` via `EVP_PKEY_fromdata`. Requires OpenSSL 3.5 or newer at runtime.
41 * Added `PKeyRef::is_a` and the `KeyType` algorithm-name newtype, for identifying provider-supplied keys (such as ML-DSA) where `EVP_PKEY_id` returns `-1`.
42 * Added `PKey::public_key_from_raw_bytes_ex` and `PKey::private_key_from_raw_bytes_ex`, which take a `KeyType` and accept an optional library context and property query string. Required for provider-supplied algorithms with no associated `Id`, such as ML-DSA.
43 * Added `PkeyCtxRef::set_context_string`, which binds a context string to an ML-DSA signing or verification operation. Requires OpenSSL 3.5 or newer.
44 * Added `EcPointRef::mul2`, `EcPointRef::mul_generator2`, and `EcPointRef::invert2`, which take `&mut BigNumContextRef`.
45
46 ### Fixed
47
48 * `EcGroupRef::generator` no longer constructs a reference from a NULL pointer when the group has no generator set (e.g. a group built with `EcGroup::from_components` before `set_generator` is called), which was immediate undefined behavior. It now panics in that case and has been deprecated in favor of `EcGroupRef::generator_opt`.
49 * `X509Ref::ocsp_responders` now validates each accessLocation as UTF-8 and returns an `ErrorStack` if any entry is not, rather than constructing a `&str` containing invalid UTF-8 (language-level UB triggerable by a malicious certificate).
50 * Fixed a process abort that could occur when the SSL verify, PSK client, or PSK server callback fired after the underlying `SSL_CTX` had been swapped.
51 * Fixed an output-buffer overflow in `CipherCtxRef::cipher_update` and `cipher_update_vec` when used with AES key-wrap-with-padding ciphers, which emit up to `input.len() + 15` bytes during the update call rather than the previously assumed `input.len() + block_size`.
52
53 ## [v0.10.78] - 2026-04-19
54
55 ### Added
56
57 * Added support for OpenSSL 4.x.
58 * Added support for LibreSSL 4.3.x.
59
60 ### Fixed
61
62 * Fixed several soundness issues where safe Rust callers could trigger out-of-bounds reads or writes:
63 * `MdCtxRef::digest_final` now returns an error when the output buffer is shorter than the digest size.
64 * `PkeyCtxRef::derive` now checks the output buffer length on OpenSSL 1.1.x and LibreSSL, where some key types (X25519, X448, HKDF-extract) ignore the caller-supplied length.
65 * Callbacks for key-loading passwords and SSL PSK and cookie generation now reject values longer than the length of the slice.
66 * Fixed a dangling stack pointer in the SSL custom extension callback when using a fixed-length array.
67 * Fixed an inverted bounds assertion in AES key unwrap.
68 * `Crypter::new` now panics, as documented, when an IV is required by the cipher but not provided (previously it silently used an all-zero IV).
69 * Avoided a panic when formatting overlong OIDs; the value is now truncated with trailing dots.
70 * Fixed Suite B flag assignments in `X509VerifyParam`.
71 * Handle errors on `OPENSSL_malloc` in `PkeyCtxRef::set_rsa_oaep_label`.
72
73 ## [v0.10.77] - 2026-04-12
74
75 ### Added
76
77 * Enabled `MdCtxRef::digest_sign`, `MdCtxRef::digest_sign_to_vec`, `MdCtxRef::digest_verify`, and `MdCtxRef::reset` on BoringSSL, LibreSSL, and AWS-LC.
78
79 ## [v0.10.76] - 2026-03-11
80
81 ### Added
82
83 * Added brainpool curve NID constants.
84 * Added `SubjectAlternativeName::dir_name2` for constructing directoryName SAN entries.
85 * Added HKDF and generic KDF support.
86 * Added `UpperHex` implementation for `BigNum` and `BigNumRef`.
87 * Added `add_utf8_string` and `add_int` to `OsslParamBuilder`.
88 * Added `Debug` implementation for `EcGroup`, `EcGroupRef`, `EcdsaSig` and `EcdsaSigRef`.
89 * Enhanced `Debug` implementation for `Nid`.
90 * Constified `PKey::from_raw`.
91 * Exposed `from_str_x509()` for LibreSSL >= 3.6.0.
92
93 ### Fixed
94
95 * Fixed use-after-free of error strings on BoringSSL/aws-lc.
96 * Fixed cipher comparison (`is_ccm`, `is_ocb`) to use NID instead of unreliable pointer comparison. Added NID constants for `AES_*_OCB`.
97 * Fixed invalid value parsing of OCSP revocation reason.
98 * Fixed `BIO_METHOD` path for AWS-LC to use BoringSSL codepath.
99
100 ## [v0.10.75] - 2025-11-07
101
102 ### Added
103
104 * Added support for `set_rsa_oaep_label` on AWS-LC/BoringSSL.
105 * Added `Asn1GeneralizedTime::from_str`.
106 * Added `OcspStatus::next_update` method.
107
108 ### Fixed
109
110 * Fixed unsound OCSP `find_status` handling of optional next_update field. If an OCSP response does not have a `nextUpdate`, `OcspStatus::next_update` will store a sentinel value. Use `OcspStatus::next_update()` instead.
111
112 ### Deprecated
113
114 * Deprecated `OcspStatus::next_update` field in favor of the `next_update()` method.
115
116 ## [v0.10.74] - 2025-10-14
117
118 ### Added
119
120 * Added parameter generation support (`PkeyCtx::paramgen` and `PkeyCtx::paramgen_init`).
121 * Added key generation methods for RSA, DSA, DH, and EC via `PkeyCtx`.
122 * Added `Cipher::get_protocol_id`.
123 * Added `EcPointRef::set_affine_coordinates`.
124 * Added `EcGroup::order_bits` on BoringSSL, LibreSSL, and AWS-LC.
125 * Added `X509::append_entry` on BoringSSL and AWS-LC.
126 * Added XOF squeeze support on AWS-LC.
127 * Added argon2d and argon2i KDF variants.
128
129 ### Changed
130
131 * Bumped MSRV to 1.70.
132 * The repository has moved to the rust-openssl github organization.
133
134 ### Fixed
135
136 * Disabled AES-CFB128 ciphers for BoringSSL.
137
138 ### Removed
139
140 * Removed support for OpenSSL <1.0.2.
141 * Removed support for LibreSSL <3.5.
142
143 ## [v0.10.73] - 2025-05-28
144
145 ### Fixed
146
147 * Fixed building on the latest BoringSSL.
148
149 ### Changed
150
151 * Replaced ctest2 with ctest in systest.
152
153 ## [v0.10.72] - 2025-04-04
154
155 ### Fixed
156
157 * Fixed use-after-free in `Md::fetch` and `Cipher::fetch` when `properties` is `Some(...)`. In practice this use-after-free most likely resulted in OpenSSL treating the `properties` as `b""`.
158
159 ### Added
160
161 * Support for building with AWS-LC.
162
163 ## [v0.10.71] - 2025-02-15
164
165 ### Added
166
167 * Added `Cipher::rc2_cbc` and `Cipher::rc2_40_cbc`.
168
169 ## [v0.10.70] - 2025-02-02
170
171 ### Fixed
172
173 * Fixed improper lifetime constraints in `ssl::select_next_proto` that allowed a use after free.
174
175 ### Added
176
177 * Added `SslMethod::dtls_client` and `SslMethod::dtls_server`.
178
179 ## [v0.10.69] - 2025-01-25
180
181 ### Fixed
182
183 * Fixed the version constraint on `openssl-macros`.
184
185 ### Added
186
187 * Added `SslContextBuilder::load_verify_locations`.
188 * Added `Hasher::squeeze_xof`.
189 * Added `SslContextBuilder::set_alpn_select_callback` support for boringssl.
190
191 ## [v0.10.68] - 2024-10-16
192
193 ### Fixed
194
195 * Fixed building on Rust 1.63.0 (our MSRV) with OpenSSL 3.2 or newer.
196
197 ## [v0.10.67] - 2024-10-15
198
199 ### Added
200
201 * Added support for LibreSSL 4.0.x.
202 * Added `argon2id`
203
204 ### Fixed
205
206 * Fixed a case where `MdCtxRef::digest_verify_final` could leave an error on the stack.
207 * Fixed a case where `RsaRef::check_key` could leave an error on the stack.
208
209 ### Changed
210
211 * `openssl` is now a 2021 edition crate
212 * Explicitly specify the MSRV in `Cargo.toml`
213
214 ## [v0.10.66] - 2024-07-21
215
216 ### Fixed
217
218 - Fixed undefined behavior in `MemBio::get_buf` when the resulting buffer had a length of 0.
219
220 ## [v0.10.65] - 2024-07-20
221
222 ### Fixed
223
224 * Ensure we are initialized in `MessageDigest::from_nid`, `Md::from_nid`, `Md::fetch`
225
226 ### Changed
227
228 * Expose `SslContextBuilder::set_keylog_callback` on BoringSSL
229
230 ## [v0.10.64] - 2024-02-19
231
232 ### Added
233
234 * Added `PkeyCtxRef::{nonce_type, set_nonce_type}`.
235 * Added `X509Ref::alias`.
236
237
238 ## [v0.10.63] - 2024-01-19
239
240 ### Added
241
242 * Added `Pkcs7Ref::{type_,signed}`.
243 * Added `Pkcs7SignedRef::certificates`.
244 * Added `Cipher::{aes_256_xts,des_ede3_ecb,des_ede3_cfb8,des_ede3_ofb,camellia128_ofb,camellia192_ofb,camellia256_ofb,cast5_ofb,idea_ofb}`
245 * Added `PKey::from_dhx`
246 * Added `PKey::{public_key_from_pem_passphrase,public_key_from_pem_callback}`.
247
248 ### Changed
249
250 * `Cipher::aes_128_ofb` is now available on BoringSSL
251 * `Nid::{BRAINPOOL_P256R1,BRAINPOOL_P320R1,BRAINPOOL_P384R1,BRAINPOOL_P512R1}` are now available on LibreSSL.
252
253 ## [v0.10.62] - 2023-12-22
254
255 ### Added
256
257 * Added `Nid::BRAINPOOL_P320R1`
258 * Added `rand_priv_bytes`
259
260 ### Fixed
261
262 * Fixed building on the latest version of BoringSSL
263
264 ## [v0.10.61] - 2023-12-04
265
266 ### Changed
267
268 * `SslStream` now uses `SSL_read_ex`, `SSL_write_ex`, and `SSL_peek_ex` when available
269
270 ### Added
271
272 * Added `SslStream::{read_uninit, ssl_read_uninit}`.
273
274 ## [v0.10.60] - 2023-11-22
275
276 ### Deprecated
277
278 * Deprecated `X509StoreRef::objects`. It is unsound. All callers should migrate to using `X509StoreRef::all_certificates` instead.
279
280 ### Fixed
281
282 * Fixed a memory leak when calling `SslContextBuilder::set_ex_data` and `SslRef::set_ex_data` multiple times with the same index.
283
284 ### Added
285
286 * Added `X509StoreRef::all_certificates`
287 * Added `cipher::Cipher::{camellia128_cbc,camellia192_cbc,camellia256_cbc,cast5_cbc,idea_cbc}`
288 * Added `symm::Cipher::{des_ede3_ecb,des_ede3_cfb8,des_ede3_ofb,camellia_128_ecb,camellia_128_ofb,camellia_128_cfb128,camellia_192_ecb,camellia_192_ofb,camellia_192_cfb128,camellia_256_ecb,camellia_256_ofb,camellia_256_cfb128,cast5_ecb,cast5_ofb,cast5_cfb64,idea_ecb,idea_ofb,idea_cfb64}`
289 * Added `Crypter::update_unchecked`
290 * Added `SslRef::{peer_tmp_key,tmp_key}`
291
292 ### Changed
293
294 * `cipher::Cipher::chacha20` is now available on LibreSSL
295 * `symm::Cipher::chacha20` is now available on LibreSSL
296
297 ## [v0.10.59] - 2023-11-03
298
299 ### Added
300
301 * Added `Nid::CHACHA20_POLY1305`
302
303 ### Changed
304
305 * Fixed the availability of `Id::RSA_PSS` on OpenSSL
306
307 ## [v0.10.58] - 2023-11-01
308
309 ### Added
310
311 * Added `Id::{RSA_PSS,DHX}` constants
312 * Added `SslContextBuilder::set_security_level`
313 * Added `SslContextRef::security_level`
314 * Added `SslRef::set_security_level`, `SslRef::security_level`
315 * Added `Cipher::{camellia_128_cbc, camellia_192_cbc, camellia_256_cbc, cast5_cbc, idea_cbc}`
316 * Added `X509CrlRef::extension`
317 * Added `X509PurposeId::CODE_SIGN`
318
319 ### Changed
320
321 * `Pkey` HKDF functionality now works on LibreSSL
322 * `BigNum::mod_sqrt` is now available on all OpenSSLs
323 * `MessageDigest::sha3*` are now available on LibreSSL
324
325 ## [v0.10.57] - 2023-08-27
326
327 ### Added
328 * Added `X509VerifyParam::set_email`
329 * `Cipher::chacha20_poly1305` is now available on LibreSSL
330 * Added `CipherCtx::copy`
331
332 ### Changed
333 * Updated `bitflags` dependency to the 2.x series
334
335 ## [v0.10.56] - 2023-08-06
336
337 ## Added
338
339 * Added `BigNumRef::mod_sqrt`.
340 * Added `PkeyCtxRef::set_signature_md` and `PkeyCtxRef::set_rsa_pss_saltlen`.
341 * Added `PkeyCtxRef::verify_recover_init` and `PkeyCtxRef::verify_recover`.
342 * Added `BigNumRef::is_even` and `BigNumRef::is_odd`.
343 * Added `EcPointRef::to_hex_str` and `EcPoint::from_hex_str`.
344 * Added support for AES key wrap and wrap pad.
345
346 ## [v0.10.55] - 2023-06-20
347
348 ### Fixed
349
350 * Fixed compilation with the latest version of BoringSSL.
351 * Fixed compilation when OpenSSL is compiled with `OPENSSL_NO_OCB`.
352 * Fixed a segfault in `X509VerifyParamRef::set_host` when called with an empty string.
353
354 ### Added
355
356 * Added `Deriver::set_peer_ex`.
357 * Added `EcGroupRef::asn1_flag`.
358 * Exposed `EcPointRef::affine_coordinates` on BoringSSL and LibreSSL.
359 * Added `Nid::SM2` and `Id::SM2`
360
361 ## [v0.10.54] - 2023-05-31
362
363 ### Fixed
364
365 * `PKey::private_key_to_pkcs8_passphrase` no longer panics if a `passphrase` contains a NUL byte.
366
367 ## [v0.10.53] - 2023-05-30
368
369 ### Added
370
371 * Added `Dsa::from_pqg`, `Dsa::generate_key`, and `Dsa::generate_params`.
372 * Added `SslRef::bytes_to_cipher_list`.
373 * Added `SubjectAlternativeName::other_name2`
374
375 ## [v0.10.52] - 2023-04-24
376
377 ### Added
378
379 * Added `DhRef::check_key`.
380 * Added `Id::POLY1305`.
381 * Added `X509Ref::subject_key_id`, `X509Ref::authority_key_id`, `X509Ref::authority_issuer`, and `X509Ref::authority_serial`.
382
383
384 ## [v0.10.51] - 2023-04-20
385
386 ### Added
387
388 * Added `X509RevokedRef::issuer_name` and `X509RevokedRef::reason_code`.
389 * Added `Dh::set_key` and `Dh::set_public_key`
390 * Added `Asn1OctetString` and `Asn1OctetStringRef1`
391 * Added `X509Extension::new_from_der`
392
393 ### Deprecated
394
395 * Deprecated `X509Extension::new` and `X509Extension::new_nid` in favor of `X509Extension::new_from_der` and the `extensions` module.
396 * Deprecated `X509Extension::add_alias`, it is not required with `new_from_der` or the `extensions` module.
397
398 ## [v0.10.50] - 2023-04-09
399
400 ### Added
401
402 * Added `CipherCtxRef::cipher_update_inplace`.
403
404 ## [v0.10.49] - 2023-04-01
405
406 ### Fixed
407
408 * `SslConnector` no longer sets the SNI extension when connecting to an IP address.
409
410 ### Added
411
412 * Implemented `Ord`, `PartialOrd`, `Eq`, and `PartialEq` for `Asn1Integer` and `Asn1IntegerRef`.
413 * Added `X509Ref::crl_distribution_points`, and `DistPoint`.
414
415 ## [v0.10.48] - 2023-03-23
416
417 ### Fixed
418
419 * Fixed injection vulnerabilities where OpenSSL's configuration mini-language could be used via `x509::extension::SubjectAlternativeName` and `x509::extension::ExtendedKeyUsage`. The mini-language can read arbitrary files amongst other things.
420 * As part of fixing this `SubjectAlternativeName::dir_name` and `SubjectAlternativeName::other_name` are deprecated and their implementations always `panic!`. If you have a use case for these, please file an issue.
421 * Fixed several NULL pointer dereferences in OpenSSL that could be triggered via `x509::X509Extension::new` and `x509::X509Extension::new_nid`. Note that these methods still accept OpenSSL's configuration mini-language, and therefore should not be used with untrusted data.
422 * Fixed a data-race with `x509::X509Name` that are created with `x509::X509NameBuilder` and then used concurrently.
423 * Fixed LibreSSL version checking. More functions should now be correctly available on LibreSSL.
424
425 ## [v0.10.47] - 2023-03-19
426
427 ### Added
428
429 * Added support for X25519 and Ed25519 on LibreSSL and BoringSSL.
430 * Added `Error::library_code` and `Error::reason_code`.
431
432 ## [v0.10.46] - 2023-03-14
433
434 ### Fixed
435
436 * Fixed a potential null-pointer deref when parsing a PKCS#12 archive with no identity.
437 * Fixed builds against OpenSSL built with `no-cast`.
438 * Fixed debug formatting of `GeneralName`.
439
440 ### Deprecated
441
442 * Deprecated `PKcs12Ref::parse` in favor of `Pkcs12Ref::parse2`.
443 * Deprecated `ParsedPkcs12` in favor of `ParsedPkcs12_2`.
444 * Deprecated `Pkcs12Builder::build` in favor of `Pkcs12Builder::build2`.
445
446 ### Added
447
448 * Added `X509VerifyParamRef::set_auth_level`, `X509VerifyParamRef::auth_level`, and `X509VerifyParamRef::set_purpose`.
449 * Added `X509PurposeId` and `X509Purpose`.
450 * Added `X509NameBuilder::append_entry`.
451 * Added `PKeyRef::private_key_to_pkcs8`.
452 * Added `X509LookupRef::load_crl_file`.
453 * Added `Pkcs12Builder::name`, `Pkcs12Builder::pkey`, and `Pkcs12Builder::cert`.
454 * Added `SslRef::set_method`, `SslRef::set_private_key_file`, `SslRef::set_private_key`, `SslRef::set_certificate`, `SslRef::set_certificate_chain_file`, `SslRef::add_client_ca`, `SslRef::set_client_ca_list`, `SslRef::set_min_proto_version`, `SslREf::set_max_proto_version`, `SslRef::set_ciphersuites`, `SslRef::set_cipher_list`, `SslRef::set_verify_cert_store`.
455 * Added `X509NameRef::to_owned`.
456 * Added `SslContextBuilder::set_num_tickets`, `SslContextRef::num_tickets`, `SslRef::set_num_tickets`, and `SslRef::num_tickets`.
457 * Added `CmsContentInfo::verify`.
458
459 ## [v0.10.45] - 2022-12-20
460
461 ### Fixed
462
463 * Removed the newly added `CipherCtxRef::minimal_output_size` method, which did not work properly.
464 * Added `NO_DEPRECATED_3_0` cfg checks for more APIs.
465
466 ### Added
467
468 * Added `SslRef::add_chain_cert`.
469 * Added `PKeyRef::security_bits`.
470 * Added `Provider::set_default_search_path`.
471 * Added `CipherCtxRef::cipher_final_unchecked`.
472
473 ## [v0.10.44] - 2022-12-06
474
475 ### Added
476
477 * Added `CipherCtxRef::num`, `CipherCtxRef::minimal_output_size`, and `CipherCtxRef::cipher_update_unchecked`.
478 * Improved output buffer size checks in `CipherCtxRef::cipher_update`.
479 * Added `X509Lookup::file` and `X509LookupRef::load_cert_file`.
480
481 ## [v0.10.43] - 2022-11-23
482
483 ### Added
484
485 * Added `Nid::BRAINPOOL_P256R1`, `Nid::BRAINPOOL_P384R1`, `Nid::BRAINPOOL_P512R1`.
486 * Added `BigNumRef::copy_from_slice`.
487 * Added `Cipher` constructors for Camellia, CAST5, and IDEA ciphers.
488 * Added `DsaSig`.
489 * Added `X509StoreBuilderRef::set_param`.
490 * Added `X509VerifyParam::new`, `X509VerifyParamRef::set_time`, and `X509VerifyParamRef::set_depth`.
491
492 ## [v0.10.42] - 2022-09-26
493
494 ### Added
495
496 * Added `SslRef::psk_identity_hint` and `SslRef::psk_identity`.
497 * Added SHA-3 constants to `Nid`.
498 * Added `SslOptions::PRIORITIZE_CHACHA`.
499 * Added `X509ReqRef::to_text`.
500 * Added `MdCtxRef::size`.
501 * Added `X509NameRef::try_cmp`.
502 * Added `MdCtxRef::reset`.
503 * Added experimental, unstable support for BoringSSL.
504
505 ### Fixed
506
507 * Fixed `MdCtxRef::digest_verify_init` to support `PKey`s with only public components.
508
509 ## [v0.10.41] - 2022-06-09
510
511 ### Fixed
512
513 * Fixed a use-after-free in `Error::function` and `Error::file` with OpenSSL 3.x.
514
515 ### Added
516
517 * Added `MessageDigest::block_size` and `MdRef::block_size`.
518 * Implemented `Ord` and `Eq` for `X509` and `X509Ref`.
519 * Added `X509Extension::add_alias`.
520 * Added SM4 support.
521 * Added `EcGroup::from_components` `EcGropuRef::set_generator`, and `EcPointRef::set_affine_coordinates_gfp`.
522
523 ## [v0.10.40] - 2022-05-04
524
525 ### Fixed
526
527 * Fixed the openssl-sys dependency version.
528
529 ## [v0.10.39] - 2022-05-02
530
531 ### Deprecated
532
533 * Deprecated `SslContextBuilder::set_tmp_ecdh_callback` and `SslRef::set_tmp_ecdh_callback`.
534
535 ### Added
536
537 * Added `SslRef::extms_support`.
538 * Added `Nid::create`.
539 * Added `CipherCtx`, which exposes a more direct interface to `EVP_CIPHER_CTX`.
540 * Added `PkeyCtx`, which exposes a more direct interface to `EVP_PKEY_CTX`.
541 * Added `MdCtx`, which exposes a more direct interface to `EVP_MD_CTX`.
542 * Added `Pkcs12Builder::mac_md`.
543 * Added `Provider`.
544 * Added `X509Ref::issuer_name_hash`.
545 * Added `Decrypter::set_rsa_oaep_label`.
546 * Added `X509Ref::to_text`.
547
548 ## [v0.10.38] - 2021-10-31
549
550 ### Added
551
552 * Added `Pkey::ec_gen`.
553
554 ## [v0.10.37] - 2021-10-27
555
556 ### Fixed
557
558 * Fixed linkage against OpenSSL distributions built with `no-chacha`.
559
560 ### Added
561
562 * Added `BigNumRef::to_vec_padded`.
563 * Added `X509Name::from_der` and `X509NameRef::to_der`.
564 * Added `BigNum::new_secure`, `BigNumReef::set_const_time`, `BigNumref::is_const_time`, and `BigNumRef::is_secure`.
565
566 ## [v0.10.36] - 2021-08-17
567
568 ### Added
569
570 * Added `Asn1Object::as_slice`.
571 * Added `PKeyRef::{raw_public_key, raw_private_key, private_key_to_pkcs8_passphrase}` and
572 `PKey::{private_key_from_raw_bytes, public_key_from_raw_bytes}`.
573 * Added `Cipher::{seed_cbc, seed_cfb128, seed_ecb, seed_ofb}`.
574
575 ## [v0.10.35] - 2021-06-18
576
577 ### Fixed
578
579 * Fixed a memory leak in `Deriver`.
580
581 ### Added
582
583 * Added support for OpenSSL 3.x.x.
584 * Added `SslStream::peek`.
585
586 ## [v0.10.34] - 2021-04-28
587
588 ### Added
589
590 * Added `Dh::set_private_key` and `DhRef::private_key`.
591 * Added `EcPointRef::affine_coordinates`.
592 * Added `TryFrom` implementations to convert between `PKey` and specific key types.
593 * Added `X509StoreBuilderRef::set_flags`.
594
595 ## [v0.10.33] - 2021-03-13
596
597 ### Fixed
598
599 * `Dh::generate_params` now uses `DH_generate_params_ex` rather than the deprecated `DH_generated_params` function.
600
601 ### Added
602
603 * Added `Asn1Type`.
604 * Added `CmsContentInfoRef::decrypt_without_cert_check`.
605 * Added `EcPointRef::{is_infinity, is_on_curve}`.
606 * Added `Encrypter::set_rsa_oaep_label`.
607 * Added `MessageDigest::sm3`.
608 * Added `Pkcs7Ref::signers`.
609 * Added `Cipher::nid`.
610 * Added `X509Ref::authority_info` and `AccessDescription::{method, location}`.
611 * Added `X509NameBuilder::{append_entry_by_text_with_type, append_entry_by_nid_with_type}`.
612
613 ## [v0.10.32] - 2020-12-24
614
615 ### Fixed
616
617 * Fixed `Ssl::new` to take a `&SslContextRef` rather than `&SslContext`.
618
619 ### Added
620
621 * Added the `encrypt` module to support asymmetric encryption and decryption with `PKey`s.
622 * Added `MessageDigest::from_name`.
623 * Added `ConnectConfiguration::into_ssl`.
624 * Added the ability to create unconnected `SslStream`s directly from an `Ssl` and transport stream
625 without performing any part of the handshake with `SslStream::new`.
626 * Added `SslStream::{read_early_data, write_early_data, connect, accept, do_handshake, stateless}`.
627 * Implemented `ToOwned` for `SslContextRef`.
628 * Added `SslRef::{set_connect_state, set_accept_state}`.
629
630 ### Deprecated
631
632 * Deprecated `SslStream::from_raw_parts` in favor of `Ssl::from_ptr` and `SslStream::new`.
633 * Deprecated `SslStreamBuilder` in favor of methods on `Ssl` and `SslStream`.
634
635 ## [v0.10.31] - 2020-12-09
636
637 ### Added
638
639 * Added `Asn1Object::from_str`.
640 * Added `Dh::from_pgq`, `DhRef::prime_p`, `DhRef::prime_q`, `DhRef::generator`, `DhRef::generate_params`,
641 `DhRef::generate_key`, `DhRef::public_key`, and `DhRef::compute_key`.
642 * Added `Pkcs7::from_der` and `Pkcs7Ref::to_der`.
643 * Added `Id::X25519`, `Id::X448`, `PKey::generate_x25519`, and `PKey::generate_x448`.
644 * Added `SrtpProfileId::SRTP_AEAD_AES_128_GCM` and `SrtpProfileId::SRTP_AEAD_AES_256_GCM`.
645 * Added `SslContextBuilder::verify_param` and `SslContextBuilder::verify_param_mut`.
646 * Added `X509Ref::subject_name_hash` and `X509Ref::version`.
647 * Added `X509StoreBuilderRef::add_lookup`, and the `X509Lookup` type.
648 * Added `X509VerifyFlags`, `X509VerifyParamRef::set_flags`, `X509VerifyParamRef::clear_flags`
649 `X509VerifyParamRef::get_flags`.
650
651 ## [v0.10.30] - 2020-06-25
652
653 ### Fixed
654
655 * `DsaRef::private_key_to_pem` can no longer be called without a private key.
656
657 ### Changed
658
659 * Improved the `Debug` implementations of many types.
660
661 ### Added
662
663 * Added `is_empty` implementations for `Asn1StringRef` and `Asn1BitStringRef`.
664 * Added `EcPointRef::{to_pem, to_dir}` and `EcKeyRef::{public_key_from_pem, public_key_from_der}`.
665 * Added `Default` implementations for many types.
666 * Added `Debug` implementations for many types.
667 * Added `SslStream::from_raw_parts`.
668 * Added `SslRef::set_mtu`.
669 * Added `Cipher::{aes_128_ocb, aes_192_ocb, aes_256_ocb}`.
670
671 ### Deprecated
672
673 * Deprecated `SslStreamBuilder::set_dtls_mtu_size` in favor of `SslRef::set_mtu`.
674
675 ## [v0.10.29] - 2020-04-07
676
677 ### Fixed
678
679 * Fixed a memory leak in `X509Builder::append_extension`.
680
681 ### Added
682
683 * Added `SslConnector::into_context` and `SslConnector::context`.
684 * Added `SslAcceptor::into_context` and `SslAcceptor::context`.
685 * Added `SslMethod::tls_client` and `SslMethod::tls_server`.
686 * Added `SslContextBuilder::set_cert_store`.
687 * Added `SslContextRef::verify_mode` and `SslRef::verify_mode`.
688 * Added `SslRef::is_init_finished`.
689 * Added `X509Object`.
690 * Added `X509StoreRef::objects`.
691
692 ## [v0.10.28] - 2020-02-04
693
694 ### Fixed
695
696 * Fixed the mutability of `Signer::sign_oneshot` and `Verifier::verify_oneshot`. This is unfortunately a breaking
697 change, but a necessary soundness fix.
698
699 ## [v0.10.27] - 2020-01-29
700
701 ### Added
702
703 * Added `MessageDigest::null`.
704 * Added `PKey::private_key_from_pkcs8`.
705 * Added `SslOptions::NO_RENEGOTIATION`.
706 * Added `SslStreamBuilder::set_dtls_mtu_size`.
707
708 ## [v0.10.26] - 2019-11-22
709
710 ### Fixed
711
712 * Fixed improper handling of the IV buffer in `envelope::{Seal, Unseal}`.
713
714 ### Added
715
716 * Added `Asn1TimeRef::{diff, compare}`.
717 * Added `Asn1Time::from_unix`.
718 * Added `PartialEq` and `PartialOrd` implementations for `Asn1Time` and `Asn1TimeRef`.
719 * Added `base64::{encode_block, decode_block}`.
720 * Added `EcGroupRef::order_bits`.
721 * Added `Clone` implementations for `Sha1`, `Sha224`, `Sha256`, `Sha384`, and `Sha512`.
722 * Added `SslContextBuilder::{set_sigalgs_list, set_groups_list}`.
723
724 ## [v0.10.25] - 2019-10-02
725
726 ### Fixed
727
728 * Fixed a memory leak in `EcdsaSig::from_private_components` when using OpenSSL 1.0.x.
729
730 ### Added
731
732 * Added support for Ed25519 and Ed448 keys.
733 * Implemented `ToOwned` for `PKeyRef` and `Clone` for `PKey`.
734
735 ## [v0.10.24] - 2019-07-19
736
737 ### Fixed
738
739 * Worked around an OpenSSL 1.0.x bug triggered by code calling `SSL_set_app_data`.
740
741 ### Added
742
743 * Added `aes::{wrap_key, unwrap_key}`.
744 * Added `CmsContentInfoRef::to_pem` and `CmsContentInfo::from_pem`.
745 * Added `DsaRef::private_key_to_pem`.
746 * Added `EcGroupRef::{cofactor, generator}`.
747 * Added `EcPointRef::to_owned`.
748 * Added a `Debug` implementation for `EcKey`.
749 * Added `SslAcceptor::{mozilla_intermediate_v5, mozilla_modern_v5}`.
750 * Added `Cipher::{aes_128_ofb, aes_192_ecb, aes_192_cbc, aes_192_ctr, aes_192_cfb1, aes_192_cfb128, aes_192_cfb8,
751 aes_192_gcm, aes_192_ccm, aes_192_ofb, aes_256_ofb}`.
752
753 ## [v0.10.23] - 2019-05-18
754
755 ### Fixed
756
757 * Fixed session callbacks when an `Ssl`'s context is replaced.
758
759 ### Added
760
761 * Added `SslContextBuilder::add_client_ca`.
762
763 ## [v0.10.22] - 2019-05-08
764
765 ### Added
766
767 * Added support for the LibreSSL 2.9.x series.
768
769 ## [v0.10.21] - 2019-04-30
770
771 ### Fixed
772
773 * Fixed overly conservatifve buffer size checks in `Crypter` when using stream ciphers.
774
775 ### Added
776
777 * Added bindings to envelope encryption APIs.
778 * Added `PkeyRef::size`.
779
780 ## [v0.10.20] - 2019-03-20
781
782 ### Added
783
784 * Added `CmsContentInfo::from_der` and `CmsContentInfo::encrypt`.
785 * Added `X509Ref::verify` and `X509ReqRef::verify`.
786 * Implemented `PartialEq` and `Eq` for `MessageDigest`.
787 * Added `MessageDigest::type_` and `EcGroupRef::curve_name`.
788
789 ## [v0.10.19] - 2019-03-01
790
791 ### Added
792
793 * The openssl-sys build script now logs the values of environment variables.
794 * Added `ERR_PACK` to openssl-sys.
795 * The `ERR_*` functions in openssl-sys are const functions when building against newer Rust versions.
796 * Implemented `Clone` for `Dsa`.
797 * Added `SslContextRef::add_session` and `SslContextRef::remove_session`.
798 * Added `SslSessionRef::time`, `SslSessionRef::timeout`, and `SslSessionRef::protocol_version`.
799 * Added `SslContextBuilder::set_session_cache_size` and `SslContextRef::session_cache_size`.
800
801 ## [v0.10.18] - 2019-02-22
802
803 ### Fixed
804
805 * Fixed the return type of `ssl::cipher_name`.
806
807 ## [v0.10.17] - 2019-02-22
808
809 ### Added
810
811 * Implemented `AsRef<str>` and `AsRef<[u8]>` for `OpenSslString`.
812 * Added `Asn1Integer::from_bn`.
813 * Added `RsaRef::check_key`.
814 * Added `Asn1Time::from_str` and `Asn1Time::from_str_x509`.
815 * Added `Rsa::generate_with_e`.
816 * Added `Cipher::des_ede3_cfb64`.
817 * Added `SslCipherRef::standard_name` and `ssl::cipher_name`.
818
819 ## [v0.10.16] - 2018-12-16
820
821 ### Added
822
823 * Added SHA3 and SHAKE to `MessageDigest`.
824 * Added `rand::keep_random_devices_open`.
825 * Added support for LibreSSL 2.9.0.
826
827 ## [v0.10.15] - 2018-10-22
828
829 ### Added
830
831 * Implemented `DoubleEndedIterator` for stack iterators.
832
833 ## [v0.10.14] - 2018-10-18
834
835 ### Fixed
836
837 * Made some accidentally exposed internal functions private.
838
839 ### Added
840
841 * Added support for LibreSSL 2.8.
842
843 ### Changed
844
845 * The OpenSSL version used with the `vendored` feature has been upgraded from 1.1.0 to 1.1.1.
846
847 ## [v0.10.13] - 2018-10-14
848
849 ### Fixed
850
851 * Fixed a double-free in the `SslContextBuilder::set_get_session_callback` API.
852
853 ### Added
854
855 * Added `SslContextBuilder::set_client_hello_callback`.
856 * Added support for LibreSSL 2.8.1.
857 * Added `EcdsaSig::from_der` and `EcdsaSig::to_der`.
858 * Added PKCS#7 support.
859
860 ## [v0.10.12] - 2018-09-13
861
862 ### Fixed
863
864 * Fixed handling of SNI callbacks during renegotiation.
865
866 ### Added
867
868 * Added `SslRef::get_shutdown` and `SslRef::set_shutdown`.
869 * Added support for SRTP in DTLS sessions.
870 * Added support for LibreSSL 2.8.0.
871
872 ## [v0.10.11] - 2018-08-04
873
874 ### Added
875
876 * The new `vendored` cargo feature will cause openssl-sys to compile and statically link to a
877 vendored copy of OpenSSL.
878 * Added `SslContextBuilder::set_psk_server_callback`.
879 * Added `DsaRef::pub_key` and `DsaRef::priv_key`.
880 * Added `Dsa::from_private_components` and `Dsa::from_public_components`.
881 * Added `X509NameRef::entries`.
882
883 ### Deprecated
884
885 * `SslContextBuilder::set_psk_callback` has been renamed to
886 `SslContextBuilder::set_psk_client_callback` and deprecated.
887
888 ## [v0.10.10] - 2018-06-06
889
890 ### Added
891
892 * Added `SslRef::set_alpn_protos`.
893 * Added `SslContextBuilder::set_ciphersuites`.
894
895 ## [v0.10.9] - 2018-06-01
896
897 ### Fixed
898
899 * Fixed a use-after-free in `CmsContentInfo::sign`.
900 * `SslRef::servername` now returns `None` rather than panicking on a non-UTF8 name.
901
902 ### Added
903
904 * Added `MessageDigest::from_nid`.
905 * Added `Nid::signature_algorithms`, `Nid::long_name`, and `Nid::short_name`.
906 * Added early data and early keying material export support for TLS 1.3.
907 * Added `SslRef::verified_chain`.
908 * Added `SslRef::servername_raw` which returns a `&[u8]` rather than `&str`.
909 * Added `SslRef::finished` and `SslRef::peer_finished`.
910 * Added `X509Ref::digest` to replace `X509Ref::fingerprint`.
911 * `X509StoreBuilder` and `X509Store` now implement `Sync` and `Send`.
912
913 ### Deprecated
914
915 * `X509Ref::fingerprint` has been deprecated in favor of `X509Ref::digest`.
916
917 ## [v0.10.8] - 2018-05-20
918
919 ### Fixed
920
921 * `openssl-sys` will now detect Homebrew-installed OpenSSL when installed to a non-default
922 directory.
923 * The `X509_V_ERR_INVALID_CALL`, `X509_V_ERR_STORE_LOOKUP`, and
924 `X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION` constants in `openssl-sys` are now only present when
925 building against 1.1.0g and up rather than 1.1.0.
926 * `SslContextBuilder::max_proto_version` and `SslContextBuilder::min_proto_version` are only present
927 when building against 1.1.0g and up rather than 1.1.0.
928
929 ### Added
930
931 * Added `CmsContentInfo::sign`.
932 * Added `Clone` and `ToOwned` implementations to `Rsa` and `RsaRef` respectively.
933 * The `min_proto_version` and `max_proto_version` methods are available when linking against
934 LibreSSL 2.6.1 and up in addition to OpenSSL.
935 * `X509VerifyParam` is available when linking against LibreSSL 2.6.1 and up in addition to OpenSSL.
936 * ALPN support is available when linking against LibreSSL 2.6.1 and up in addition to OpenSSL.
937 * `Stack` and `StackRef` are now `Sync` and `Send`.
938
939 ## [v0.10.7] - 2018-04-30
940
941 ### Added
942
943 * Added `X509Req::public_key` and `X509Req::extensions`.
944 * Added `RsaPrivateKeyBuilder` to allow control over initialization of optional components of an RSA
945 private key.
946 * Added DER encode/decode support to `SslSession`.
947 * openssl-sys now provides the `DEP_OPENSSL_VERSION_NUMBER` and
948 `DEP_OPENSSL_LIBRESSL_VERSION_NUMBER` environment variables to downstream build scripts which
949 contains the hex-encoded version number of the OpenSSL or LibreSSL distribution being built
950 against. The other variables are deprecated.
951
952 ## [v0.10.6] - 2018-03-05
953
954 ### Added
955
956 * Added `SslOptions::ENABLE_MIDDLEBOX_COMPAT`.
957 * Added more `Sync` and `Send` implementations.
958 * Added `PKeyRef::id`.
959 * Added `Padding::PKCS1_PSS`.
960 * Added `Signer::set_rsa_pss_saltlen`, `Signer::set_rsa_mgf1_md`, `Signer::set_rsa_pss_saltlen`, and
961 `Signer::set_rsa_mgf1_md`
962 * Added `X509StoreContextRef::verify` to directly verify certificates.
963 * Added low level ECDSA support.
964 * Added support for TLSv1.3 custom extensions. (OpenSSL 1.1.1 only)
965 * Added AES-CCM support.
966 * Added `EcKey::from_private_components`.
967 * Added CMAC support.
968 * Added support for LibreSSL 2.7.
969 * Added `X509Ref::serial_number`.
970 * Added `Asn1IntegerRef::to_bn`.
971 * Added support for TLSv1.3 stateless handshakes. (OpenSSL 1.1.1 only)
972
973 ### Changed
974
975 * The Cargo features previously used to gate access to version-specific OpenSSL APIs have been
976 removed. Those APIs will be available automatically when building against an appropriate OpenSSL
977 version.
978 * Fixed `PKey::private_key_from_der` to return a `PKey<Private>` rather than a `PKey<Public>`. This
979 is technically a breaking change but the function was pretty useless previously.
980
981 ### Deprecated
982
983 * `X509CheckFlags::FLAG_NO_WILDCARDS` has been renamed to `X509CheckFlags::NO_WILDCARDS` and the old
984 name deprecated.
985
986 ## [v0.10.5] - 2018-02-28
987
988 ### Fixed
989
990 * `ErrorStack`'s `Display` implementation no longer writes an empty string if it contains no errors.
991
992 ### Added
993
994 * Added `SslRef::version2`.
995 * Added `Cipher::des_ede3_cbc`.
996 * Added `SslRef::export_keying_material`.
997 * Added the ability to push an `Error` or `ErrorStack` back onto OpenSSL's error stack. Various
998 callback bindings use this to propagate errors properly.
999 * Added `SslContextBuilder::set_cookie_generate_cb` and `SslContextBuilder::set_cookie_verify_cb`.
1000 * Added `SslContextBuilder::set_max_proto_version`, `SslContextBuilder::set_min_proto_version`,
1001 `SslContextBuilder::max_proto_version`, and `SslContextBuilder::min_proto_version`.
1002
1003 ### Changed
1004
1005 * Updated `SslConnector`'s default cipher list to match Python's.
1006
1007 ### Deprecated
1008
1009 * `SslRef::version` has been deprecated. Use `SslRef::version_str` instead.
1010
1011 ## [v0.10.4] - 2018-02-18
1012
1013 ### Added
1014
1015 * Added OpenSSL 1.1.1 support.
1016 * Added `Rsa::public_key_from_pem_pkcs1`.
1017 * Added `SslOptions::NO_TLSV1_3`. (OpenSSL 1.1.1 only)
1018 * Added `SslVersion`.
1019 * Added `SslSessionCacheMode` and `SslContextBuilder::set_session_cache_mode`.
1020 * Added `SslContextBuilder::set_new_session_callback`,
1021 `SslContextBuilder::set_remove_session_callback`, and
1022 `SslContextBuilder::set_get_session_callback`.
1023 * Added `SslContextBuilder::set_keylog_callback`. (OpenSSL 1.1.1 only)
1024 * Added `SslRef::client_random` and `SslRef::server_random`. (OpenSSL 1.1.0+ only)
1025
1026 ### Fixed
1027
1028 * The `SslAcceptorBuilder::mozilla_modern` constructor now disables TLSv1.0 and TLSv1.1 in
1029 accordance with Mozilla's recommendations.
1030
1031 ## [v0.10.3] - 2018-02-12
1032
1033 ### Added
1034
1035 * OpenSSL is now automatically detected on FreeBSD systems.
1036 * Added `GeneralName` accessors for `rfc822Name` and `uri` variants.
1037 * Added DES-EDE3 support.
1038
1039 ### Fixed
1040
1041 * Fixed a memory leak in `X509StoreBuilder::add_cert`.
1042
1043 ## [v0.10.2] - 2018-01-11
1044
1045 ### Added
1046
1047 * Added `ConnectConfiguration::set_use_server_name_indication` and
1048 `ConnectConfiguration::set_verify_hostname` for use in contexts where you don't have ownership
1049 of the `ConnectConfiguration`.
1050
1051 ## [v0.10.1] - 2018-01-10
1052
1053 ### Added
1054
1055 * Added a `From<ErrorStack> for ssl::Error` implementation.
1056
1057 ## [v0.10.0] - 2018-01-10
1058
1059 ### Compatibility
1060
1061 * openssl 0.10 still uses openssl-sys 0.9, so openssl 0.9 and 0.10 can coexist without issue.
1062
1063 ### Added
1064
1065 * The `ssl::select_next_proto` function can be used to easily implement the ALPN selection callback
1066 in a "standard" way.
1067 * FIPS mode support is available in the `fips` module.
1068 * Accessors for the Issuer and Issuer Alternative Name fields of X509 certificates have been added.
1069 * The `X509VerifyResult` can now be set in the certificate verification callback via
1070 `X509StoreContextRef::set_error`.
1071
1072 ### Changed
1073
1074 * All constants have been moved to associated constants of their type. For example, `bn::MSB_ONE`
1075 is now `bn::MsbOption::ONE`.
1076 * Asymmetric key types are now parameterized over what they contain. In OpenSSL, the same type is
1077 used for key parameters, public keys, and private keys. Unfortunately, some APIs simply assume
1078 that certain components are present and will segfault trying to use things that aren't there.
1079
1080 The `pkey` module contains new tag types named `Params`, `Public`, and `Private`, and the
1081 `Dh`, `Dsa`, `EcKey`, `Rsa`, and `PKey` have a type parameter set to one of those values. This
1082 allows the `Signer` constructor to indicate that it requires a private key at compile time for
1083 example. Previously, `Signer` would simply segfault if provided a key without private
1084 components.
1085 * ALPN support has been changed to more directly model OpenSSL's own APIs. Instead of a single
1086 method used for both the server and client sides which performed everything automatically, the
1087 `SslContextBuilder::set_alpn_protos` and `SslContextBuilder::set_alpn_select_callback` handle
1088 the client and server sides respectively.
1089 * `SslConnector::danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indication`
1090 has been removed in favor of new methods which provide more control. The
1091 `ConnectConfiguration::use_server_name_indication` method controls the use of Server Name
1092 Indication (SNI), and the `ConnectConfiguration::verify_hostname` method controls the use of
1093 hostname verification. These can be controlled independently, and if both are disabled, the
1094 domain argument to `ConnectConfiguration::connect` is ignored.
1095 * Shared secret derivation is now handled by the new `derive::Deriver` type rather than
1096 `pkey::PKeyContext`, which has been removed.
1097 * `ssl::Error` is now no longer an enum, and provides more direct access to the relevant state.
1098 * `SslConnectorBuilder::new` has been moved and renamed to `SslConnector::builder`.
1099 * `SslAcceptorBuilder::mozilla_intermediate` and `SslAcceptorBuilder::mozilla_modern` have been
1100 moved to `SslAcceptor` and no longer take the private key and certificate chain. Install those
1101 manually after creating the builder.
1102 * `X509VerifyError` is now `X509VerifyResult` and can now have the "ok" value in addition to error
1103 values.
1104 * `x509::X509FileType` is now `ssl::SslFiletype`.
1105 * Asymmetric key serialization and deserialization methods now document the formats that they
1106 correspond to, and some have been renamed to better indicate that.
1107
1108 ### Removed
1109
1110 * All deprecated APIs have been removed.
1111 * NPN support has been removed. It has been supersceded by ALPN, and is hopefully no longer being
1112 used in practice. If you still depend on it, please file an issue!
1113 * `SslRef::compression` has been removed.
1114 * Some `ssl::SslOptions` flags have been removed as they no longer do anything.
1115
1116 ## Older
1117
1118 Look at the [release tags] for information about older releases.
1119
1120 [Unreleased]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.81...master
1121 [v0.10.81]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.80...openssl-v0.10.81
1122 [v0.10.80]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.79...openssl-v0.10.80
1123 [v0.10.79]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.78...openssl-v0.10.79
1124 [v0.10.78]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.77...openssl-v0.10.78
1125 [v0.10.77]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.76...openssl-v0.10.77
1126 [v0.10.76]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.75...openssl-v0.10.76
1127 [v0.10.75]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.74...openssl-v0.10.75
1128 [v0.10.74]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.73...openssl-v0.10.74
1129 [v0.10.73]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.72...openssl-v0.10.73
1130 [v0.10.72]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.71...openssl-v0.10.72
1131 [v0.10.71]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.70...openssl-v0.10.71
1132 [v0.10.70]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.69...openssl-v0.10.70
1133 [v0.10.69]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.68...openssl-v0.10.69
1134 [v0.10.68]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.67...openssl-v0.10.68
1135 [v0.10.67]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.66...openssl-v0.10.67
1136 [v0.10.66]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.65...openssl-v0.10.66
1137 [v0.10.65]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.65
1138 [v0.10.64]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.63...openssl-v0.10.64
1139 [v0.10.63]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.62...openssl-v0.10.63
1140 [v0.10.62]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.61...openssl-v0.10.62
1141 [v0.10.61]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.60...openssl-v0.10.61
1142 [v0.10.60]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.59...openssl-v0.10.60
1143 [v0.10.59]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.58...openssl-v0.10.59
1144 [v0.10.58]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.57...openssl-v0.10.58
1145 [v0.10.57]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.56...openssl-v0.10.57
1146 [v0.10.56]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.55...openssl-v0.10.56
1147 [v0.10.55]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.54...openssl-v0.10.55
1148 [v0.10.54]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.53...openssl-v0.10.54
1149 [v0.10.53]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.52...openssl-v0.10.53
1150 [v0.10.52]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.51...openssl-v0.10.52
1151 [v0.10.51]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.50...openssl-v0.10.51
1152 [v0.10.50]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.49...openssl-v0.10.50
1153 [v0.10.49]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.49
1154 [v0.10.48]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.47...openssl-v0.10.48
1155 [v0.10.47]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.46...openssl-v0.10.47
1156 [v0.10.46]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.46
1157 [v0.10.45]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.44...openssl-v0.10.45
1158 [v0.10.44]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.43...openssl-v0.10.44
1159 [v0.10.43]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.42...openssl-v0.10.43
1160 [v0.10.42]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.41...openssl-v0.10.42
1161 [v0.10.41]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.40...openssl-v0.10.41
1162 [v0.10.40]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.39...openssl-v0.10.40
1163 [v0.10.39]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.38...openssl-v0.10.39
1164 [v0.10.38]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.37...openssl-v0.10.38
1165 [v0.10.37]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.36...openssl-v0.10.37
1166 [v0.10.36]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.35...openssl-v0.10.36
1167 [v0.10.35]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.34...openssl-v0.10.35
1168 [v0.10.34]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.33...openssl-v0.10.34
1169 [v0.10.33]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.32...openssl-v0.10.33
1170 [v0.10.32]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.31...openssl-v0.10.32
1171 [v0.10.31]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.30...openssl-v0.10.31
1172 [v0.10.30]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.29...openssl-v0.10.30
1173 [v0.10.29]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.28...openssl-v0.10.29
1174 [v0.10.28]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.27...openssl-v0.10.28
1175 [v0.10.27]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.26...openssl-v0.10.27
1176 [v0.10.26]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.25...openssl-v0.10.26
1177 [v0.10.25]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.24...openssl-v0.10.25
1178 [v0.10.24]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.23...openssl-v0.10.24
1179 [v0.10.23]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.22...openssl-v0.10.23
1180 [v0.10.22]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.21...openssl-v0.10.22
1181 [v0.10.21]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.20...openssl-v0.10.21
1182 [v0.10.20]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.19...openssl-v0.10.20
1183 [v0.10.19]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.18...openssl-v0.10.19
1184 [v0.10.18]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.17...openssl-v0.10.18
1185 [v0.10.17]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.16...openssl-v0.10.17
1186 [v0.10.16]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.15...openssl-v0.10.16
1187 [v0.10.15]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.14...openssl-v0.10.15
1188 [v0.10.14]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.13...openssl-v0.10.14
1189 [v0.10.13]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.12...openssl-v0.10.13
1190 [v0.10.12]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.11...openssl-v0.10.12
1191 [v0.10.11]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.10...openssl-v0.10.11
1192 [v0.10.10]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.9...openssl-v0.10.10
1193 [v0.10.9]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.8...openssl-v0.10.9
1194 [v0.10.8]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.7...openssl-v0.10.8
1195 [v0.10.7]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.6...openssl-v0.10.7
1196 [v0.10.6]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.5...openssl-v0.10.6
1197 [v0.10.5]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.4...openssl-v0.10.5
1198 [v0.10.4]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.3...openssl-v0.10.4
1199 [v0.10.3]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.2...openssl-v0.10.3
1200 [v0.10.2]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.1...openssl-v0.10.2
1201 [v0.10.1]: https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.0...openssl-v0.10.1
1202 [v0.10.0]: https://github.com/rust-openssl/rust-openssl/compare/v0.9.23...openssl-v0.10.0
1203 [release tags]: https://github.com/rust-openssl/rust-openssl/releases