aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/md.c')
-rw-r--r--cipher/md.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/md.c b/cipher/md.c
index 0e5f5f8cd..b5185bd92 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -1,5 +1,5 @@
/* md.c - message digest dispatcher
- * Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -522,7 +522,7 @@ md_start_debug( MD_HANDLE md, const char *suffix )
}
idx++;
sprintf(buf, "dbgmd-%05d" EXTSEP_S "%.10s", idx, suffix );
- md->debug = fopen(buf, "w");
+ md->debug = fopen(buf, "wb");
if( !md->debug )
log_debug("md debug: can't open %s\n", buf );
}