Skip to content

Commit 3831636

Browse files
committed
const-ify info_cb() to match recent openssl releases. Per Joe Conway.
1 parent f779a34 commit 3831636

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/libpq/be-secure.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.30 2003/04/19 00:02:29 tgl Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.31 2003/04/25 04:37:23 tgl Exp $
1515
*
1616
* Since the server static private key ($DataDir/server.key)
1717
* will normally be stored unencrypted so that the database
@@ -115,7 +115,7 @@ static DH *load_dh_file(int keylength);
115115
static DH *load_dh_buffer(const char *, size_t);
116116
static DH *tmp_dh_cb(SSL *s, int is_export, int keylength);
117117
static int verify_cb(int, X509_STORE_CTX *);
118-
static void info_cb(SSL *ssl, int type, int args);
118+
static void info_cb(const SSL *ssl, int type, int args);
119119
static int initialize_SSL(void);
120120
static void destroy_SSL(void);
121121
static int open_server_SSL(Port *);
@@ -547,7 +547,7 @@ verify_cb(int ok, X509_STORE_CTX *ctx)
547547
* into the PostgreSQL log.
548548
*/
549549
static void
550-
info_cb(SSL *ssl, int type, int args)
550+
info_cb(const SSL *ssl, int type, int args)
551551
{
552552
switch (type)
553553
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy