git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c1669fd)
Fix comment in be-secure-openssl.c
Thu, 4 Jun 2020 04:02:59 +0000 (13:02 +0900)
Thu, 4 Jun 2020 04:02:59 +0000 (13:02 +0900)
Since 573bd08, hardcoded DH parameters have been moved to a different
file, making the comment on top of load_dh_buffer() incorrect.

Author: Daniel Gustafsson
Discussion: https://postgr.es/m/D9492CCB-9A91-4181-A847-1779630BE2A7@yesql.se


diff --git a/src/backend/libpq/be-secure-openssl.c b/src/backend/libpq/be-secure-openssl.c
index 78a865d23b6617b98500a2028ba9d0ea771816ce..8adf64c78eeedf97e28a95f190eb57c8bf6ddd40 100644 (file)
--- a/src/backend/libpq/be-secure-openssl.c
+++ b/src/backend/libpq/be-secure-openssl.c
@@ -872,8 +872,9 @@ load_dh_file(char *filename, bool isServerStart)
/*
* Load hardcoded DH parameters.
*
- * To prevent problems if the DH parameters files don't even
- * exist, we can load DH parameters hardcoded into this file.
+ * If DH parameters cannot be loaded from a specified file, we can load
+ * the hardcoded DH parameters supplied with the backend to prevent
+ * problems.
*/
static DH *
load_dh_buffer(const char *buffer, size_t len)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /