Lines Matching refs:valid
80 int valid = 0; in verify_PBMAC() local
86 valid = msg->protection != NULL && msg->protection->length >= 0 in verify_PBMAC()
92 if (!valid) in verify_PBMAC()
95 return valid; in verify_PBMAC()
108 int valid = 0; in OSSL_CMP_validate_cert_path() local
127 valid = X509_verify_cert(csc) > 0; in OSSL_CMP_validate_cert_path()
131 if (!valid && ERR_GET_REASON(err) != CMP_R_POTENTIALLY_INVALID_CERTIFICATE) in OSSL_CMP_validate_cert_path()
138 return valid; in OSSL_CMP_validate_cert_path()
305 int valid = 0; in check_cert_path_3gpp() local
317 valid = OSSL_CMP_validate_cert_path(ctx, store, scrt); in check_cert_path_3gpp()
318 if (!valid) { in check_cert_path_3gpp()
335 valid = OSSL_CMP_validate_cert_path(ctx, store, newcrt); in check_cert_path_3gpp()
341 return valid; in check_cert_path_3gpp()