diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-06-23 09:05:12 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-19 22:05:45 +0200 |
commit | b5738e5b858274785eff30edb4748e3f641e0b1c (patch) | |
tree | b57615baf8f06373141794c491aa0ac0cd48e93c /init.c | |
parent | 6825182b8137c036afcdc0e48397c0ea5ffc2404 (diff) | |
download | openvpn-b5738e5b858274785eff30edb4748e3f641e0b1c.tar.gz openvpn-b5738e5b858274785eff30edb4748e3f641e0b1c.tar.xz openvpn-b5738e5b858274785eff30edb4748e3f641e0b1c.zip |
Refactored OpenSSL-specific constants
[David S: Fixed a few whitespace errors before merging]
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2023,9 +2023,9 @@ do_init_crypto_static (struct context *c, const unsigned int flags) must_have_n_keys (options->shared_secret_file, "secret", &key2, kds.need_keys); init_key_ctx (&c->c1.ks.static_key.encrypt, &key2.keys[kds.out_key], - &c->c1.ks.key_type, DO_ENCRYPT, "Static Encrypt"); + &c->c1.ks.key_type, OPENVPN_OP_ENCRYPT, "Static Encrypt"); init_key_ctx (&c->c1.ks.static_key.decrypt, &key2.keys[kds.in_key], - &c->c1.ks.key_type, DO_DECRYPT, "Static Decrypt"); + &c->c1.ks.key_type, OPENVPN_OP_DECRYPT, "Static Decrypt"); /* Erase the temporary copy of key */ CLEAR (key2); |