Fix for building without DNS support.

* util/cert.c (get_cert) [!USE_DNS_CERT]: Add want_ipgp.
This commit is contained in:
Werner Koch 2015-02-26 20:00:17 +01:00
parent 8adbf74b93
commit c43391f965
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 2 additions and 2 deletions

View File

@ -190,8 +190,8 @@ get_cert (const char *name, int want_ipgp, size_t max_size,IOBUF *iobuf,
#else /* !USE_DNS_CERT */
int
get_cert(const char *name,size_t max_size,IOBUF *iobuf,
unsigned char **fpr,size_t *fpr_len,char **url)
get_cert (const char *name, int want_ipgp, size_t max_size,IOBUF *iobuf,
unsigned char **fpr, size_t *fpr_len, char **url)
{
return -1;
}