* src/hsts.c: Remove unused macro CHECK_EXPLICIT_PORT

This commit is contained in:
Tim Rühsen 2017-02-03 12:09:18 +01:00
parent a5094731cd
commit 485fcfcc20

View File

@ -80,7 +80,6 @@ enum hsts_kh_match {
#define DEFAULT_HTTP_PORT 80
#define DEFAULT_SSL_PORT 443
#define CHECK_EXPLICIT_PORT(p1, p2) (p1 == 0 || p1 == p2)
#define MAKE_EXPLICIT_PORT(s, p) (s == SCHEME_HTTPS ? (p == DEFAULT_SSL_PORT ? 0 : p) \
: (p == DEFAULT_HTTP_PORT ? 0 : p))