mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g10: Minor clean up.
* g10/main.h (complete_sig): Remove declaration. * g10/sign.c (complete_sig): Make it static. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
247932f367
commit
2262a80c5f
@ -242,8 +242,6 @@ int write_pubkey_enc (ctrl_t ctrl, PKT_public_key *pk, int throw_keyid,
|
|||||||
DEK *dek, iobuf_t out);
|
DEK *dek, iobuf_t out);
|
||||||
|
|
||||||
/*-- sign.c --*/
|
/*-- sign.c --*/
|
||||||
int complete_sig (ctrl_t ctrl, PKT_signature *sig, PKT_public_key *pksk,
|
|
||||||
gcry_md_hd_t md, const char *cache_nonce);
|
|
||||||
int sign_file (ctrl_t ctrl, strlist_t filenames, int detached, strlist_t locusr,
|
int sign_file (ctrl_t ctrl, strlist_t filenames, int detached, strlist_t locusr,
|
||||||
int do_encrypt, strlist_t remusr, const char *outfile );
|
int do_encrypt, strlist_t remusr, const char *outfile );
|
||||||
int clearsign_file (ctrl_t ctrl,
|
int clearsign_file (ctrl_t ctrl,
|
||||||
|
@ -339,7 +339,7 @@ do_sign (ctrl_t ctrl, PKT_public_key *pksk, PKT_signature *sig,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
static int
|
||||||
complete_sig (ctrl_t ctrl,
|
complete_sig (ctrl_t ctrl,
|
||||||
PKT_signature *sig, PKT_public_key *pksk, gcry_md_hd_t md,
|
PKT_signature *sig, PKT_public_key *pksk, gcry_md_hd_t md,
|
||||||
const char *cache_nonce)
|
const char *cache_nonce)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user