summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-05-16 11:15:42 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-05-16 11:15:42 +0000
commit9289f21b7d2985087c826188bd2efc92cbd9cb85 (patch)
tree9dd5376125b389082c9993e2ea128a3f10dc46ee /ssl
parentd3d4f9f5e9c592c661604d0f5995e6ac2f8507e9 (diff)
Update from 1.0.0 stable branch.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/d1_lib.c1
-rw-r--r--ssl/ssl_locl.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 62b7702a38..6450c1de85 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -58,6 +58,7 @@
*/
#include <stdio.h>
+#define USE_SOCKETS
#include <openssl/objects.h>
#include "ssl_locl.h"
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index c2e74f18bc..2b362a48ea 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -944,6 +944,10 @@ void dtls1_reset_seq_numbers(SSL *s, int rw);
long dtls1_default_timeout(void);
struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft);
const SSL_CIPHER *dtls1_get_cipher(unsigned int u);
+void dtls1_start_timer(SSL *s);
+void dtls1_stop_timer(SSL *s);
+int dtls1_is_timer_expired(SSL *s);
+void dtls1_double_timeout(SSL *s);
/* some client-only functions */