mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
const-ify info_cb() to match recent openssl releases. Per Joe Conway.
This commit is contained in:
parent
f779a34c16
commit
3831636645
@ -11,7 +11,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.30 2003/04/19 00:02:29 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.31 2003/04/25 04:37:23 tgl Exp $
|
||||||
*
|
*
|
||||||
* Since the server static private key ($DataDir/server.key)
|
* Since the server static private key ($DataDir/server.key)
|
||||||
* will normally be stored unencrypted so that the database
|
* will normally be stored unencrypted so that the database
|
||||||
@ -115,7 +115,7 @@ static DH *load_dh_file(int keylength);
|
|||||||
static DH *load_dh_buffer(const char *, size_t);
|
static DH *load_dh_buffer(const char *, size_t);
|
||||||
static DH *tmp_dh_cb(SSL *s, int is_export, int keylength);
|
static DH *tmp_dh_cb(SSL *s, int is_export, int keylength);
|
||||||
static int verify_cb(int, X509_STORE_CTX *);
|
static int verify_cb(int, X509_STORE_CTX *);
|
||||||
static void info_cb(SSL *ssl, int type, int args);
|
static void info_cb(const SSL *ssl, int type, int args);
|
||||||
static int initialize_SSL(void);
|
static int initialize_SSL(void);
|
||||||
static void destroy_SSL(void);
|
static void destroy_SSL(void);
|
||||||
static int open_server_SSL(Port *);
|
static int open_server_SSL(Port *);
|
||||||
@ -547,7 +547,7 @@ verify_cb(int ok, X509_STORE_CTX *ctx)
|
|||||||
* into the PostgreSQL log.
|
* into the PostgreSQL log.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
info_cb(SSL *ssl, int type, int args)
|
info_cb(const SSL *ssl, int type, int args)
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user