mirror of
https://github.com/postgres/postgres.git
synced 2025-11-03 09:13:20 +03:00
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.
This commit is contained in:
@@ -90,6 +90,7 @@ extern ssize_t secure_read(Port *port, void *ptr, size_t len);
|
||||
extern ssize_t secure_write(Port *port, void *ptr, size_t len);
|
||||
extern ssize_t secure_raw_read(Port *port, void *ptr, size_t len);
|
||||
extern ssize_t secure_raw_write(Port *port, const void *ptr, size_t len);
|
||||
extern bool check_ssl_key_file_permissions(const char *ssl_key_file, bool isServerStart);
|
||||
|
||||
extern bool ssl_loaded_verify_locations;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user