]> 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 d18a19ce2e4f80ba4e3f0e7d28104362a1d11a84..4e51cee506c237ce2385ad3ed94003e31c9f1914 100644 (file)
@@ -17,7 +17,9 @@
 /* #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"
 
 static void