do_x509_check
return do_x509_check(x, chk, chklen, flags, GEN_DNS, peername);
return do_x509_check(x, chk, chklen, flags, GEN_EMAIL, NULL);
return do_x509_check(x, (char *)chk, chklen, flags, GEN_IPADD, NULL);
return do_x509_check(x, (char *)ipout, iplen, flags, GEN_IPADD, NULL);