pgsql: Extract common bits from OpenSSL implementation

Lists: pgsql-committers
From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Extract common bits from OpenSSL implementation
Date: 2018-01-23 12:13:35
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

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(-)