Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cc1d292

Browse files
committed
Fix accidental (I suppose) introduction of non-ASCII quote marks.
1 parent cfb9c7f commit cc1d292

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/interfaces/libpq/fe-secure.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* 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 $
1515
*
1616
* NOTES
1717
*
@@ -1043,13 +1043,14 @@ initialize_SSL(PGconn *conn)
10431043
}
10441044

10451045
SSL_CTX_set_verify(SSL_context, SSL_VERIFY_PEER, verify_cb);
1046-
} /* root certificate exists */
1046+
}
10471047
else
10481048
{
1049+
/* stat() failed; assume cert file doesn't exist */
10491050
if (strcmp(conn->sslverify, "none") != 0)
10501051
{
10511052
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);
10531054
return -1;
10541055
}
10551056
}

0 commit comments

Comments
 (0)