Fix typo in comment on OpenSSL PEM password callback type name.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 14 May 2020 10:53:16 +0000 (13:53 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 14 May 2020 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

src/interfaces/libpq/fe-secure-openssl.c

index 9913242b7a09352dc23d33e52e9736cd6acf60be..6d36e1439efcb258e963c7333f8c48b22c226925 100644 (file)
@@ -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)