New peername element in X509_VERIFY_PARAM_ID
[openssl.git] / crypto / x509 / x509_lcl.h
index a20bed287da96849f9d5ea086b1e684a00e94135..8350929d7e44f1a37bdb884fcad6ad80b6cb283f 100644 (file)
@@ -62,6 +62,7 @@ struct X509_VERIFY_PARAM_ID_st
        {
        STACK_OF(OPENSSL_STRING) *hosts;        /* Set of acceptable names */
        unsigned int hostflags; /* Flags to control matching features */
+       char *peername;         /* Matching hostname in peer certificate */
        unsigned char *email;   /* If not NULL email address to match */
        size_t emaillen;
        unsigned char *ip;      /* If not NULL IP address to match */