aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpttls/pt_tls_server.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-03-07 14:10:50 +0100
committerMartin Willi <martin@revosec.ch>2013-03-07 14:10:50 +0100
commit7d70a14779b2dc897bc46559e6475a9bd01b2be6 (patch)
tree746bdedefd60fae4e6b010e5415919cff4140e32 /src/libpttls/pt_tls_server.h
parent9d9042d6d95b0ecb292d77e7d8350fcd28e1aa27 (diff)
parent1db6bf2f3f8fe0240a63dbd7c79323140daa622e (diff)
downloadstrongswan-7d70a14779b2dc897bc46559e6475a9bd01b2be6.tar.bz2
strongswan-7d70a14779b2dc897bc46559e6475a9bd01b2be6.tar.xz
Merge branch 'pt-tls'
Diffstat (limited to 'src/libpttls/pt_tls_server.h')
-rw-r--r--src/libpttls/pt_tls_server.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libpttls/pt_tls_server.h b/src/libpttls/pt_tls_server.h
index 244111b43..3e18aee8f 100644
--- a/src/libpttls/pt_tls_server.h
+++ b/src/libpttls/pt_tls_server.h
@@ -25,6 +25,8 @@
#include <tnc/tnccs/tnccs.h>
+#include "pt_tls.h"
+
typedef struct pt_tls_server_t pt_tls_server_t;
/**
@@ -60,10 +62,11 @@ struct pt_tls_server_t {
*
* @param server TLS server identity
* @param fd client connection socket
+ * @param auth client authentication requirements
* @param tnccs inner TNCCS protocol handler to use for this connection
* @return PT-TLS server
*/
pt_tls_server_t *pt_tls_server_create(identification_t *server, int fd,
- tnccs_t *tnccs);
+ pt_tls_auth_t auth, tnccs_t *tnccs);
#endif /** PT_TLS_SERVER_H_ @}*/