aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/openssl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 20:05:14 +0000
committerlloyd <[email protected]>2010-10-12 20:05:14 +0000
commitb29e17a4ea70bcabb7d8eeb441bb70fd0c87b185 (patch)
treec297f0245d3a604fe4dea849979b84c3b4e709f9 /src/engine/openssl
parent9abeb56f7d355b8ff86cbb465ba1e0a08257ec12 (diff)
Use size_t in SCAN_Name
Diffstat (limited to 'src/engine/openssl')
-rw-r--r--src/engine/openssl/ossl_arc4.cpp2
-rw-r--r--src/engine/openssl/ossl_bc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/openssl/ossl_arc4.cpp b/src/engine/openssl/ossl_arc4.cpp
index d76bce349..78217a760 100644
--- a/src/engine/openssl/ossl_arc4.cpp
+++ b/src/engine/openssl/ossl_arc4.cpp
@@ -72,7 +72,7 @@ OpenSSL_Engine::find_stream_cipher(const SCAN_Name& request,
Algorithm_Factory&) const
{
if(request.algo_name() == "ARC4")
- return new ARC4_OpenSSL(request.arg_as_u32bit(0, 0));
+ return new ARC4_OpenSSL(request.arg_as_integer(0, 0));
if(request.algo_name() == "RC4_drop")
return new ARC4_OpenSSL(768);
diff --git a/src/engine/openssl/ossl_bc.cpp b/src/engine/openssl/ossl_bc.cpp
index d1365d038..9dc1159a0 100644
--- a/src/engine/openssl/ossl_bc.cpp
+++ b/src/engine/openssl/ossl_bc.cpp
@@ -213,7 +213,7 @@ OpenSSL_Engine::find_block_cipher(const SCAN_Name& request,
#if !defined(OPENSSL_NO_RC5)
if(request.algo_name() == "RC5")
- if(request.arg_as_u32bit(0, 12) == 12)
+ if(request.arg_as_integer(0, 12) == 12)
return new EVP_BlockCipher(EVP_rc5_32_12_16_ecb(),
"RC5(12)", 1, 32, 1);
#endif