diff options
author | lloyd <[email protected]> | 2012-01-20 20:29:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-20 20:29:54 +0000 |
commit | 661428a61e4d36c2d62f130762eb2afa042f9b50 (patch) | |
tree | ec66fe7ef30c98b1a4089a93bad19286afc44ff1 /src/libstate/get_enc.cpp | |
parent | a8a5de64287e2e78d4b790669c3d2564e64e4b58 (diff) |
Support lookup of the SSLv3 PRF
Diffstat (limited to 'src/libstate/get_enc.cpp')
-rw-r--r-- | src/libstate/get_enc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstate/get_enc.cpp b/src/libstate/get_enc.cpp index 67b9ac9df..8b3ef5a87 100644 --- a/src/libstate/get_enc.cpp +++ b/src/libstate/get_enc.cpp @@ -199,6 +199,11 @@ KDF* get_kdf(const std::string& algo_spec) return new X942_PRF(request.arg(0)); // OID #endif +#if defined(BOTAN_HAS_SSL_V3_PRF) + if(request.algo_name() == "SSL3-PRF" && request.arg_count() == 0) + return new TLS_PRF; +#endif + #if defined(BOTAN_HAS_TLS_V10_PRF) if(request.algo_name() == "TLS-PRF" && request.arg_count() == 0) return new TLS_PRF; |