1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-05 23:56:58 +03:00

Make capitalization of term "OpenSSL" more consistent

This includes code comments and documentation.  No backpatch as this is
cosmetic even if there are documentation changes which are user-facing.

Author: Daniel Gustafsson
Discussion: https://postgr.es/m/BB89928E-2BC7-489E-A5E4-6D204B3954CF@yesql.se
This commit is contained in:
Michael Paquier 2018-06-29 09:45:44 +09:00
parent f5545287dc
commit dad5f8a3d5
13 changed files with 17 additions and 17 deletions

View File

@ -408,7 +408,7 @@ gen_ossl_encrypt(PX_Cipher *c, const uint8 *data, unsigned dlen,
/* Blowfish */ /* Blowfish */
/* /*
* Check if strong crypto is supported. Some openssl installations * Check if strong crypto is supported. Some OpenSSL installations
* support only short keys and unfortunately BF_set_key does not return any * support only short keys and unfortunately BF_set_key does not return any
* error value. This function tests if is possible to use strong key. * error value. This function tests if is possible to use strong key.
*/ */

View File

@ -293,11 +293,11 @@ $ENV{MSBFLAGS}="/m";
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><productname>openssl</productname></term> <term><productname>OpenSSL</productname></term>
<listitem><para> <listitem><para>
Required for SSL support. Binaries can be downloaded from Required for SSL support. Binaries can be downloaded from
<ulink url="http://www.slproweb.com/products/Win32OpenSSL.html"></ulink> <ulink url="http://www.slproweb.com/products/Win32OpenSSL.html"></ulink>
or source from <ulink url="http://www.openssl.org"></ulink>. or source from <ulink url="https://www.openssl.org"></ulink>.
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>
@ -348,7 +348,7 @@ $ENV{MSBFLAGS}="/m";
<para> <para>
To use a server-side third party library such as <productname>python</productname> or To use a server-side third party library such as <productname>python</productname> or
<productname>openssl</productname>, this library <emphasis>must</emphasis> also be <productname>OpenSSL</productname>, this library <emphasis>must</emphasis> also be
64-bit. There is no support for loading a 32-bit library in a 64-bit 64-bit. There is no support for loading a 32-bit library in a 64-bit
server. Several of the third party libraries that PostgreSQL supports may server. Several of the third party libraries that PostgreSQL supports may
only be available in 32-bit versions, in which case they cannot be used with only be available in 32-bit versions, in which case they cannot be used with

View File

@ -1705,7 +1705,7 @@
<para> <para>
This is reportedly possible with some Windows versions of This is reportedly possible with some Windows versions of
<application>openssl</application>. <application>OpenSSL</application>.
</para> </para>
</listitem> </listitem>

View File

@ -3320,7 +3320,7 @@
<para> <para>
This is reportedly possible with some Windows versions of This is reportedly possible with some Windows versions of
<application>openssl</application>. <application>OpenSSL</application>.
</para> </para>
</listitem> </listitem>

View File

@ -5661,7 +5661,7 @@
<para> <para>
This is reportedly possible with some Windows versions of This is reportedly possible with some Windows versions of
<application>openssl</application>. <application>OpenSSL</application>.
</para> </para>
</listitem> </listitem>

View File

@ -808,7 +808,7 @@ UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
<listitem> <listitem>
<para> <para>
In MSVC builds, handle the case where the <application>openssl</application> In MSVC builds, handle the case where the <application>OpenSSL</application>
library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan) library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan)
</para> </para>
</listitem> </listitem>

View File

@ -1813,7 +1813,7 @@ UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
<listitem> <listitem>
<para> <para>
In MSVC builds, handle the case where the <application>openssl</application> In MSVC builds, handle the case where the <application>OpenSSL</application>
library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan) library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan)
</para> </para>
</listitem> </listitem>

View File

@ -2065,7 +2065,7 @@ Branch: REL9_4_STABLE [23a2b818f] 2017-08-05 14:56:40 -0700
<listitem> <listitem>
<para> <para>
In MSVC builds, handle the case where the <application>openssl</application> In MSVC builds, handle the case where the <application>OpenSSL</application>
library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan) library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan)
</para> </para>
</listitem> </listitem>

