aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/or_options_st.h
diff options
context:
space:
mode:
authorDaniel Pinto <danielpinto52@gmail.com>2020-08-01 00:03:06 +0100
committerDaniel Pinto <danielpinto52@gmail.com>2020-08-01 01:08:37 +0100
commit1474ab33956eefd9b75ef9a3e238ec7f855b8c7e (patch)
tree194509f3fd3314a7f3a7c8c4b4208f14712f9b64 /src/app/config/or_options_st.h
parent700e8a8bb070d20ce6febde0c20dd9acde911856 (diff)
downloadtor-1474ab33956eefd9b75ef9a3e238ec7f855b8c7e.tar.gz
tor-1474ab33956eefd9b75ef9a3e238ec7f855b8c7e.zip
Add --format argument to --key-expiration option. #30045
Diffstat (limited to 'src/app/config/or_options_st.h')
-rw-r--r--src/app/config/or_options_st.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/config/or_options_st.h b/src/app/config/or_options_st.h
index 68be5711ce..774b476476 100644
--- a/src/app/config/or_options_st.h
+++ b/src/app/config/or_options_st.h
@@ -945,6 +945,11 @@ struct or_options_t {
int OfflineMasterKey;
enum {
+ KEY_EXPIRATION_FORMAT_ISO8601 = 0,
+ KEY_EXPIRATION_FORMAT_TIMESTAMP
+ } key_expiration_format;
+
+ enum {
FORCE_PASSPHRASE_AUTO=0,
FORCE_PASSPHRASE_ON,
FORCE_PASSPHRASE_OFF