0d1087d 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.
    
    https://fedorahosted.org/389/ticket/47945
    
    Reviewed and adviced by rmeggins@redhat.com (Thanks a lot, Rich!!)
    
    (cherry picked from commit a2e0de3aa90f04593427628afeb7fe090dac93fb)
    
        
file modified
+51 -34
file modified
+104 -90