From 8cdf4e29c4646cd3c35453e09a153406650c4fbc Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 18 Sep 2024 03:35:59 +0800 Subject: [PATCH] Fix CI (#32062) --- go.mod | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/go.mod b/go.mod index fae080f12f..dd36f63986 100644 --- 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