Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit65b0de4

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 thatthe debugging options are intentionally undocumented.
1 parent9decab8 commit65b0de4

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
@@ -258,7 +258,10 @@ set_arg(PGP_Context *ctx, char *key, char *val,
258258
res=pgp_set_convert_crlf(ctx,atoi(val));
259259
elseif (strcmp(key,"unicode-mode")==0)
260260
res=pgp_set_unicode_mode(ctx,atoi(val));
261-
/* decrypt debug */
261+
/*
262+
* The remaining options are for debugging/testing and are therefore not
263+
* documented in the user-facing docs.
264+
*/
262265
elseif (ex!=NULL&&strcmp(key,"debug")==0)
263266
ex->debug=atoi(val);
264267
elseif (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
@@ -793,11 +793,11 @@ Applies to: pgp_sym_encrypt, pgp_pub_encrypt
793793
</sect4>
794794

795795
<sect4>
796-
<title>enable-session-key</title>
796+
<title>sess-key</title>
797797

798798
<para>
799799
Use separate session key. Public-key encryption always uses a separate
800-
session key; this is for symmetric-key encryption, which by default
800+
session key; thisoptionis for symmetric-key encryption, which by default
801801
uses the S2K key directly.
802802
</para>
803803
<literallayout>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp