]> source.dussan.org Git - gitea.git/commitdiff
Fix CI (#32062)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 17 Sep 2024 19:35:59 +0000 (03:35 +0800)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2024 19:35:59 +0000 (19:35 +0000)
go.mod

diff --git a/go.mod b/go.mod
index fae080f12f26d4d91a6f43b5018d1210707f7b7b..dd36f639860253fbd81875380d6b02fce3c50c02 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -2,6 +2,11 @@ module code.gitea.io/gitea
 
 go 1.23
 
+// rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
+// But some CAs use negative serial number, just relax the check. related:
+// Default TLS cert uses negative serial number #895 https://github.com/microsoft/mssql-docker/issues/895
+godebug x509negativeserial=1
+
 require (
        code.gitea.io/actions-proto-go v0.4.0
        code.gitea.io/gitea-vet v0.2.3