mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
* plaintext.c (ask_for_detached_datafile, hash_datafiles): Fix compiler
warnings.
This commit is contained in:
parent
338be86caf
commit
0727326e4e
@ -7,7 +7,8 @@
|
||||
fingerprint when checking a signature with --always-trust enabled.
|
||||
|
||||
* filter.h (progress_filter_context_t), progress.c
|
||||
(handle_progress): Fix compiler warnings. Make "what" constant.
|
||||
(handle_progress), plaintext.c (ask_for_detached_datafile,
|
||||
hash_datafiles): Fix compiler warnings. Make "what" constant.
|
||||
|
||||
* build-packet.c (do_plaintext): Do not create invalid literal
|
||||
packets with >255-byte names.
|
||||
|
@ -371,7 +371,7 @@ ask_for_detached_datafile( MD_HANDLE md, MD_HANDLE md2,
|
||||
do_hash( md, md2, fp, textmode );
|
||||
iobuf_close(fp);
|
||||
if (dealloc_pfx_name)
|
||||
m_free (pfx.what);
|
||||
m_free ((void *)pfx.what);
|
||||
|
||||
leave:
|
||||
m_free(answer);
|
||||
@ -398,7 +398,7 @@ hash_datafiles( MD_HANDLE md, MD_HANDLE md2, STRLIST files,
|
||||
if( fp ) {
|
||||
do_hash( md, md2, fp, textmode );
|
||||
iobuf_close(fp);
|
||||
m_free (pfx.what);
|
||||
m_free ((void *)pfx.what);
|
||||
return 0;
|
||||
}
|
||||
log_error (_("no signed data\n"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user