diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-04 23:15:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-04 23:15:23 +0100 |
| commit | 45fd7558122b679e017eaf9c1f6d10061ada72a8 (patch) | |
| tree | 2cb1f432b5df53a3c9d065c1130ded6076e43fd2 /src/certificate_chain.h | |
| parent | 2525b8babdfe69f81ad873f1a89d914f56174d91 (diff) | |
More error information from CertificateChain::valid.
Diffstat (limited to 'src/certificate_chain.h')
| -rw-r--r-- | src/certificate_chain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certificate_chain.h b/src/certificate_chain.h index 9d7ab47c..b5954d5b 100644 --- a/src/certificate_chain.h +++ b/src/certificate_chain.h @@ -88,7 +88,7 @@ public: List leaf_to_root () const; List root_to_leaf () const; - bool valid () const; + bool valid (std::string* reason = 0) const; bool attempt_reorder (); void sign (xmlpp::Element* parent, Standard standard) const; |
