mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-12 22:11:29 +02:00
doc: Minor comment fixes.
--
This commit is contained in:
parent
f10b427d0e
commit
56bf1061f8
11
g10/getkey.c
11
g10/getkey.c
@ -2602,7 +2602,7 @@ lookup (getkey_ctx_t ctx, kbnode_t *ret_keyblock, int want_secret)
|
|||||||
goto skip; /* No secret key available. */
|
goto skip; /* No secret key available. */
|
||||||
|
|
||||||
/* Warning: node flag bits 0 and 1 should be preserved by
|
/* Warning: node flag bits 0 and 1 should be preserved by
|
||||||
* merge_selfsigs. For secret keys, premerge did tranfer the
|
* merge_selfsigs. For secret keys, premerge transferred the
|
||||||
* keys to the keyblock. */
|
* keys to the keyblock. */
|
||||||
merge_selfsigs (ctx->keyblock);
|
merge_selfsigs (ctx->keyblock);
|
||||||
if (finish_lookup (ctx))
|
if (finish_lookup (ctx))
|
||||||
@ -2617,10 +2617,11 @@ lookup (getkey_ctx_t ctx, kbnode_t *ret_keyblock, int want_secret)
|
|||||||
/* Release resources and continue search. */
|
/* Release resources and continue search. */
|
||||||
release_kbnode (ctx->keyblock);
|
release_kbnode (ctx->keyblock);
|
||||||
ctx->keyblock = NULL;
|
ctx->keyblock = NULL;
|
||||||
/* We need to disable the caching so that for an exact key search we
|
/* We need to disable the caching so that for an exact key
|
||||||
won't get the result back from the cache and thus end up in an
|
search we won't get the result back from the cache and thus
|
||||||
endless loop. Disabling this here is sufficient because although
|
end up in an endless loop. Disabling the cache here at this
|
||||||
the result may have been cached, if won't be used then. */
|
point is sufficient because even a cached result won't be
|
||||||
|
used after a call to keydb_disable_caching. */
|
||||||
keydb_disable_caching (ctx->kr_handle);
|
keydb_disable_caching (ctx->kr_handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,12 +115,14 @@
|
|||||||
/* A EncFS based backend. This requires a whole directory which
|
/* A EncFS based backend. This requires a whole directory which
|
||||||
includes the encrypted files. Metadata is not encrypted. */
|
includes the encrypted files. Metadata is not encrypted. */
|
||||||
|
|
||||||
|
#define CONTTYPE_DM_CRYPT 2
|
||||||
|
/* A DM-Crypt based backend. */
|
||||||
|
|
||||||
|
|
||||||
#define CONTTYPE_TRUECRYPT 21571
|
#define CONTTYPE_TRUECRYPT 21571
|
||||||
/* A Truecrypt (www.truecrypt.org) based container. Due to the design
|
/* A Truecrypt (www.truecrypt.org) based container. Due to the design
|
||||||
of truecrypt this requires a second datafile because it is not
|
of truecrypt this requires a second datafile because it is not
|
||||||
possible to to prepend a truecrypt container with our keyblob. */
|
possible to prepend a truecrypt container with our keyblob. */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user