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)
600600if (conn -> pghostaddr )
601601{
602602printfPQExpBuffer (& 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 " ));
604604return false;
605605}
606606else
@@ -619,7 +619,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
619619else
620620{
621621printfPQExpBuffer (& 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 " ),
623623conn -> peer_cn ,conn -> pghost );
624624return false;
625625}
@@ -661,7 +661,7 @@ client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
661661if (!pqGetHomeDirectory (homedir ,sizeof (homedir )))
662662{
663663printfPQExpBuffer (& 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 " ));
665665return 0 ;
666666}
667667}
@@ -1091,7 +1091,7 @@ initialize_SSL(PGconn *conn)
10911091 * "verify-full" */
10921092{
10931093printfPQExpBuffer (& 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 " ));
10951095return -1 ;
10961096}
10971097}