mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* md.c (md_start_debug): Need to open the file in binary mode.
This commit is contained in:
parent
7b63a8ed5c
commit
7ced4e41ba
@ -1,3 +1,7 @@
|
||||
2003-04-15 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* md.c (md_start_debug): Need to open the file in binary mode.
|
||||
|
||||
2003-02-11 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* Makefile.am: Make sure sha512.c is included in the tarball.
|
||||
|
@ -507,7 +507,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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user