Full_Name: Rich Megginson Version: 2.4.23 (current CVS HEAD) OS: RHEL5 URL: ftp://ftp.openldap.org/incoming/openldap-2.4.23-improve_trace_messages-20101111.patch Submission from: (NULL) (76.113.111.209)
The trace messages from tls_m.c are unhelpful and misleading in many cases. SSL_SecurityStatus() only works after the first handshake is complete, so use a handshake callback to print that information instead.
Since tlsm_session_chkhost handles the SSL_ERROR_BAD_CERT_DOMAIN case, we don't need to print out a message for that error.
This patch file is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the following patch(es) were developed by Red Hat. Red Hat has not assigned rights and/or interest in this work to any party. I, Rich Megginson am authorized by Red Hat, my employer, to release this work under the following terms.
Red Hat hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.