1
0
Fork 0
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:
Werner Koch 1997-12-03 10:20:03 +00:00
parent cccf1efa4b
commit 3b1b6f9d98
6 changed files with 91 additions and 8 deletions

View file

@ -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 );