aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_hash.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/tls_handshake_hash.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/tls_handshake_hash.cpp')
-rw-r--r--src/tls/tls_handshake_hash.cpp2
1 files changed, 1 insertions, 1 deletions
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<byte> 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;