Github user bellofreedom commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/122#discussion_r18934621
  
    --- Diff: iocore/net/P_SSLNetVConnection.h ---
    @@ -120,6 +120,28 @@ class SSLNetVConnection:public UnixNetVConnection
         sslClientRenegotiationAbort = state;
       };
     
    +  const char * get_ssl_protocol(void) const
    +  {
    +    if ( ssl == NULL )
    +      return NULL;
    +    return SSL_get_cipher_version(ssl);
    --- End diff --
    
    This would return cipher's version like **TLSv1/SSLv3** or **SSLv2**. For 
SSL protocol version , I think it would be better to use SSL_get_version.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to