1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* g10.c (main): Accept "s1" in addition to "idea" to match the other

ciphers.

* main.h, misc.c (idea_cipher_warn): We don't need this if IDEA has been
disabled.
This commit is contained in:
David Shaw 2003-02-22 13:00:18 +00:00
parent 874fc78920
commit 6f41d06841
4 changed files with 17 additions and 1 deletions

View file

@ -289,6 +289,7 @@ openpgp_md_test_algo( int algo )
return check_digest_algo(algo);
}
#ifdef USE_IDEA
/* Special warning for the IDEA cipher */
void
idea_cipher_warn(int show)
@ -303,6 +304,7 @@ idea_cipher_warn(int show)
warned=1;
}
}
#endif
/* Expand %-strings. Returns a string which must be m_freed. Returns
NULL if the string cannot be expanded (too large). */