]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Docs: fix incorrect spelling of contrib/pgcrypto option.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Nov 2014 16:11:34 +0000 (11:11 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Nov 2014 16:11:59 +0000 (11:11 -0500)
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.

contrib/pgcrypto/pgp-pgsql.c
doc/src/sgml/pgcrypto.sgml

index af3339efc9f486b58d70d61321d1ee497a32ec8a..0117dc729907ef7b1fac1f0f535ee8a25b4c99e9 100644 (file)
@@ -260,7 +260,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)
index 34a05654ab9c9d037c16538ace734dc7f0916b25..5b19f9fc0c99275e4b027dd3dcb380b0af0792bb 100644 (file)
@@ -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>