mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-05 12:31:50 +01:00
* md.c (md_start_debug): Need to open the file in binary mode.
This commit is contained in:
parent
983034610d
commit
297e879108
@ -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-21 David Shaw <dshaw@jabberwocky.com>
|
2003-02-21 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* cipher.c (setup_cipher_table): #ifdef all optional ciphers.
|
* cipher.c (setup_cipher_table): #ifdef all optional ciphers.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* md.c - message digest dispatcher
|
/* 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.
|
* This file is part of GnuPG.
|
||||||
*
|
*
|
||||||
@ -522,7 +522,7 @@ md_start_debug( MD_HANDLE md, const char *suffix )
|
|||||||
}
|
}
|
||||||
idx++;
|
idx++;
|
||||||
sprintf(buf, "dbgmd-%05d" EXTSEP_S "%.10s", idx, suffix );
|
sprintf(buf, "dbgmd-%05d" EXTSEP_S "%.10s", idx, suffix );
|
||||||
md->debug = fopen(buf, "w");
|
md->debug = fopen(buf, "wb");
|
||||||
if( !md->debug )
|
if( !md->debug )
|
||||||
log_debug("md debug: can't open %s\n", buf );
|
log_debug("md debug: can't open %s\n", buf );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user