mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
typo fixes and disabled dummy cipher
This commit is contained in:
parent
b324a5d2d1
commit
20c73570b3
@ -1,7 +1,7 @@
|
|||||||
2002-08-30 Werner Koch <wk@gnupg.org>
|
2002-08-30 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* random.c: Automagically detect the entrop gatherer when
|
* random.c: Automagically detect the entropy gatherer when
|
||||||
configure so.
|
this feature is configured.
|
||||||
* rndegd.c (rndegd_connect_socket): New. Factored out from ..
|
* rndegd.c (rndegd_connect_socket): New. Factored out from ..
|
||||||
(rndegd_gather_random): here and call it.
|
(rndegd_gather_random): here and call it.
|
||||||
(do_read): Update the counter variables correctly. This was not a
|
(do_read): Update the counter variables correctly. This was not a
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
/* We have support for a DUMMY encryption cipher which comes handy to
|
/* We have support for a DUMMY encryption cipher which comes handy to
|
||||||
debug MDCs and similar things. Because this is a bit dangerous it
|
debug MDCs and similar things. Because this is a bit dangerous it
|
||||||
is not enabled. */
|
is not enabled. */
|
||||||
#define ALLOW_DUMMY 1
|
/*#define ALLOW_DUMMY 1 */
|
||||||
|
|
||||||
#define MAX_BLOCKSIZE 16
|
#define MAX_BLOCKSIZE 16
|
||||||
#define TABLE_SIZE 14
|
#define TABLE_SIZE 14
|
||||||
@ -175,7 +175,7 @@ setup_cipher_table(void)
|
|||||||
&cipher_table[i].encrypt,
|
&cipher_table[i].encrypt,
|
||||||
&cipher_table[i].decrypt );
|
&cipher_table[i].decrypt );
|
||||||
if (cipher_table[i].name)
|
if (cipher_table[i].name)
|
||||||
i++; /* Note that IDEA is usually no available. */
|
i++; /* Note that IDEA is usually not available. */
|
||||||
|
|
||||||
#ifdef ALLOW_DUMMY
|
#ifdef ALLOW_DUMMY
|
||||||
cipher_table[i].algo = CIPHER_ALGO_DUMMY;
|
cipher_table[i].algo = CIPHER_ALGO_DUMMY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user