The initialization in PostmasterMain() blindly turns on LoadedSSL, irrespective of the outcome of secure_initialize(). I don't think that's how it should behave, primarily because of the pattern followed by the other places that call secure_initialize().
This patch makes PostmasterMain() behave identical to other places (SIGHUP handler, and SubPostmasterMain()) where LoadedSSL is turned on after checking success of secure_initialize() call. Upon failure of secure_initialize(), it now emits a log message, instead of setting LoadedSSL to true. Best regards, Gurjeet http://Gurje.et
LoadedSSL.patch
Description: Binary data