5730647421
* doc/gpgme.texi: Document requirements of verifying that it is OK to use session_key. * tests/run-decrypt.c: Ensure that we fail if we're unable to access the session key, so that we do not violate the guidance above. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Changed the description -@code{gpgme_set_ctx_flag (ctx, "export-session-key")} returns -@code{GPG_ERR_NO_ERROR} or @code{gpgme_get_ctx_flag (ctx, -"export-session-key")} returns @code{"1"}. +@code{gpgme_set_ctx_flag (ctx, "export-session-key")} returns success +or @code{gpgme_get_ctx_flag (ctx, "export-session-key")} returns true +(non-empty string). to get gpgme_get_ctx_flag for boolean values in sync with its own description. Note that I don't agree with the above suggestion but it does not really harm to have it in the man page. Signed-off-by: Werner Koch <wk@gnupg.org> |
||
---|---|---|
.. | ||
gpg | ||
gpgsm | ||
opassuan | ||
.gitignore | ||
ChangeLog-2011 | ||
Makefile.am | ||
run-decrypt.c | ||
run-encrypt.c | ||
run-export.c | ||
run-genkey.c | ||
run-identify.c | ||
run-import.c | ||
run-keylist.c | ||
run-keysign.c | ||
run-sign.c | ||
run-support.h | ||
run-swdb.c | ||
run-tofu.c | ||
run-verify.c | ||
start-stop-agent | ||
t-data-1.txt | ||
t-data-2.txt | ||
t-data.c | ||
t-engine-info.c | ||
t-version.c |