712d8eb Ticket #47945 - Add SSL/TLS version info to the access log

Authored and Committed by nhosoi 9 years ago
    Ticket #47945 - Add SSL/TLS version info to the access log
    
    Description: Added the currently used SSL library version info per
    connection to the access log.
    Sample output:
      SSL
      [..] conn=3 fd=64 slot=64 SSL connection from ::1 to ::1
      [..] conn=3 TLS1.2 128-bit AES-GCM
    
    startTLS
      [..] conn=4 op=0 EXT oid="1.3.6.1.4.1.1466.20037" name="startTLS"
      [..] conn=4 op=0 RESULT err=0 tag=120 nentries=0 etime=0
      [..] conn=4 TLS1.2 128-bit AES-GCM
    
    To convert the SSL version number to string (e.g., SSL_LIBRARY_VERSION_
    TLS_1_2 --> "TLS1.2"), instead of maintaining a mapping table, this
    patch calculates the number and generates the version string.
    
    Back-ported commit a2e0de3aa90f04593427628afeb7fe090dac93fb
    
    https://fedorahosted.org/389/ticket/47945
    (cherry picked from commit d62b281480c4c17438a6541c150bdb1e80abf14f)
    (cherry picked from commit 0680446be988316e26715a2c3dbeb3163f7f6e85)
    
        
file modified
+61 -54