-
- Downloads
lws_compare_time_t: conceal time discontiguities on all platforms
This provides platform-independent support for time discontiguities. On embedded without battery RTC, commonly we only get time after NTP completes. This makes the cert checking happen when we have a reasonable time and introduces lws_compare_time_t() to correctly compare time_t s that may sit on either side of a time discontiguity.
Showing
- lib/context.c 3 additions, 2 deletionslib/context.c
- lib/libwebsockets.c 15 additions, 3 deletionslib/libwebsockets.c
- lib/libwebsockets.h 20 additions, 0 deletionslib/libwebsockets.h
- lib/private-libwebsockets.h 6 additions, 2 deletionslib/private-libwebsockets.h
- lib/service.c 28 additions, 4 deletionslib/service.c
- lib/tls/tls.c 3 additions, 2 deletionslib/tls/tls.c
Loading
Please register or sign in to comment