1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Allow requesting only an IPGP certtype with dns_cert().

* util/cert.c (get_cert): Add arg want_ipgp.  Change callers.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2015-02-26 15:17:56 +01:00
parent 0d286a11c8
commit d2323ce6fd
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
3 changed files with 9 additions and 7 deletions

View file

@ -244,8 +244,8 @@ char *xtryvasprintf (const char *fmt, va_list arg_ptr);
char *get_pka_info (const char *address, unsigned char *fpr);
/*-- cert.c --*/
int get_cert(const char *name,size_t max_size,IOBUF *iobuf,
unsigned char **fpr,size_t *fpr_len,char **url);
int get_cert (const char *name, int want_ipgp, size_t max_size, IOBUF *iobuf,
unsigned char **fpr,size_t *fpr_len,char **url);
/*-- convert.c --*/
int hex2bin (const char *string, void *buffer, size_t length);