From 6a5c86b7ada9dd6a57290f228fd06b20cdf7011b Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Sat, 31 Dec 2011 01:41:56 +0100 Subject: Implemented TLS session resumption both as client and as server --- src/libtls/tls_socket.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libtls/tls_socket.h') diff --git a/src/libtls/tls_socket.h b/src/libtls/tls_socket.h index 413380716..9f0e9643b 100644 --- a/src/libtls/tls_socket.h +++ b/src/libtls/tls_socket.h @@ -74,9 +74,10 @@ struct tls_socket_t { * @param server server identity * @param peer client identity, NULL for no client authentication * @param fd socket to read/write from + * @param cache session cache to use, or NULL * @return TLS socket wrapper */ tls_socket_t *tls_socket_create(bool is_server, identification_t *server, - identification_t *peer, int fd); + identification_t *peer, int fd, tls_cache_t *cache); #endif /** TLS_SOCKET_H_ @}*/ -- cgit v1.2.3