Lines Matching refs:valid
81 int valid = 0; in verify_PBMAC() local
87 valid = msg->protection != NULL && msg->protection->length >= 0 in verify_PBMAC()
93 if (!valid) in verify_PBMAC()
96 return valid; in verify_PBMAC()
109 int valid = 0; in OSSL_CMP_validate_cert_path() local
128 valid = X509_verify_cert(csc) > 0; in OSSL_CMP_validate_cert_path()
132 if (!valid && ERR_GET_REASON(err) != CMP_R_POTENTIALLY_INVALID_CERTIFICATE) in OSSL_CMP_validate_cert_path()
139 return valid; in OSSL_CMP_validate_cert_path()
329 int valid = 0; in check_cert_path_3gpp() local
341 valid = OSSL_CMP_validate_cert_path(ctx, store, scrt); in check_cert_path_3gpp()
342 if (!valid) { in check_cert_path_3gpp()
359 valid = OSSL_CMP_validate_cert_path(ctx, store, newcrt); in check_cert_path_3gpp()
365 return valid; in check_cert_path_3gpp()