mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Allow requesting a specific certtype with get_dns_cert()
* common/dns-cert.c (get_dns_cert): Add arg want_certtype. Change all callers. (CERTTYPE_): Move constants to ... * common/dns-cert.h: here as DNS_CERTTYPE_. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
9913253610
commit
af60152a46
4 changed files with 35 additions and 24 deletions
|
@ -1910,7 +1910,7 @@ keyserver_import_cert (ctrl_t ctrl,
|
|||
if(domain)
|
||||
*domain='.';
|
||||
|
||||
err = get_dns_cert (look, &key, fpr, fpr_len, &url);
|
||||
err = get_dns_cert (look, DNS_CERTTYPE_ANY, &key, fpr, fpr_len, &url);
|
||||
if (err)
|
||||
;
|
||||
else if (key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue