summaryrefslogtreecommitdiff
path: root/net/openntpd/files/patch-src_constraint.c
blob: a6f46a88dde269260e3436738d0c2e898f2d4f1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/constraint.c.orig	2016-03-28 13:51:51 UTC
+++ src/constraint.c
@@ -905,7 +905,7 @@ httpsdate_request(struct httpsdate *http
 		 * or ANSI C's asctime() - the latter doesn't include
 		 * the timezone which is required here.
 		 */
-		if (strptime(p, "%a, %d %h %Y %T %Z",
+		if (strptime(p, "%a, %d %h %Y %T GMT",
 		    &httpsdate->tls_tm) == NULL) {
 			log_warnx("unsupported date format");
 			free(line);