Support different authentication schemes for PT-TLS

This commit is contained in:
Martin Willi
2013-02-28 16:46:08 +01:00
parent 807f2facd0
commit 61f1693df1
5 changed files with 71 additions and 6 deletions
+4 -1
View File
@@ -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_ @}*/