Page MenuHome GnuPG

wrong return type for _gcry_vcontrol
Closed, ResolvedPublic

Description

The function _gcry_vcontrol is declared (src/g10lib.h:95) with a return type as [gcry_error_t].
However, the correct return type should be [gcry_err_code_t] as specified in the function
definition (src/global.c:334).

src/g10lib.h:95:gcry_error_t _gcry_vcontrol (enum gcry_ctl_cmds cmd, va_list arg_ptr);

src/global.c-333-gcry_err_code_t
src/global.c:334:_gcry_vcontrol (enum gcry_ctl_cmds cmd, va_list arg_ptr)

Best Regards,
Vincent Benayoun
TrustInSoft

Details

Version
1.6.0