Re: Avoid generating SSL certs for LDAP tests
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-12-19T15:25:38Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes: > We don't generate SSL certificates for running the SSL tests, but > instead use pregenerated certificates that are part of our source code. > This patch applies the same policy to the LDAP tests, and in fact simply > reuses certificates from the SSL test suite by copying them. It won't > save much but it should save a handful of cycles at run time. +1, but should there be a comment somewhere under test/ssl pointing out this external use of the certs? Also, I bet this needs some adjustment for VPATH builds. regards, tom lane
Commits
-
Use existing SSL certs in LDAP tests instead of generating them
- f03bd5717eaf 16.0 landed