git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7e0d64c) | patch
Make be-secure-common.c more consistent for future SSL implementations
Mon, 2 Apr 2018 15:34:52 +0000 (11:34 -0400)
Mon, 2 Apr 2018 15:37:40 +0000 (11:37 -0400)
commit 2764d5dcfa84d240c901c20ec6e194f72d82b78a
Make be-secure-common.c more consistent for future SSL implementations

Recent commit 8a3d9425 has introduced be-secure-common.c, which is aimed
at including backend-side APIs that can be used by any SSL
implementation. The purpose is similar to fe-secure-common.c for the
frontend-side APIs.

However, this has forgotten to include check_ssl_key_file_permissions()
in the move, which causes a double dependency between be-secure.c and
be-secure-openssl.c.

Refactor the code in a more logical way. This also puts into light an
API which is usable by future SSL implementations for permissions on SSL
key files.

Author: Michael Paquier <michael@paquier.xyz>
src/backend/libpq/be-secure-common.c diff | blob | blame | history
src/backend/libpq/be-secure.c diff | blob | blame | history
src/include/libpq/libpq.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /