]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
hsts: remove unused defines
authorDaniel Gustafsson <daniel@yesql.se>
Sun, 14 Mar 2021 22:18:27 +0000 (23:18 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Sun, 14 Mar 2021 22:18:27 +0000 (23:18 +0100)
MAX_HSTS_SUBLEN and MAX_HSTS_SUBLENSTR were unused from the initial commit,
and mostly likely leftovers from early development.  Remove as they're not
used for anything.

Closes #6741
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
lib/hsts.c

index 0e7c19cfbd9457eba98ca0986d94fe378b0118a8..fd4926f36bb930ac55f02842fff14796ee6734af 100644 (file)
@@ -46,8 +46,6 @@
 #define MAX_HSTS_LINE 4095
 #define MAX_HSTS_HOSTLEN 256
 #define MAX_HSTS_HOSTLENSTR "256"
-#define MAX_HSTS_SUBLEN 4
-#define MAX_HSTS_SUBLENSTR "4"
 #define MAX_HSTS_DATELEN 64
 #define MAX_HSTS_DATELENSTR "64"