1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Use separate test module for dns-cert.c.

* dns-cert.c (get_dns_cert): Factor test code out to ...
* t-dns-cert.c: new file.
This commit is contained in:
Werner Koch 2011-11-28 18:11:59 +01:00
parent 751d452116
commit 982105f1ce
5 changed files with 103 additions and 62 deletions

View file

@ -19,7 +19,7 @@
#ifndef GNUPG_COMMON_DNS_CERT_H
#define GNUPG_COMMON_DNS_CERT_H
int get_dns_cert (const char *name, size_t max_size, IOBUF *iobuf,
int get_dns_cert (const char *name, size_t max_size, iobuf_t *iobuf,
unsigned char **fpr, size_t *fpr_len, char **url);