diff options
-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()); |