View File

@ -2283,7 +2283,7 @@ Branch: REL9_2_STABLE [1188b9b2c] 2017-08-02 15:07:21 -0400
<listitem> <listitem>
<para> <para>
In MSVC builds, handle the case where the <application>openssl</application> In MSVC builds, handle the case where the <application>OpenSSL</application>
library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan) library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan)
</para> </para>
</listitem> </listitem>

View File

@ -3308,7 +3308,7 @@ Branch: REL9_3_STABLE [da30fa603] 2017-06-05 20:40:47 -0400
Branch: REL9_2_STABLE [f964a7c5a] 2017-06-05 20:41:01 -0400 Branch: REL9_2_STABLE [f964a7c5a] 2017-06-05 20:41:01 -0400
--> -->
<para> <para>
In MSVC builds, handle the case where the <application>openssl</application> In MSVC builds, handle the case where the <application>OpenSSL</application>
library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan) library is not within a <filename>VC</filename> subdirectory (Andrew Dunstan)
</para> </para>
</listitem> </listitem>

View File

@ -187,7 +187,7 @@ be_tls_init(bool isServerStart)
SSL_CTX_set_options(context, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); SSL_CTX_set_options(context, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
/* disallow SSL session tickets */ /* disallow SSL session tickets */
#ifdef SSL_OP_NO_TICKET /* added in openssl 0.9.8f */ #ifdef SSL_OP_NO_TICKET /* added in OpenSSL 0.9.8f */
SSL_CTX_set_options(context, SSL_OP_NO_TICKET); SSL_CTX_set_options(context, SSL_OP_NO_TICKET);
#endif #endif
@ -638,7 +638,7 @@ be_tls_write(Port *port, void *ptr, size_t len, int *waitfor)
* Private substitute BIO: this does the sending and receiving using send() and * Private substitute BIO: this does the sending and receiving using send() and
* recv() instead. This is so that we can enable and disable interrupts * recv() instead. This is so that we can enable and disable interrupts
* just while calling recv(). We cannot have interrupts occurring while * just while calling recv(). We cannot have interrupts occurring while
* the bulk of openssl runs, because it uses malloc() and possibly other * the bulk of OpenSSL runs, because it uses malloc() and possibly other
* non-reentrant libc facilities. We also need to call send() and recv() * non-reentrant libc facilities. We also need to call send() and recv()
* directly so it gets passed through the socket/signals layer on Win32. * directly so it gets passed through the socket/signals layer on Win32.
* *
@ -736,7 +736,7 @@ my_BIO_s_socket(void)
return my_bio_methods; return my_bio_methods;
} }
/* This should exactly match openssl's SSL_set_fd except for using my BIO */ /* This should exactly match OpenSSL's SSL_set_fd except for using my BIO */
static int static int
my_SSL_set_fd(Port *port, int fd) my_SSL_set_fd(Port *port, int fd)
{ {

View File

@ -1588,7 +1588,7 @@ my_BIO_s_socket(void)
return my_bio_methods; return my_bio_methods;
} }
/* This should exactly match openssl's SSL_set_fd except for using my BIO */ /* This should exactly match OpenSSL's SSL_set_fd except for using my BIO */
static int static int
my_SSL_set_fd(PGconn *conn, int fd) my_SSL_set_fd(PGconn *conn, int fd)
{ {

View File

@ -32,7 +32,7 @@ SSLFILES := $(CERTIFICATES:%=ssl/%.key) $(CERTIFICATES:%=ssl/%.crt) \
# This target generates all the key and certificate files. # This target generates all the key and certificate files.
sslfiles: $(SSLFILES) sslfiles: $(SSLFILES)
# Openssl requires a directory to put all generated certificates in. We don't # OpenSSL requires a directory to put all generated certificates in. We don't
# use this for anything, but we need a location. # use this for anything, but we need a location.
ssl/new_certs_dir: ssl/new_certs_dir:
mkdir ssl/new_certs_dir mkdir ssl/new_certs_dir