File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11
11
*
12
12
*
13
13
* IDENTIFICATION
14
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.117 2009/01/19 08:59:13 petere Exp $
14
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.118 2009/01/19 17:17:50 tgl Exp $
15
15
*
16
16
* NOTES
17
17
*
@@ -1043,13 +1043,14 @@ initialize_SSL(PGconn *conn)
1043
1043
}
1044
1044
1045
1045
SSL_CTX_set_verify (SSL_context , SSL_VERIFY_PEER , verify_cb );
1046
- } /* root certificate exists */
1046
+ }
1047
1047
else
1048
1048
{
1049
+ /* stat() failed; assume cert file doesn't exist */
1049
1050
if (strcmp (conn -> sslverify , "none" ) != 0 )
1050
1051
{
1051
1052
printfPQExpBuffer (& conn -> errorMessage ,
1052
- libpq_gettext ("root certificate file »%s« does not exist" ), fnbuf );
1053
+ libpq_gettext ("root certificate file \"%s\" does not exist" ), fnbuf );
1053
1054
return -1 ;
1054
1055
}
1055
1056
}
You can’t perform that action at this time.
0 commit comments