aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-20 20:40:33 +0000
committerlloyd <[email protected]>2012-01-20 20:40:33 +0000
commit27ff086c66b8c4e5e99db5e30c23530be82f5a94 (patch)
tree1090e88fd1c201e5704a96729df7ecb2dc713951 /src
parent661428a61e4d36c2d62f130762eb2afa042f9b50 (diff)
Helps if you return the right type
Diffstat (limited to 'src')
-rw-r--r--src/libstate/get_enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate/get_enc.cpp b/src/libstate/get_enc.cpp
index 8b3ef5a87..b7c9a7146 100644
--- a/src/libstate/get_enc.cpp
+++ b/src/libstate/get_enc.cpp
@@ -201,7 +201,7 @@ KDF* get_kdf(const std::string& algo_spec)
#if defined(BOTAN_HAS_SSL_V3_PRF)
if(request.algo_name() == "SSL3-PRF" && request.arg_count() == 0)
- return new TLS_PRF;
+ return new SSL3_PRF;
#endif
#if defined(BOTAN_HAS_TLS_V10_PRF)