summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2009-02-18 22:25:14 +0100
committerMichael Brown2009-02-18 22:28:46 +0100
commit991f907d5bcb90643491184bc2ecd05a5b2f4e17 (patch)
tree1ae11aec6797cd98540114a3e4c86bf9c1a6e1b2 /src/net
parent[pxe] Initialize EDX on PXE NBP entry and INT 1Ah (diff)
downloadipxe-991f907d5bcb90643491184bc2ecd05a5b2f4e17.tar.gz
ipxe-991f907d5bcb90643491184bc2ecd05a5b2f4e17.tar.xz
ipxe-991f907d5bcb90643491184bc2ecd05a5b2f4e17.zip
[crypto] Rename aes_algorithm to aes_cbc_algorithm
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tls.c b/src/net/tls.c
index f5bff7a49..df872d42e 100644
--- a/src/net/tls.c
+++ b/src/net/tls.c
@@ -486,12 +486,12 @@ static int tls_select_cipher ( struct tls_session *tls,
switch ( cipher_suite ) {
case htons ( TLS_RSA_WITH_AES_128_CBC_SHA ):
key_len = ( 128 / 8 );
- cipher = &aes_algorithm;
+ cipher = &aes_cbc_algorithm;
digest = &sha1_algorithm;
break;
case htons ( TLS_RSA_WITH_AES_256_CBC_SHA ):
key_len = ( 256 / 8 );
- cipher = &aes_algorithm;
+ cipher = &aes_cbc_algorithm;
digest = &sha1_algorithm;
break;
default: