From 5de8305febf0fe4f2b8a89753cefdfedc519cee2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 18 Feb 2009 21:33:54 +0000 Subject: [crypto] Move AES_convert_key() hack into axtls_aes.c Although the nature of the hack is essentially unchanged, this allows us to remove the hardcoded assumption in tls.c that the RX cipher is AES. --- src/net/tls.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/net') diff --git a/src/net/tls.c b/src/net/tls.c index df872d42e..f8e5318bf 100644 --- a/src/net/tls.c +++ b/src/net/tls.c @@ -372,10 +372,6 @@ static int tls_generate_keys ( struct tls_session *tls ) { tls, strerror ( rc ) ); return rc; } - - /* FIXME: AES needs to be fixed to not require this */ - AES_convert_key ( rx_cipherspec->cipher_ctx ); - DBGC ( tls, "TLS %p RX key:\n", tls ); DBGC_HD ( tls, key, key_size ); key += key_size; -- cgit v1.2.3-55-g7522