ssl: Add connection and reload tests for key passphrases ssl_passphrase_command_supports_reload was not covered by the SSL testsuite, and connection tests after unlocking secrets with the passphrase was also missing. This adds test coverage for reloads of passphrase commands as well as connection attempts which tests the different codepaths for Windows and non-EXEC_BACKEND builds.
Author: Daniel Gustafsson <[email protected]> Reviewed-by: Chao Li <[email protected]> Reviewed-by: Álvaro Herrera <[email protected]> Reviewed-by: Peter Eisentraut <[email protected]> Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/348020caa7beaa2e4b1bc10b1ea6eb2c97b894c0 Modified Files -------------- src/test/ssl/t/001_ssltests.pl | 90 ++++++++++++++++++++++++++++++++++++------ src/test/ssl/t/SSL/Server.pm | 14 ++++++- 2 files changed, 90 insertions(+), 14 deletions(-)
