diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cert/x509/x509_obj.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cert/x509/x509_obj.cpp b/src/cert/x509/x509_obj.cpp index 820972614..1c8066c56 100644 --- a/src/cert/x509/x509_obj.cpp +++ b/src/cert/x509/x509_obj.cpp @@ -61,9 +61,9 @@ void X509_Object::init(DataSource& in, const std::string& labels) decode_info(ber); } } - catch(Decoding_Error) + catch(Decoding_Error& e) { - throw Decoding_Error(PEM_label_pref + " decoding failed"); + throw Decoding_Error(PEM_label_pref + " decoding failed: " + e.what()); } } |