]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Add authz extension.
authorSimon Josefsson <simon@josefsson.org>
Wed, 21 Feb 2007 17:29:56 +0000 (17:29 +0000)
committerSimon Josefsson <simon@josefsson.org>
Wed, 21 Feb 2007 17:29:56 +0000 (17:29 +0000)
lib/gnutls_extensions.c

index c1ea2cfd1116ef95337ddd6bbbc50f7c0413f987..a5b5209fc8282d85b95ca575df5f377702072eda 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation
  *
  * Author: Nikos Mavroyanopoulos
  *
@@ -35,6 +35,7 @@
 #include <ext_server_name.h>
 #include <ext_srp.h>
 #include <ext_inner_application.h>
+#include <ext_authz.h>
 #include <gnutls_num.h>
 
 /* Key Exchange Section */
@@ -49,6 +50,12 @@ gnutls_extension_entry _gnutls_extensions[MAX_EXT_SIZE] = {
   GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_MAX_RECORD_SIZE,
                          _gnutls_max_record_recv_params,
                          _gnutls_max_record_send_params),
+  GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_AUTHZ_CLIENT,
+                         _gnutls_authz_ext_client_recv_params,
+                         _gnutls_authz_ext_client_send_params),
+  GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_AUTHZ_SERVER,
+                         _gnutls_authz_ext_server_recv_params,
+                         _gnutls_authz_ext_server_send_params),
   GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_CERT_TYPE,
                          _gnutls_cert_type_recv_params,
                          _gnutls_cert_type_send_params),