PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <float.h>
#include <stdio.h>
#include "libpq/libpq.h"
#include "libpq/libpq-be.h"
#include "utils/guc.h"
Go to the source code of this file.
Functions | |
static int | rot13_passphrase (char *buf, int size, int rwflag, void *userdata) |
static void | set_rot13 (SSL_CTX *context, bool isServerStart) |
void | _PG_init (void) |
Variables | |
PG_MODULE_MAGIC | |
static char * | ssl_passphrase = NULL |
void _PG_init | ( | void | ) |
Definition at line 35 of file ssl_passphrase_func.c.
References DefineCustomStringVariable(), MarkGUCPrefixReserved(), openssl_tls_init_hook, PGC_SIGHUP, set_rot13(), and ssl_passphrase.
|
static |
Definition at line 67 of file ssl_passphrase_func.c.
References Assert, buf, size, ssl_passphrase, and strlcpy().
Referenced by set_rot13().
|
static |
Definition at line 56 of file ssl_passphrase_func.c.
References context, ereport, errmsg(), rot13_passphrase(), ssl_passphrase_command, and WARNING.
Referenced by _PG_init().
PG_MODULE_MAGIC |
Definition at line 21 of file ssl_passphrase_func.c.
|
static |
Definition at line 23 of file ssl_passphrase_func.c.
Referenced by _PG_init(), and rot13_passphrase().