aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_suites.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-15 13:17:04 +0000
committerlloyd <[email protected]>2010-10-15 13:17:04 +0000
commitf7b299b7ecc684754da2959366d8895ab621d430 (patch)
treef9f7bd0ef94dbb8945e977edf252e8fcb52c7781 /src/ssl/tls_suites.cpp
parent01e0b5f9e0a6572e8eea8f7e226eb96e11c0fa58 (diff)
Use size_t in ssl
Diffstat (limited to 'src/ssl/tls_suites.cpp')
-rw-r--r--src/ssl/tls_suites.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/tls_suites.cpp b/src/ssl/tls_suites.cpp
index 18c39edcd..07cbec608 100644
--- a/src/ssl/tls_suites.cpp
+++ b/src/ssl/tls_suites.cpp
@@ -212,7 +212,7 @@ TLS_Ciphersuite_Algos CipherSuite::lookup_ciphersuite(u16bit suite)
namespace {
-std::pair<std::string, u32bit> cipher_code_to_name(TLS_Ciphersuite_Algos algo)
+std::pair<std::string, size_t> cipher_code_to_name(TLS_Ciphersuite_Algos algo)
{
if((algo & TLS_ALGO_CIPHER_MASK) == TLS_ALGO_CIPHER_RC4_128)
return std::make_pair("ARC4", 16);
@@ -270,7 +270,7 @@ CipherSuite::CipherSuite(u16bit suite_code)
kex_algo = TLS_Ciphersuite_Algos(algos & TLS_ALGO_KEYEXCH_MASK);
- std::pair<std::string, u32bit> cipher_info = cipher_code_to_name(algos);
+ std::pair<std::string, size_t> cipher_info = cipher_code_to_name(algos);
cipher = cipher_info.first;
cipher_key_length = cipher_info.second;