I have just found the new get_current_time() function in bss_dgram.c and modified the patch so that it will be used. Additionally I have copied this function to d1_lib.c and made the timer functions there use it to avoid redundant code.
dtls-timer-bug-1.0.0.patch
Description: Binary data