Lines Matching defs:chk
894 static int do_x509_check(X509 *x, const char *chk, size_t chklen,
920 if (chklen > 1 && chk[0] == '.')
953 chk, chklen, peername)) != 0)
979 chk, chklen, peername)) != 0)
985 int X509_check_host(X509 *x, const char *chk, size_t chklen,
988 if (chk == NULL)
990 if (memchr(chk, '\0', chklen))
992 return do_x509_check(x, chk, chklen, flags, GEN_DNS, peername);
995 int X509_check_email(X509 *x, const char *chk, size_t chklen,
998 if (chk == NULL)
1000 if (memchr(chk, '\0', chklen))
1002 return do_x509_check(x, chk, chklen, flags, GEN_EMAIL, NULL);
1005 int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen,
1008 if (chk == NULL)
1010 return do_x509_check(x, (char *)chk, chklen, flags, GEN_IPADD, NULL);