aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/c_kex.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-03 22:09:55 +0000
committerlloyd <[email protected]>2010-03-03 22:09:55 +0000
commitf9ad1518e162c031abf5f4d3c8a41d5b98a9772d (patch)
tree56a01a40531401330d18a04192a604b38d093cfc /src/ssl/c_kex.cpp
parent1d43c2587e24a3e9c8cabbd75e34d87da0456340 (diff)
Unused variable warning in catch statement
Diffstat (limited to 'src/ssl/c_kex.cpp')
-rw-r--r--src/ssl/c_kex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/c_kex.cpp b/src/ssl/c_kex.cpp
index 802946bb9..fe0224827 100644
--- a/src/ssl/c_kex.cpp
+++ b/src/ssl/c_kex.cpp
@@ -129,7 +129,7 @@ Client_Key_Exchange::pre_master_secret(RandomNumberGenerator& rng,
try {
pre_master = dh_priv->derive_key(key_material, key_material.size());
}
- catch(std::exception& e)
+ catch(...)
{
pre_master.resize(dh_priv->public_value().size());
rng.randomize(pre_master, pre_master.size());