Skip to content

Commit 2049a7c

Browse files
committed
Switch from www.ptb.de which is sending a randomised time to google.com.
Signed-off-by: david <[email protected]>
1 parent fd04f48 commit 2049a7c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ update_ca_root_data:
126126
rm ca-roots/certdata.txt
127127

128128
test_run:
129-
./src/tlsdate-helper www.ptb.de 443 tlsv1 racket verbose ca-roots/tlsdate-ca-roots.conf dont-set-clock showtime no-fun holdfast none
129+
./src/tlsdate-helper google.com 443 tlsv1 racket verbose ca-roots/tlsdate-ca-roots.conf dont-set-clock showtime no-fun holdfast none
130130

131131
BUILT_SOURCES+= src/configmake.h
132132
noinst_HEADERS+= src/configmake.h

etc/tlsdated.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ wait-between-tries 10
1818

1919
# Host configuration.
2020
source
21-
host www.ptb.de
21+
host google.com
2222
port 443
2323
proxy none
2424
end

man/tlsdate.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Print the help message
2525
.IP "\-s | \-\-skip\-verification"
2626
Skip certificate verification
2727
.IP "\-H | \-\-host [hostname|ip]"
28-
Set remote hostname (default: 'www.ptb.de')
28+
Set remote hostname (default: 'google.com')
2929
.IP "\-n | \-\-dont\-set\-clock"
3030
Do not set the system clock to the time of the remote server
3131
.IP "\-p | \-\-port [port]"

src/tlsdate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#include "src/rtc.h"
2626

27-
#define DEFAULT_HOST "www.ptb.de"
27+
#define DEFAULT_HOST "google.com"
2828
#define DEFAULT_PORT "443"
2929
#define DEFAULT_PROXY "none"
3030
#define DEFAULT_PROTOCOL "tlsv1"

0 commit comments

Comments
 (0)