Skip to content

Commit 0718f46

Browse files
committed
Fix bug
1 parent 75f7a07 commit 0718f46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module code.gitea.io/gitea
22

3-
go 1.24.0
3+
go 1.24.9
44

55
// rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
66
// But some CAs use negative serial number, just relax the check. related:

models/asymkey/ssh_key_parse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func SSHNativeParsePublicKey(keyLine string) (string, int, error) {
208208

209209
// The ssh library can parse the key, so next we find out what key exactly we have.
210210
switch pkey.Type() {
211-
case ssh.KeyAlgoDSA:
211+
case ssh.KeyAlgoDSA: //nolint:staticcheck // it's deprecated
212212
rawPub := struct {
213213
Name string
214214
P, Q, G, Y *big.Int

0 commit comments

Comments
 (0)