[crypto] Rename aes_algorithm to aes_cbc_algorithm

This commit is contained in:
Michael Brown
2009-02-18 21:25:14 +00:00
parent aaa26f3bd3
commit 991f907d5b
3 changed files with 15 additions and 15 deletions

View File

@@ -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: