npgsql/Npgsql — pull request #183 by franciscojunior (2014-03-11 17:15:48+00:00)
Title: Fix SSL connection setup problem reported in #176

After this patch: https://github.com/npgsql/Npgsql/commit/101585999206218e7c09b7b25e57a6d2d0b789da Npgsql was only using the SSLStream option.
The patch was supposed to allow the user to choose between Mono.Security ssl and SSLStream based on setting a validate remote certificate callback.
Unfortunately it didn't work because the callback is set by default which makes the code to always use SSLStream and by default, it doesn't validate any certificate.
With this fix another check was created where the user says through NpgsqlConnection if she wants or not to use the SSLStream.

After merging this patch, the user won't need to add any callback, unless she really wants to validate a remote certificate.
Now Npgsql continues to use Mono.Security ssl implementation by default unless user changes it using `NpgsqlConnection.UseSslStream = true`
Fix #176