Comment side-effect only calls of X509_check_purpose
[openssl.git] / crypto / x509 / x509_trs.c
index 58e7d54339854d6c367a858a0c669996715d26d9..72c8110313434aa6a8da0cc9b7c7e60db451fd12 100644 (file)
@@ -283,6 +283,7 @@ static int trust_1oid(X509_TRUST *trust, X509 *x, int flags)
 
 static int trust_compat(X509_TRUST *trust, X509 *x, int flags)
 {
+    /* Call for side-effect of computing hash and caching extensions */
     X509_check_purpose(x, -1, 0);
     if (x->ex_flags & EXFLAG_SS)
         return X509_TRUST_TRUSTED;