mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* md.c (md_start_debug): Need to open the file in binary mode.
This commit is contained in:
parent
7b63a8ed5c
commit
7ced4e41ba
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue