summaryrefslogtreecommitdiff
path: root/tests/resume-dtls.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-24 01:18:02 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-24 01:18:02 +0100
commit3b300c4263ad641788016e30159388f3bcd4f5d4 (patch)
tree0c8d422eda41f1ca6bf82bea77d8ad7a79e79aa0 /tests/resume-dtls.c
parent15bf7be0a835880e7016848d23b469e29818a073 (diff)
downloadgnutls-3b300c4263ad641788016e30159388f3bcd4f5d4.tar.gz
Fixes for win32 and time. OCSP test now sets a fixed time to avoid expiration errors.
Diffstat (limited to 'tests/resume-dtls.c')
-rw-r--r--tests/resume-dtls.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/resume-dtls.c b/tests/resume-dtls.c
index acdb8b582b..03f606ce18 100644
--- a/tests/resume-dtls.c
+++ b/tests/resume-dtls.c
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2004-2012 Free Software Foundation, Inc.
*
- * Author: Simon Josefsson
+ * Author: Nikos Mavrogiannopoulos
*
* This file is part of GnuTLS.
*
@@ -39,6 +39,15 @@
#include <unistd.h>
#include <gnutls/gnutls.h>
+#if defined(_WIN32)
+
+int main()
+{
+ exit(77);
+}
+
+#else
+
#include "tcp.c"
#include "utils.h"
@@ -665,3 +674,5 @@ wrap_db_delete (void *dbf, gnutls_datum_t key)
return -1;
}
+
+#endif /* WIN32 */