File: 1001_feature_constraints.patch

package info (click to toggle)
rust-rustls 0.20.8-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,140 kB
  • sloc: sh: 312; python: 263; perl: 258; makefile: 12
file content (15 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: add feature constraints to tests
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2023-02-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/rustls/tests/api.rs
+++ b/rustls/tests/api.rs
@@ -4197,6 +4197,7 @@
 
 /// Test that secrets can be extracted and used for encryption/decryption.
 #[cfg(feature = "secret_extraction")]
+#[cfg(feature = "tls12")]
 #[test]
 fn test_secret_extraction_enabled() {
     // Normally, secret extraction would be used to configure kTLS (TLS offload