aboutsummaryrefslogtreecommitdiff
path: root/src/net/tls.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-02-18 21:25:14 +0000
committerMichael Brown <mcb30@etherboot.org>2009-02-18 21:28:46 +0000
commit991f907d5bcb90643491184bc2ecd05a5b2f4e17 (patch)
tree1ae11aec6797cd98540114a3e4c86bf9c1a6e1b2 /src/net/tls.c
parentaaa26f3bd355e20554d142eaded0657e7c351dac (diff)
downloadipxe-991f907d5bcb90643491184bc2ecd05a5b2f4e17.zip
ipxe-991f907d5bcb90643491184bc2ecd05a5b2f4e17.tar.gz
ipxe-991f907d5bcb90643491184bc2ecd05a5b2f4e17.tar.bz2
[crypto] Rename aes_algorithm to aes_cbc_algorithm
Diffstat (limited to 'src/net/tls.c')
-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 f5bff7a..df872d4 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: