Skip to content

Commit 8bfc2b1

Browse 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 fcf0246 commit 8bfc2b1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

contrib/pgcrypto/pgp-pgsql.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,10 @@ set_arg(PGP_Context *ctx, char *key, char *val,
260260
res = pgp_set_convert_crlf(ctx, atoi(val));
261261
else if (strcmp(key, "unicode-mode") == 0)
262262
res = pgp_set_unicode_mode(ctx, atoi(val));
263-
/* decrypt debug */
263+
/*
264+
* The remaining options are for debugging/testing and are therefore not
265+
* documented in the user-facing docs.
266+
*/
264267
else if (ex != NULL && strcmp(key, "debug") == 0)
265268
ex->debug = atoi(val);
266269
else if (ex != NULL && strcmp(key, "expect-cipher-algo") == 0)

doc/src/sgml/pgcrypto.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,11 +728,11 @@ Applies to: pgp_sym_encrypt, pgp_pub_encrypt
728728
</sect4>
729729

730730
<sect4>
731-
<title>enable-session-key</title>
731+
<title>sess-key</title>
732732

733733
<para>
734734
Use separate session key. Public-key encryption always uses a separate
735-
session key; this is for symmetric-key encryption, which by default
735+
session key; this option is for symmetric-key encryption, which by default
736736
uses the S2K key directly.
737737
</para>
738738
<literallayout>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy