1111 *
1212 *
1313 * IDENTIFICATION
14- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.116 2009/01/07 12:02:46 mha Exp $
14+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.117 2009/01/19 08:59:13 petere Exp $
1515 *
1616 * NOTES
1717 *
@@ -508,7 +508,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
508508if (conn -> pghostaddr )
509509{
510510printfPQExpBuffer (& conn -> errorMessage ,
511- libpq_gettext ("verified SSL connections are only supported when connecting to ahostname " ));
511+ libpq_gettext ("verified SSL connections are only supported when connecting to ahost name " ));
512512return false;
513513}
514514else
@@ -527,7 +527,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
527527else
528528{
529529printfPQExpBuffer (& conn -> errorMessage ,
530- libpq_gettext ("server common name'%s' does not matchhostname '%s' " ),
530+ libpq_gettext ("server common name\"%s\" does not matchhost name \"%s\" " ),
531531conn -> peer_cn ,conn -> pghost );
532532return false;
533533}
@@ -569,7 +569,7 @@ client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
569569if (!pqGetHomeDirectory (homedir ,sizeof (homedir )))
570570{
571571printfPQExpBuffer (& conn -> errorMessage ,
572- libpq_gettext ("cannot find home directory to locate client certificate files" ));
572+ libpq_gettext ("could not get home directory to locate client certificate files" ));
573573return 0 ;
574574}
575575}
@@ -983,7 +983,7 @@ initialize_SSL(PGconn *conn)
983983if (strcmp (conn -> sslverify ,"none" )!= 0 )
984984{
985985printfPQExpBuffer (& conn -> errorMessage ,
986- libpq_gettext ("cannot find home directory to locate root certificate file" ));
986+ libpq_gettext ("could not get home directory to locate root certificate file" ));
987987return -1 ;
988988}
989989}
@@ -1049,7 +1049,7 @@ initialize_SSL(PGconn *conn)
10491049if (strcmp (conn -> sslverify ,"none" )!= 0 )
10501050{
10511051printfPQExpBuffer (& conn -> errorMessage ,
1052- libpq_gettext ("root certificate file(%s) notfound " ),fnbuf );
1052+ libpq_gettext ("root certificate file»%s« does notexist " ),fnbuf );
10531053return -1 ;
10541054}
10551055}