X509_check_purpose
idret = X509_check_purpose(cert, id, i);
X509_check_purpose(signer, -1, -1);
if (X509_check_purpose(signer, X509_PURPOSE_TIMESTAMP_SIGN, 0) != 1) {
X509_check_purpose(x, -1, 0);
X509_check_purpose(x, -1, 0);
if (X509_check_purpose(x, -1, 0) != 1)
if (X509_check_purpose(x, -1, 0) != 1)
if (X509_check_purpose(x, -1, 0) != 1)
if (X509_check_purpose(x, -1, 0) != 1)
if (X509_check_purpose(x, -1, 0) != 1)
if (X509_check_purpose(x, -1, 0) != 1)
if (X509_check_purpose(x, -1, 0) != 1
if (X509_check_purpose(x, -1, 0) != 1
(void)X509_check_purpose((X509 *)a, -1, 0);
(void)X509_check_purpose((X509 *)b, -1, 0);
X509_check_purpose(x, -1, -1);
if (X509_check_purpose(x, -1, 0) != 1)
switch (X509_check_purpose(x, purpose, must_be_ca > 0)) {
&& X509_check_purpose(x, X509_PURPOSE_SSL_CLIENT, 0)) {
int X509_check_purpose(X509 *x, int id, int ca);