aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/TLSException.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rdr/TLSException.h')
-rw-r--r--common/rdr/TLSException.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/rdr/TLSException.h b/common/rdr/TLSException.h
index b35a675f..75ee94f5 100644
--- a/common/rdr/TLSException.h
+++ b/common/rdr/TLSException.h
@@ -27,8 +27,10 @@ namespace rdr {
class tls_error : public std::runtime_error {
public:
- int err;
- tls_error(const char* s, int err_) noexcept;
+ int err, alert;
+ tls_error(const char* s, int err_, int alert_=-1) noexcept;
+ private:
+ const char* strerror(int err_, int alert_) const noexcept;
};
}