1. 26 Mar, 2019 5 commits
  2. 25 Mar, 2019 5 commits
  3. 24 Mar, 2019 3 commits
  4. 23 Mar, 2019 2 commits
  5. 22 Mar, 2019 1 commit
  6. 21 Mar, 2019 3 commits
  7. 20 Mar, 2019 5 commits
  8. 19 Mar, 2019 5 commits
  9. 18 Mar, 2019 2 commits
  10. 16 Mar, 2019 1 commit
    • Hal Murray's avatar
      Fix for #577, DNS retry sloth · bf3dfbe3
      Hal Murray authored
      There is only one thread for DNS (and NTS-KE) work.  If an attempt
      was made while the thread was busy, it waited for the retry timer
      rather than trying again as soon as the previous DNS work finished.
      bf3dfbe3
  11. 14 Mar, 2019 2 commits
    • Hal Murray's avatar
      NTS: Tweaks to server accept failed message · 45f818e7
      Hal Murray authored
      45f818e7
    • Matt Selsky's avatar
      Make sure to include config.h in tests/ntpd/nts.c · b525ad6a
      Matt Selsky authored
      Otherwise header files are included without our local symbols that control which other symbols are exposed
      
      In this case, the result of trying to build on macOS was:
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:135:15: error: expected parameter declarator
      extern  size_t  strlcpy(char *dst, const char *src, size_t siz);
                      ^
      /usr/include/secure/_string.h:108:47: note: expanded from macro 'strlcpy'
                      __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
                                                                   ^
      /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
                                     ^
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:135:15: error: expected ')'
      /usr/include/secure/_string.h:108:47: note: expanded from macro 'strlcpy'
                      __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
                                                                   ^
      /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
                                     ^
      ../../include/ntp_stdlib.h:135:15: note: to match this '('
      /usr/include/secure/_string.h:108:47: note: expanded from macro 'strlcpy'
                      __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'
                                                          ^
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:135:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
      extern  size_t  strlcpy(char *dst, const char *src, size_t siz);
                      ^
      /usr/include/secure/_string.h:108:47: note: expanded from macro 'strlcpy'
                      __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz'
                                    ^
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:135:15: error: conflicting types for '__builtin___strlcpy_chk'
      /usr/include/secure/_string.h:108:3: note: expanded from macro 'strlcpy'
                      __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                      ^
      ../../include/ntp_stdlib.h:135:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)'
      /usr/include/secure/_string.h:108:3: note: expanded from macro 'strlcpy'
                      __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                      ^
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:145:15: error: expected parameter declarator
      extern  size_t  strlcat(char *dst, const char *src, size_t siz);
                      ^
      /usr/include/secure/_string.h:115:47: note: expanded from macro 'strlcat'
                      __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
                                                                   ^
      /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
                                     ^
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:145:15: error: expected ')'
      /usr/include/secure/_string.h:115:47: note: expanded from macro 'strlcat'
                      __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
                                                                   ^
      /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
                                     ^
      ../../include/ntp_stdlib.h:145:15: note: to match this '('
      /usr/include/secure/_string.h:115:47: note: expanded from macro 'strlcat'
                      __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'
                                                          ^
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:145:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
      extern  size_t  strlcat(char *dst, const char *src, size_t siz);
                      ^
      /usr/include/secure/_string.h:115:47: note: expanded from macro 'strlcat'
                      __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                                                  ^
      /usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz'
                                    ^
      In file included from ../../tests/ntpd/nts.c:1:
      In file included from ../../include/ntpd.h:13:
      In file included from ../../include/ntp.h:15:
      ../../include/ntp_stdlib.h:145:15: error: conflicting types for '__builtin___strlcat_chk'
      /usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
                      __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                      ^
      ../../include/ntp_stdlib.h:145:15: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)'
      /usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
                      __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                      ^
      2 warnings and 6 errors generated.
      b525ad6a
  12. 13 Mar, 2019 1 commit
  13. 12 Mar, 2019 5 commits