aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509path.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-11-04 14:31:59 -0500
committerJack Lloyd <[email protected]>2015-11-04 14:31:59 -0500
commit7049b8e541b032e42ab0b4007a344bd14918bdcc (patch)
tree45d30ee973d2b88c56b30fcd0c4fb4a09ad345b5 /src/lib/cert/x509/x509path.h
parentd475735cbe21d9d0dd3f39fb936cdaac8ef56e30 (diff)
Add check for path validation result in Credentials_Manager. GH #324
Diffstat (limited to 'src/lib/cert/x509/x509path.h')
-rw-r--r--src/lib/cert/x509/x509path.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cert/x509/x509path.h b/src/lib/cert/x509/x509path.h
index c56aef21f..08d92915d 100644
--- a/src/lib/cert/x509/x509path.h
+++ b/src/lib/cert/x509/x509path.h
@@ -84,7 +84,8 @@ class BOTAN_DLL Path_Validation_Result
std::set<std::string> trusted_hashes() const;
/**
- * @return the trust root of the validation
+ * @return the trust root of the validation if successful
+ * throws an exception if the validation failed
*/
const X509_Certificate& trust_root() const;