From: Harlan Stenn Date: Fri, 4 Aug 2000 06:15:37 +0000 (-0000) Subject: ChangeLog, ntp_crypto.c: X-Git-Tag: NTP_4_0_99_M~231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e452c4df04d0df32aa5f747069eabcf109a896e5;p=thirdparty%2Fntp.git ChangeLog, ntp_crypto.c: * ntpd/ntp_crypto.c: Use NTP_KEYSDIR bk: 398a5f8904lx5S97Z42Xh1_RBRSC1w --- diff --git a/ChangeLog b/ChangeLog index a757d615fb..56962d81b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-08-04 Harlan Stenn + * ntpd/ntp_crypto.c: Use NTP_KEYSDIR + * util/ntp-genkeys.c (snifflink): Ignore ENOENT, too. * ntpd/ntp_proto.c (peer_xmit): Crypto cleanup diff --git a/ntpd/ntp_crypto.c b/ntpd/ntp_crypto.c index 06b7819f86..466a1dc08e 100644 --- a/ntpd/ntp_crypto.c +++ b/ntpd/ntp_crypto.c @@ -81,7 +81,7 @@ static R_RSA_PUBLIC_KEY public_key; /* public key */ static R_DH_PARAMS dh_params; /* agreement parameters */ static u_char *dh_private; /* private value */ static u_int dh_keyLen; /* private value length */ -static char *keysdir = "/usr/local/etc/"; /* crypto keys directory */ +static char *keysdir = NTP_KEYSDIR; /* crypto keys directory */ static char *private_key_file = NULL; /* private key file */ static char *public_key_file = NULL; /* public key file */ static char *dh_params_file = NULL; /* agreement parameters file */