diff options
author | Steffan Karger | 2016-02-07 20:47:12 +0100 |
---|---|---|
committer | Gert Doering | 2016-02-09 08:39:23 +0100 |
commit | 8b1a00ca4be11f03238c27b0f9a54573b707ba89 (patch) | |
tree | 975bb90d0d4b735ad1278f2896685d106f17032d /src/openvpn/ssl.h | |
parent | 2d9c6d20e6e98f852930ea96dae9bd912d34068e (diff) | |
download | openvpn-8b1a00ca4be11f03238c27b0f9a54573b707ba89.zip openvpn-8b1a00ca4be11f03238c27b0f9a54573b707ba89.tar.gz |
Move key_ctx_bi into crypto_options
The encrypt and decrypt routines use struct crypto_options as their main
information source. A struct crypto_options would have a pointer to a
struct key_ctx_bi, which had to be updated at the correct moments to keep
them correct. Instead of doing this administration, just put the struct
key_ctx_bi inside crypto_options. Makes the code a little simpler too.
Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <1454874438-5081-5-git-send-email-steffan@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11078
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/ssl.h')
-rw-r--r-- | src/openvpn/ssl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/openvpn/ssl.h b/src/openvpn/ssl.h index e9d0f28..20991cc 100644 --- a/src/openvpn/ssl.h +++ b/src/openvpn/ssl.h @@ -136,7 +136,6 @@ */ struct tls_auth_standalone { - struct key_ctx_bi tls_auth_key; struct crypto_options tls_auth_options; struct frame frame; }; |