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: 34dae90)
Fix typo in comment on OpenSSL PEM password callback type name.
2020年5月14日 10:53:16 +0000 (13:53 +0300)
2020年5月14日 10:57:00 +0000 (13:57 +0300)
The type is called "pem_password_cb", not "pem_passwd_cb".

Author: Daniel Gustafsson
Discussion: https://www.postgresql.org/message-id/22108CF6-228B-45CF-9CDA-5C5F658DCC22@yesql.se


diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c
index 9913242b7a09352dc23d33e52e9736cd6acf60be..6d36e1439efcb258e963c7333f8c48b22c226925 100644 (file)
--- a/src/interfaces/libpq/fe-secure-openssl.c
+++ b/src/interfaces/libpq/fe-secure-openssl.c
@@ -1702,7 +1702,7 @@ PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook)
/*
* Supply a password to decrypt a client certificate.
*
- * This must match OpenSSL type pem_passwd_cb.
+ * This must match OpenSSL type pem_password_cb.
*/
static int
PQssl_passwd_cb(char *buf, int size, int rwflag, void *userdata)
This is the main PostgreSQL git repository.
RSS Atom

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