included a certificate label in the is_trusted() method

This commit is contained in:
Andreas Steffen
2007-05-25 11:10:35 +00:00
parent 998ca0ea9c
commit 89eeedc243
3 changed files with 9 additions and 10 deletions
+2 -1
View File
@@ -160,10 +160,11 @@ struct credential_store_t {
* @brief Verify an X.509 certificate up to trust anchor without any status checks
*
* @param this calling object
* @param label label characterizing the certificate to be verified
* @param cert certificate to be verified
* @return TRUE if trusted
*/
bool (*is_trusted) (credential_store_t *this, x509_t *cert);
bool (*is_trusted) (credential_store_t *this, const char *label, x509_t *cert);
/**
* @brief Verify an X.509 certificate up to trust anchor including status checks