Some documentation corrections
[strongswan.git] / src / libstrongswan / credentials / cert_validator.h
index 1e67c23..00e30d7 100644 (file)
@@ -39,13 +39,14 @@ struct cert_validator_t {
         *
         * @param subject               subject certificate to check
         * @param issuer                issuer of subject
-        * @param online                wheter to do online revocation checking
-        * @param pathlen               the current length of the path up to the root CA
+        * @param online                whether to do online revocation checking
+        * @param pathlen               the current length of the path bottom-up
+        * @param anchor                is issuer trusted root anchor
         * @param auth                  container for resulting authentication info
         */
        bool (*validate)(cert_validator_t *this, certificate_t *subject,
-                                        certificate_t *issuer, bool online, int pathlen,
-                                        auth_cfg_t *auth);
+                                        certificate_t *issuer, bool online, u_int pathlen,
+                                        bool anchor, auth_cfg_t *auth);
 };
 
 #endif /** CERT_VALIDATOR_H_ @}*/