]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sha1.c
pppd: Fix SIGSEGV in EAP-TLS code when TLS verify method is not specified
[ppp.git] / pppd / sha1.c
index f4f975cf516f6c9b58516f08a71152bdef62beca..4e51cee506c237ce2385ad3ed94003e31c9f1914 100644 (file)
@@ -17,6 +17,7 @@
 /* #define SHA1HANDSOFF * Copies data before messing with it. */
 
 #include <string.h>
+#include <time.h>
 #include <netinet/in.h>        /* htonl() */
 #include <net/ppp_defs.h>
 #include "sha1.h"