Fixed the subtle issues introduced after applying LDAPS patch: * LDAPS test messages are not logged * Some compilation issues
Fixed the subtle issues introduced after applying LDAPS patch:
* LDAPS test messages are not logged
* Some compilation issues



git-svn-id: 6b29d367764470d793a09e706c343bd065b63eb3@368603 13f79535-47bb-0310-9956-ffa450edef68

apache/directory-server,apache/directory-server,drankye/directory-server,lucastheisen/apache-directory-server,lucastheisen/apache-directory-server,darranl/directory-server,darranl/directory-server,drankye/directory-server