File: test-fix-with-go1.24.patch

package info (click to toggle)
golang-github-go-fed-httpsig 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 272 kB
  • sloc: makefile: 2
file content (44 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: SHA512/224, SHA512/256 and SHA3 have been implemented as of golang 1.24
 See https://tip.golang.org/doc/go1.24#cryptorsapkgcryptorsa
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2025-05-04
--- a/algorithms_test.go
+++ b/algorithms_test.go
@@ -596,37 +596,31 @@
 			name:                 "rsa_SHA3_224",
 			input:                rsa_SHA3_224,
 			inputCryptoHash:      crypto.SHA3_224,
-			expectRSAUnsupported: true,
 		},
 		{
 			name:                 "rsa_SHA3_256",
 			input:                rsa_SHA3_256,
 			inputCryptoHash:      crypto.SHA3_256,
-			expectRSAUnsupported: true,
 		},
 		{
 			name:                 "rsa_SHA3_384",
 			input:                rsa_SHA3_384,
 			inputCryptoHash:      crypto.SHA3_384,
-			expectRSAUnsupported: true,
 		},
 		{
 			name:                 "rsa_SHA3_512",
 			input:                rsa_SHA3_512,
 			inputCryptoHash:      crypto.SHA3_512,
-			expectRSAUnsupported: true,
 		},
 		{
 			name:                 "rsa_SHA512_224",
 			input:                rsa_SHA512_224,
 			inputCryptoHash:      crypto.SHA512_224,
-			expectRSAUnsupported: true,
 		},
 		{
 			name:                 "rsa_SHA512_256",
 			input:                rsa_SHA512_256,
 			inputCryptoHash:      crypto.SHA512_256,
-			expectRSAUnsupported: true,
 		},
 		{
 			name:                 "rsa_BLAKE2S_256",