diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-06-27 17:51:23 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-21 10:53:32 +0200 |
commit | 214fc873fe744ac722e9dd69917b6254e2151af2 (patch) | |
tree | 57876fc10617c9ba63c8b3ec760b3ba97764ae4e /ssl_backend.h | |
parent | d7efe640112f94cb20ce52a6adf0bd1b4d5f4ec2 (diff) | |
download | openvpn-214fc873fe744ac722e9dd69917b6254e2151af2.tar.gz openvpn-214fc873fe744ac722e9dd69917b6254e2151af2.tar.xz openvpn-214fc873fe744ac722e9dd69917b6254e2151af2.zip |
Refactored key_state free code
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'ssl_backend.h')
-rw-r--r-- | ssl_backend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl_backend.h b/ssl_backend.h index 5c96daf..2226652 100644 --- a/ssl_backend.h +++ b/ssl_backend.h @@ -287,6 +287,13 @@ void tls_ctx_load_extra_certs (struct tls_root_ctx *ctx, const char *extra_certs void key_state_ssl_init(struct key_state_ssl *ks_ssl, const struct tls_root_ctx *ssl_ctx, bool is_server, void *session); +/** + * Free the SSL channel part of the given key state. + * + * @param ks_ssl The SSL channel's state info to free + */ +void key_state_ssl_free(struct key_state_ssl *ks_ssl); + /* * Show the TLS ciphers that are available for us to use in the OpenSSL * library. |