Lines Matching refs:vpm
868 static int check_hosts(X509 *x, X509_VERIFY_PARAM *vpm) in check_hosts() argument
871 int n = sk_OPENSSL_STRING_num(vpm->hosts); in check_hosts()
874 if (vpm->peername != NULL) { in check_hosts()
875 OPENSSL_free(vpm->peername); in check_hosts()
876 vpm->peername = NULL; in check_hosts()
879 name = sk_OPENSSL_STRING_value(vpm->hosts, i); in check_hosts()
880 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
888 X509_VERIFY_PARAM *vpm = ctx->param; in check_id() local
891 if (vpm->hosts != NULL && check_hosts(x, vpm) <= 0) { in check_id()
895 if (vpm->email != NULL in check_id()
896 && X509_check_email(x, vpm->email, vpm->emaillen, 0) <= 0) { in check_id()
900 if (vpm->ip != NULL && X509_check_ip(x, vpm->ip, vpm->iplen, 0) <= 0) { in check_id()
2046 int X509_cmp_timeframe(const X509_VERIFY_PARAM *vpm, in X509_cmp_timeframe() argument
2051 unsigned long flags = vpm == NULL ? 0 : X509_VERIFY_PARAM_get_flags(vpm); in X509_cmp_timeframe()
2054 ref_time = X509_VERIFY_PARAM_get_time(vpm); in X509_cmp_timeframe()