Extract common bits from OpenSSL implementation Some things in be-secure-openssl.c and fe-secure-openssl.c were not actually specific to OpenSSL but could also be used by other implementations. In order to avoid copy-and-pasting, move some of that code to common files.
Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1c2183403b958422c27782329ba19f9a3e0874ba Modified Files -------------- src/backend/libpq/be-secure-openssl.c | 62 +--------------------------- src/backend/libpq/be-secure.c | 71 ++++++++++++++++++++++++++++++++ src/include/libpq/libpq.h | 1 + src/interfaces/libpq/fe-secure-openssl.c | 8 ---- src/interfaces/libpq/fe-secure.c | 14 ++++--- 5 files changed, 81 insertions(+), 75 deletions(-)