diff options
author | lloyd <[email protected]> | 2010-03-03 22:09:55 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-03 22:09:55 +0000 |
commit | f9ad1518e162c031abf5f4d3c8a41d5b98a9772d (patch) | |
tree | 56a01a40531401330d18a04192a604b38d093cfc /src/ssl/c_kex.cpp | |
parent | 1d43c2587e24a3e9c8cabbd75e34d87da0456340 (diff) |
Unused variable warning in catch statement
Diffstat (limited to 'src/ssl/c_kex.cpp')
-rw-r--r-- | src/ssl/c_kex.cpp | 2 |
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()); |