summaryrefslogtreecommitdiff
path: root/lib/gnutls_extensions.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-09-20 14:52:39 +0200
committerSimon Josefsson <simon@josefsson.org>2007-09-20 14:52:39 +0200
commitbdcd70e2b483f15189855cf966d96759686555a1 (patch)
tree495c4d558b82c8ec266980e9c3f56f82d773e200 /lib/gnutls_extensions.c
parent15688b6cb74ad0a89b90a536db0771fc89eb3685 (diff)
downloadgnutls-bdcd70e2b483f15189855cf966d96759686555a1.tar.gz
Support for Opaque PRF Input TLS extension.
Diffstat (limited to 'lib/gnutls_extensions.c')
-rw-r--r--lib/gnutls_extensions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gnutls_extensions.c b/lib/gnutls_extensions.c
index bb6a64d49a..20b1bbd414 100644
--- a/lib/gnutls_extensions.c
+++ b/lib/gnutls_extensions.c
@@ -33,6 +33,7 @@
#include "ext_max_record.h"
#include <ext_cert_type.h>
#include <ext_server_name.h>
+#include <ext_oprfi.h>
#include <ext_srp.h>
#include <ext_inner_application.h>
#include <ext_authz.h>
@@ -64,6 +65,11 @@ gnutls_extension_entry _gnutls_extensions[MAX_EXT_SIZE] = {
GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_SERVER_NAME,
_gnutls_server_name_recv_params,
_gnutls_server_name_send_params),
+#ifdef ENABLE_OPRFI
+ GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_OPAQUE_PRF_INPUT,
+ _gnutls_oprfi_recv_params,
+ _gnutls_oprfi_send_params),
+#endif
#ifdef ENABLE_SRP
GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_SRP,
_gnutls_srp_recv_params,