From 4b8786ad157e38b4143b0968c1ea1c83c2ee7388 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 26 Jan 2012 21:00:01 +0000 Subject: Make Alert a first class object ala Version. Move the alert codes into the Alert class for namespacing. --- src/tls/tls_handshake_hash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tls/tls_handshake_hash.cpp') diff --git a/src/tls/tls_handshake_hash.cpp b/src/tls/tls_handshake_hash.cpp index 491b4f6c0..1e5bd63a3 100644 --- a/src/tls/tls_handshake_hash.cpp +++ b/src/tls/tls_handshake_hash.cpp @@ -54,7 +54,7 @@ SecureVector Handshake_Hash::final(Protocol_Version version) output += sha256.final(); } else - throw TLS_Exception(PROTOCOL_VERSION, + throw TLS_Exception(Alert::PROTOCOL_VERSION, "Unknown version for handshake hashes"); return output; -- cgit v1.2.3