diff options
author | Steffan Karger | 2013-05-19 10:01:29 +0200 |
---|---|---|
committer | David Sommerseth | 2013-06-07 15:45:54 +0200 |
commit | b97e2c3c90afdbb1a24bc1357ec6b94d626defcd (patch) | |
tree | b3937911c6b52838f4e73b14db900acb14b12ccf /src/openvpn/ssl_backend.h | |
parent | 0a48ae367f4de3d95c99dc0f1668ea0308205ed5 (diff) | |
download | openvpn-b97e2c3c90afdbb1a24bc1357ec6b94d626defcd.zip openvpn-b97e2c3c90afdbb1a24bc1357ec6b94d626defcd.tar.gz |
Do not pass struct tls_session* as void* in key_state_ssl_init().
Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 51B1DBEF.1090705@fox-it.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/7664
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/ssl_backend.h')
-rw-r--r-- | src/openvpn/ssl_backend.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/openvpn/ssl_backend.h b/src/openvpn/ssl_backend.h index f61580c..72235ae 100644 --- a/src/openvpn/ssl_backend.h +++ b/src/openvpn/ssl_backend.h @@ -42,6 +42,10 @@ #include "ssl_verify_polarssl.h" #endif +/** + * prototype for struct tls_session from ssl_common.h + */ +struct tls_session; /** * Get a tls_cipher_name_pair containing OpenSSL and IANA names for supplied TLS cipher name @@ -291,7 +295,7 @@ void tls_ctx_personalise_random(struct tls_root_ctx *ctx); * @param session The session associated with the given key_state */ void key_state_ssl_init(struct key_state_ssl *ks_ssl, - const struct tls_root_ctx *ssl_ctx, bool is_server, void *session); + const struct tls_root_ctx *ssl_ctx, bool is_server, struct tls_session *session); /** * Free the SSL channel part of the given key state. |