mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Use gnupg_fd_t for iobuf_get_fd and is_secured_file.
* common/iobuf.c (iobuf_get_fd): Return type is now gnupg_fd_t. * common/iobuf.h (iobuf_get_fd): Fix the return type. * g10/misc.c (is_secured_file): Argument is now gnupg_fd_t. * g10/main.h (is_secured_file): Fix the argument type. -- GnuPG-bug-id: 6580 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
5d375bb168
commit
ee9e3578ce
4 changed files with 6 additions and 6 deletions
|
@ -107,7 +107,7 @@ char *make_radix64_string( const byte *data, size_t len );
|
|||
void trap_unaligned(void);
|
||||
void register_secured_file (const char *fname);
|
||||
void unregister_secured_file (const char *fname);
|
||||
int is_secured_file (int fd);
|
||||
int is_secured_file (gnupg_fd_t fd);
|
||||
int is_secured_filename (const char *fname);
|
||||
u16 checksum_u16( unsigned n );
|
||||
u16 checksum( const byte *p, unsigned n );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue