diff --git a/contrib/pgcrypto/pgp-pgsql.c b/contrib/pgcrypto/pgp-pgsql.c index 371aedb847091e6dcef0c63d39496d908121f3d5..9bfad5d5e4f756bd0a5168462cd6c916938afb83 100644 --- a/contrib/pgcrypto/pgp-pgsql.c +++ b/contrib/pgcrypto/pgp-pgsql.c @@ -258,7 +258,10 @@ set_arg(PGP_Context *ctx, char *key, char *val, res = pgp_set_convert_crlf(ctx, atoi(val)); else if (strcmp(key, "unicode-mode") == 0) res = pgp_set_unicode_mode(ctx, atoi(val)); - /* decrypt debug */ + /* + * The remaining options are for debugging/testing and are therefore not + * documented in the user-facing docs. + */ else if (ex != NULL && strcmp(key, "debug") == 0) ex->debug = atoi(val); else if (ex != NULL && strcmp(key, "expect-cipher-algo") == 0) diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml index c0d14521a429039478b7673754e70b4f00dc33fd..e8c50385172d7bbf9e90d6fe790e240e4fdb2576 100644 --- a/doc/src/sgml/pgcrypto.sgml +++ b/doc/src/sgml/pgcrypto.sgml @@ -728,11 +728,11 @@ Applies to: pgp_sym_encrypt, pgp_pub_encrypt </sect4> <sect4> - <title>enable-session-key</title> + <title>sess-key</title> <para> Use separate session key. Public-key encryption always uses a separate - session key; this is for symmetric-key encryption, which by default + session key; this option is for symmetric-key encryption, which by default uses the S2K key directly. </para> <literallayout>