Logo Search packages:      
Sourcecode: openssl version File versions  Download package

const char* SSL_get_servername ( const SSL *  s,
const int  type 

return a servername extension value if provided in Client Hello, or NULL. So far, only host_name types are defined (RFC 3546).

Definition at line 1321 of file ssl_lib.c.

      if (type != TLSEXT_NAMETYPE_host_name)
            return NULL;

      return s->session && !s->tlsext_hostname ?
            s->session->tlsext_hostname :

Generated by  Doxygen 1.6.0   Back to index