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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ffd3980) | patch
Provide a TLS init hook
2020年3月25日 21:13:17 +0000 (17:13 -0400)
2020年3月25日 21:13:17 +0000 (17:13 -0400)
commit 896fcdb230e729652d37270c8606ccdc45212f0d
Provide a TLS init hook

The default hook function sets the default password callback function.
In order to allow preloaded libraries to have an opportunity to override
the default, TLS initialization if now delayed slightly until after
shared preloaded libraries have been loaded.

A test module is provided which contains a trivial example that decodes
an obfuscated password for an SSL certificate.

Author: Andrew Dunstan
Reviewed By: Andreas Karlsson, Asaba Takanori
Discussion: https://postgr.es/m/04116472-818b-5859-1d74-3d995aab2252@2ndQuadrant.com
src/backend/libpq/be-secure-openssl.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/include/libpq/libpq-be.h diff | blob | blame | history
src/test/modules/Makefile diff | blob | blame | history
src/test/modules/ssl_passphrase_callback/.gitignore [new file with mode: 0644] blob
src/test/modules/ssl_passphrase_callback/Makefile [new file with mode: 0644] blob
src/test/modules/ssl_passphrase_callback/server.crt [new file with mode: 0644] blob
src/test/modules/ssl_passphrase_callback/server.key [new file with mode: 0644] blob
src/test/modules/ssl_passphrase_callback/ssl_passphrase_func.c [new file with mode: 0644] blob
src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl [new file with mode: 0644] blob
src/tools/msvc/Mkvcbuild.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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