Home GnuPG
Diffusion GpgOL 2a24cdbfbc75

Handle handle to int casts
2a24cdbfbc75Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Handle handle to int casts

  • src/engine-assuan.c (handle_to_int): New. (send_options, op_assuan_init, op_assuan_encrypt), (op_assuan_sign, op_assuan_decrypt, op_assuan_verify): Use it.

Doing this in a function explictly ensures that we only downcast
Handle pointers. For them this is allowed and we can locally
deactive the warning.

Details

Provenance
aheineckeAuthored on Nov 4 2015, 4:42 PM
Parents
rO0c460a499d0c: Add format string macro for size_t
Branches
Unknown
Tags
Unknown