mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 06:35:07 -05:00
Add option to generate command key on start
With generatecommandkey directive, if no command key is found in the key file on start, one will be generated automatically from /dev/urandom.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -518,6 +518,7 @@ if [ $try_nss = "1" ]; then
|
||||
HASH_OBJ="hash_nss.o"
|
||||
HASH_COMPILE="$test_cflags"
|
||||
HASH_LINK="$test_link"
|
||||
add_def GENERATE_SHA1_KEY
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -528,6 +529,7 @@ if [ "x$HASH_LINK" = "x" ] && [ $try_tomcrypt = "1" ]; then
|
||||
HASH_OBJ="hash_tomcrypt.o"
|
||||
HASH_COMPILE="-I/usr/include/tomcrypt"
|
||||
HASH_LINK="-ltomcrypt"
|
||||
add_def GENERATE_SHA1_KEY
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user