Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3831636

Browse files
committed
const-ify info_cb() to match recent openssl releases. Per Joe Conway.
1 parentf779a34 commit3831636

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
staticDH*load_dh_buffer(constchar*,size_t);
116116
staticDH*tmp_dh_cb(SSL*s,intis_export,intkeylength);
117117
staticintverify_cb(int,X509_STORE_CTX*);
118-
staticvoidinfo_cb(SSL*ssl,inttype,intargs);
118+
staticvoidinfo_cb(constSSL*ssl,inttype,intargs);
119119
staticintinitialize_SSL(void);
120120
staticvoiddestroy_SSL(void);
121121
staticintopen_server_SSL(Port*);
@@ -547,7 +547,7 @@ verify_cb(int ok, X509_STORE_CTX *ctx)
547547
*into the PostgreSQL log.
548548
*/
549549
staticvoid
550-
info_cb(SSL*ssl,inttype,intargs)
550+
info_cb(constSSL*ssl,inttype,intargs)
551551
{
552552
switch (type)
553553
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp