diff options
Diffstat (limited to 'src/lib/tls/tls_extensions.cpp')
-rw-r--r-- | src/lib/tls/tls_extensions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_extensions.cpp b/src/lib/tls/tls_extensions.cpp index 5f28c98b8..06efebb4b 100644 --- a/src/lib/tls/tls_extensions.cpp +++ b/src/lib/tls/tls_extensions.cpp @@ -228,7 +228,7 @@ std::vector<byte> Maximum_Fragment_Length::serialize() const case 4096: return std::vector<byte>(1, 4); default: - throw std::invalid_argument("Bad setting " + + throw Invalid_Argument("Bad setting " + std::to_string(m_max_fragment) + " for maximum fragment size"); } |