aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/s_kex.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-26 21:00:01 +0000
committerlloyd <[email protected]>2012-01-26 21:00:01 +0000
commit4b8786ad157e38b4143b0968c1ea1c83c2ee7388 (patch)
tree2a0272f0b6f5e14d738c5bfdb126f5e3ef45fb3b /src/tls/s_kex.cpp
parent4b285bd51a48f78f41a14beb9626a8db59e65960 (diff)
Make Alert a first class object ala Version. Move the alert codes into
the Alert class for namespacing.
Diffstat (limited to 'src/tls/s_kex.cpp')
-rw-r--r--src/tls/s_kex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/s_kex.cpp b/src/tls/s_kex.cpp
index 2c699ccd1..3ebdc3027 100644
--- a/src/tls/s_kex.cpp
+++ b/src/tls/s_kex.cpp
@@ -52,7 +52,7 @@ Server_Key_Exchange::Server_Key_Exchange(Record_Writer& writer,
const std::string curve_name = policy.choose_curve(curves);
if(curve_name == "")
- throw TLS_Exception(HANDSHAKE_FAILURE,
+ throw TLS_Exception(Alert::HANDSHAKE_FAILURE,
"Could not agree on an ECC curve with the client");
EC_Group ec_group(curve_name);