*** pgsql/src/backend/libpq/be-secure.c 2009/01/28 15:06:47 1.90 --- pgsql/src/backend/libpq/be-secure.c 2009/05/11 08:06:21 1.91 *************** *** 11,17 **** * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.89 2009/01/01 17:23:42 momjian Exp $ * * Since the server static private key ($DataDir/server.key) * will normally be stored unencrypted so that the database --- 11,17 ---- * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.90 2009/01/28 15:06:47 mha Exp $ * * Since the server static private key ($DataDir/server.key) * will normally be stored unencrypted so that the database *************** initialize_SSL(void) *** 729,737 **** /* * Load and verify certificate and private key */ ! if (SSL_CTX_use_certificate_file(SSL_context, ! SERVER_CERT_FILE, ! SSL_FILETYPE_PEM) != 1) ereport(FATAL, (errcode(ERRCODE_CONFIG_FILE_ERROR), errmsg("could not load server certificate file \"%s\": %s", --- 729,736 ---- /* * Load and verify certificate and private key */ ! if (SSL_CTX_use_certificate_chain_file(SSL_context, ! SERVER_CERT_FILE) != 1) ereport(FATAL, (errcode(ERRCODE_CONFIG_FILE_ERROR), errmsg("could not load server certificate file \"%s\": %s",