Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f443de8

Browse filesBrowse files
committed
Docs: fix incorrect spelling of contrib/pgcrypto option.
pgp_sym_encrypt's option is spelled "sess-key", not "enable-session-key". Spotted by Jeff Janes. In passing, improve a comment in pgp-pgsql.c to make it clearer that the debugging options are intentionally undocumented.
1 parent 1ed8e77 commit f443de8
Copy full SHA for f443de8

File tree

Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed

‎contrib/pgcrypto/pgp-pgsql.c

Copy file name to clipboardExpand all lines: contrib/pgcrypto/pgp-pgsql.c
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,10 @@ set_arg(PGP_Context *ctx, char *key, char *val,
259259
res = pgp_set_convert_crlf(ctx, atoi(val));
260260
else if (strcmp(key, "unicode-mode") == 0)
261261
res = pgp_set_unicode_mode(ctx, atoi(val));
262-
/* decrypt debug */
262+
/*
263+
* The remaining options are for debugging/testing and are therefore not
264+
* documented in the user-facing docs.
265+
*/
263266
else if (ex != NULL && strcmp(key, "debug") == 0)
264267
ex->debug = atoi(val);
265268
else if (ex != NULL && strcmp(key, "expect-cipher-algo") == 0)

‎doc/src/sgml/pgcrypto.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/pgcrypto.sgml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,11 +828,11 @@ Applies to: pgp_sym_encrypt, pgp_pub_encrypt
828828
</sect4>
829829

830830
<sect4>
831-
<title>enable-session-key</title>
831+
<title>sess-key</title>
832832

833833
<para>
834834
Use separate session key. Public-key encryption always uses a separate
835-
session key; this is for symmetric-key encryption, which by default
835+
session key; this option is for symmetric-key encryption, which by default
836836
uses the S2K key directly.
837837
</para>
838838
<literallayout>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.