SSL timers are no longer just for DTLS

Also, clean up leftover temporary stuff... embarassing
This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-13 10:25:28 +02:00
parent bbd28f7bcc
commit 70860adccc

View File

@ -997,12 +997,9 @@ struct mbedtls_ssl_context
/* /*
* Timers * Timers
*/ */
#if defined(MBEDTLS_SSL_PROTO_DTLS)
mbedtls_timing_delay_context WIP_timer; /* temporary */
void *p_timer; /*!< context for the timer callbacks */ void *p_timer; /*!< context for the timer callbacks */
void (*f_set_timer)(void *, uint32_t, uint32_t); /*!< set timer callback */ void (*f_set_timer)(void *, uint32_t, uint32_t); /*!< set timer callback */
int (*f_get_timer)(void *); /*!< get timer callback */ int (*f_get_timer)(void *); /*!< get timer callback */
#endif
/* /*
* Record layer (incoming data) * Record layer (incoming data)