Home GnuPG
Diffusion GnuPG 31f548a18aed

Rewrite dns-cert.c to not use the gpg-only iobuf stuff.
31f548a18aedUnpublished

Unpublished Commit · Learn More

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

Description

Rewrite dns-cert.c to not use the gpg-only iobuf stuff.

* common/dns-cert.c: Remove iobuf.h.
(get_dns_cert): Rename to _get_dns_cert.  Remove MAX_SIZE arg.  Change
iobuf arg to a estream-t.  Rewrite function to make use of estream
instead of iobuf.  Require all parameters.  Return an gpg_error_t
error instead of the type.  Add arg ERRSOURCE.
* common/dns-cert.h (get_dns_cert): New macro to pass the error source
to _gpg_dns_cert.
* common/t-dns-cert.c (main): Adjust for changes in get_dns_cert.
* g10/keyserver.c (keyserver_import_cert): Ditto.
* doc/gpg.texi (GPG Configuration Options): Remove max-cert-size.

Details

Provenance
wernerAuthored on Nov 30 2011, 5:14 PM
Parents
rG8cf2356fa8aa: * common/estream.c (es_fopenmem_init): New.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG31f548a18aed: Rewrite dns-cert.c to not use the gpg-only iobuf stuff. (authored by Werner Koch <wk@gnupg.org>).Nov 30 2011, 5:34 PM