PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <sys/stat.h>
#include <unistd.h>
#include "common/string.h"
#include "libpq/libpq.h"
#include "storage/fd.h"
Go to the source code of this file.
Functions | |
int | run_ssl_passphrase_command (const char *prompt, bool is_server_start, char *buf, int size) |
bool | check_ssl_key_file_permissions (const char *ssl_key_file, bool isServerStart) |
Definition at line 132 of file be-secure-common.c.
References buf, ereport, errcode(), errcode_for_file_access(), errdetail(), errmsg(), FATAL, LOG, S_IRWXG, S_IRWXO, S_ISREG, S_IWGRP, S_IXGRP, ssl_key_file, and stat.
Referenced by be_tls_init().
int run_ssl_passphrase_command | ( | const char * | prompt, |
bool | is_server_start, | ||
char * | buf, | ||
int | size | ||
) |
Definition at line 39 of file be-secure-common.c.
References appendStringInfoChar(), appendStringInfoString(), Assert(), buf, ClosePipeStream(), StringInfoData::data, ereport, errcode_for_file_access(), errdetail_internal(), errmsg(), ERROR, error(), explicit_bzero(), initStringInfo(), len, LOG, OpenPipeStream(), pfree(), pg_strip_crlf(), ssl_passphrase_command, and wait_result_to_str().
Referenced by ssl_external_passwd_cb().