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

Commit20d6293

Browse files
committed
Add missing newlines to some SSL-related error messages. Noted while testing.
1 parentb486e7f commit20d6293

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/interfaces/libpq/fe-secure.c

Lines changed: 5 additions & 5 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.132 2010/02/26 02:01:33 momjian Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.133 2010/05/25 22:03:27 tgl Exp $
1515
*
1616
* NOTES
1717
*
@@ -600,7 +600,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
600600
if (conn->pghostaddr)
601601
{
602602
printfPQExpBuffer(&conn->errorMessage,
603-
libpq_gettext("verified SSL connections are only supported when connecting to a host name"));
603+
libpq_gettext("verified SSL connections are only supported when connecting to a host name\n"));
604604
return false;
605605
}
606606
else
@@ -619,7 +619,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
619619
else
620620
{
621621
printfPQExpBuffer(&conn->errorMessage,
622-
libpq_gettext("server common name \"%s\" does not match host name \"%s\""),
622+
libpq_gettext("server common name \"%s\" does not match host name \"%s\"\n"),
623623
conn->peer_cn,conn->pghost);
624624
return false;
625625
}
@@ -661,7 +661,7 @@ client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
661661
if (!pqGetHomeDirectory(homedir,sizeof(homedir)))
662662
{
663663
printfPQExpBuffer(&conn->errorMessage,
664-
libpq_gettext("could not get home directory to locate client certificate files"));
664+
libpq_gettext("could not get home directory to locate client certificate files\n"));
665665
return0;
666666
}
667667
}
@@ -1091,7 +1091,7 @@ initialize_SSL(PGconn *conn)
10911091
* "verify-full" */
10921092
{
10931093
printfPQExpBuffer(&conn->errorMessage,
1094-
libpq_gettext("could not get home directory to locate root certificate file"));
1094+
libpq_gettext("could not get home directory to locate root certificate file\n"));
10951095
return-1;
10961096
}
10971097
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp