Home GnuPG

2005-04-12 Moritz Schulte <moritz@g10code.com>
2e5fc544299cUnpublished

Unpublished Commit ยท Learn More

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

Description

2005-04-12 Moritz Schulte <moritz@g10code.com>

  • ac.c (_gcry_ac_io_write, _gcry_ac_io_read): Initialize err to

make the compiler happy.
Always use errno, now that gcry_malloc() is guaranteed to set
errno on failure.
(_gcry_ac_data_to_sexp): Don't forget to goto out after error in
loop.
(_gcry_ac_data_to_sexp): Remove unused variable: mpi_list;
(_gcry_ac_data_to_sexp): Always deallocate sexp_buffer.
(_gcry_ac_data_from_sexp): Don't forget to initialize data_set_new.
(_gcry_ac_data_from_sexp): Handle special case, which is
necessary, since gcry_sexp_nth() does not distinguish between
"element does not exist" and "element is the empty list".
(_gcry_ac_io_init_va): Use assert to make sure that mode and type
are correct.
Use gcry_error_t types where gcry_err_code_t types have been used
before.

Details

Provenance
moritzAuthored on Apr 12 2005, 10:19 PM
Parents
rC056efb027ee7: 2005-04-11 Moritz Schulte <moritz@g10code.com>
Branches
Unknown
Tags
Unknown

Event Timeline

Moritz Schulte <mo@g10code.com> committed rC2e5fc544299c: 2005-04-12 Moritz Schulte <moritz@g10code.com> (authored by Moritz Schulte <mo@g10code.com>).Apr 12 2005, 10:19 PM