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