mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
detached signatures are working
This commit is contained in:
parent
cccf1efa4b
commit
3b1b6f9d98
6 changed files with 91 additions and 8 deletions
|
@ -79,6 +79,15 @@ typedef struct {
|
|||
|
||||
int cipher_debug_mode;
|
||||
|
||||
#ifdef HAVE_RSA_CIPHER
|
||||
#define is_valid_pubkey_algo(a) ( (a) == PUBKEY_ALGO_ELGAMAL \
|
||||
|| (a) == PUBKEY_ALGO_RSA )
|
||||
#else
|
||||
#define is_valid_pubkey_algo(a) ( (a) == PUBKEY_ALGO_ELGAMAL )
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*-- md.c --*/
|
||||
int md_okay( int algo );
|
||||
MD_HANDLE *md_open( int algo, int secure );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue