summaryrefslogtreecommitdiff
path: root/libextra/gnutls_openssl.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-08-13 19:46:09 +0000
committerSimon Josefsson <simon@josefsson.org>2006-08-13 19:46:09 +0000
commit2f26f9b33f03fcdafa64417ece4500805b728798 (patch)
tree4b6a145c7bbbbccda98b575ade5d61de2b2f22de /libextra/gnutls_openssl.c
parent8b882c4aae82ba726ee1df45fc3de615d025c789 (diff)
downloadgnutls-2f26f9b33f03fcdafa64417ece4500805b728798.tar.gz
Add (XXX).
Diffstat (limited to 'libextra/gnutls_openssl.c')
-rw-r--r--libextra/gnutls_openssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libextra/gnutls_openssl.c b/libextra/gnutls_openssl.c
index 0da7998943..a973f18719 100644
--- a/libextra/gnutls_openssl.c
+++ b/libextra/gnutls_openssl.c
@@ -31,6 +31,10 @@
#include <string.h>
#include <gnutls/openssl.h>
+/* See lib/gnutls_int.h. */
+#define GNUTLS_POINTER_TO_INT(_) ((int) GNUTLS_POINTER_TO_INT_CAST (_))
+#define GNUTLS_INT_TO_POINTER(_) ((void*) GNUTLS_POINTER_TO_INT_CAST (_))
+
/* WARNING: Error functions aren't currently thread-safe */
static int last_error = 0;