aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cipher/ChangeLog4
-rw-r--r--cipher/md.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index 08d27bce6..20abfc7be 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,7 @@
+Wed Dec 23 17:12:24 CET 1998 Werner Koch <[email protected]>
+
+ * md.c (md_copy): Reset debug.
+
Mon Dec 14 21:18:49 CET 1998 Werner Koch <[email protected]>
* random.c (read_random_source): Changed the interface to the
diff --git a/cipher/md.c b/cipher/md.c
index de74c283e..b1274c63c 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -256,6 +256,7 @@ md_copy( MD_HANDLE a )
: m_alloc( sizeof *b );
memcpy( b, a, sizeof *a );
b->list = NULL;
+ b->debug = NULL;
/* and now copy the complete list of algorithms */
/* I know that the copied list is reversed, but that doesn't matter */
for( ar=a->list; ar; ar = ar->next ) {
@@ -270,7 +271,7 @@ md_copy( MD_HANDLE a )
/****************
- * Reset all contexts and discard any buffered stuuf. This may be used
+ * Reset all contexts and discard any buffered stuff. This may be used
* instead of a md_close(); md_open().
*/
void