aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls_socket.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-03-25 10:19:41 +0100
committerMartin Willi <martin@revosec.ch>2014-04-01 14:28:55 +0200
commit5313880261fe271ac5b334ccacf92d6253efaf3d (patch)
tree89c5c3130a29b9a5d2b6d7c4b062ea97a62c3530 /src/libtls/tls_socket.h
parentddf5222096321580dd307adcb2d61cbfbb96f463 (diff)
downloadstrongswan-5313880261fe271ac5b334ccacf92d6253efaf3d.tar.bz2
strongswan-5313880261fe271ac5b334ccacf92d6253efaf3d.tar.xz
tls: Support a null encryption flag on TLS socket abstraction
Diffstat (limited to 'src/libtls/tls_socket.h')
-rw-r--r--src/libtls/tls_socket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libtls/tls_socket.h b/src/libtls/tls_socket.h
index 75130a4d3..54278dd01 100644
--- a/src/libtls/tls_socket.h
+++ b/src/libtls/tls_socket.h
@@ -104,9 +104,11 @@ struct tls_socket_t {
* @param peer client identity, NULL for no client authentication
* @param fd socket to read/write from
* @param cache session cache to use, or NULL
+ * @param nullok accept NULL encryption ciphers
* @return TLS socket wrapper
*/
tls_socket_t *tls_socket_create(bool is_server, identification_t *server,
- identification_t *peer, int fd, tls_cache_t *cache);
+ identification_t *peer, int fd, tls_cache_t *cache,
+ bool nullok);
#endif /** TLS_SOCKET_H_ @}*/