Lines Matching refs:vpm
770 static int check_hosts(X509 *x, X509_VERIFY_PARAM *vpm) in check_hosts() argument
773 int n = sk_OPENSSL_STRING_num(vpm->hosts); in check_hosts()
776 if (vpm->peername != NULL) { in check_hosts()
777 OPENSSL_free(vpm->peername); in check_hosts()
778 vpm->peername = NULL; in check_hosts()
781 name = sk_OPENSSL_STRING_value(vpm->hosts, i); in check_hosts()
782 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
790 X509_VERIFY_PARAM *vpm = ctx->param; in check_id() local
793 if (vpm->hosts != NULL && check_hosts(x, vpm) <= 0) { in check_id()
797 if (vpm->email != NULL in check_id()
798 && X509_check_email(x, vpm->email, vpm->emaillen, 0) <= 0) { in check_id()
802 if (vpm->ip != NULL && X509_check_ip(x, vpm->ip, vpm->iplen, 0) <= 0) { in check_id()
1930 int X509_cmp_timeframe(const X509_VERIFY_PARAM *vpm, in X509_cmp_timeframe() argument
1935 unsigned long flags = vpm == NULL ? 0 : X509_VERIFY_PARAM_get_flags(vpm); in X509_cmp_timeframe()
1938 ref_time = X509_VERIFY_PARAM_get_time(vpm); in X509_cmp_timeframe()