Home GnuPG
Diffusion GnuPG 0698324cde3e

common: New function string_to_u64.
0698324cde3eUnpublished

Unpublished Commit · Learn More

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

Description

common: New function string_to_u64.

* common/stringhelp.c (string_to_u64): New.
* dirmngr/http.c (longcounter_t): Remove.
(struct cookie_s): Change content_length to uint64_t.
(parse_response): Use string_to_u64.

Meanwhile we allow some C99 features including stdint.h. Thus we can
simplify things now.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 11 2016, 8:46 PM
Parents
rG72fa314b71e4: common: Remove compatibility code.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG0698324cde3e: common: New function string_to_u64. (authored by Werner Koch <wk@gnupg.org>).Aug 11 2016, 9:32 PM