]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
hs_common.h: delete duplicate definitions
authorJim Newsome <jnewsome@torproject.org>
Tue, 10 Jun 2025 22:17:53 +0000 (17:17 -0500)
committerJim Newsome <jnewsome@torproject.org>
Tue, 10 Jun 2025 22:17:53 +0000 (17:17 -0500)
src/feature/hs/hs_common.h

index 757e326b08884a10244d130de63d2d5cff380dad..5d7dbafd03a405bcccf3586deb5f91ab9662f5a3 100644 (file)
@@ -49,13 +49,6 @@ struct ed25519_keypair_t;
 /** String prefix for the signature of ESTABLISH_INTRO */
 #define ESTABLISH_INTRO_SIG_PREFIX "Tor establish-intro cell v1"
 
-/** The default HS time period length */
-#define HS_TIME_PERIOD_LENGTH_DEFAULT 1440 /* 1440 minutes == one day */
-/** The minimum time period length as seen in prop224 section [TIME-PERIODS] */
-#define HS_TIME_PERIOD_LENGTH_MIN 5 /* minutes */
-/** The minimum time period length as seen in prop224 section [TIME-PERIODS] */
-#define HS_TIME_PERIOD_LENGTH_MAX (60 * 24 * 10) /* 10 days or 14400 minutes */
-
 /** Prefix of the onion address checksum. */
 #define HS_SERVICE_ADDR_CHECKSUM_PREFIX ".onion checksum"
 /** Length of the checksum prefix minus the NUL terminated byte. */