diff options
Diffstat (limited to 'src/cipher.h')
-rw-r--r-- | src/cipher.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cipher.h b/src/cipher.h index 8a7e65d..f53e412 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -54,14 +54,13 @@ typedef enum cipher_type_enum cipher_type_t; struct cipher_struct { cipher_type_t type_; u_int16_t key_length_; - int8_t anytun02_compat_; buffer_t key_; buffer_t salt_; void* params_; }; typedef struct cipher_struct cipher_t; -int cipher_init(cipher_t* c, const char* type, int8_t anytun02_compat); +int cipher_init(cipher_t* c, const char* type); void cipher_close(cipher_t* c); int cipher_encrypt(cipher_t* c, key_derivation_t* kd, key_derivation_dir_t dir, plain_packet_t* in, encrypted_packet_t* out, seq_nr_t seq_nr, sender_id_t sender_id, mux_t mux); |