summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2021-11-23 12:18:57 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2021-11-24 02:50:48 +0100
commit426d82fcf1c133bfc1d5c931109d71db3f3815a9 (patch)
tree362f15a6d9ebc9fdb7660b2cf25fb035a731c645 /g10
parentkbx: Fix allocation check (diff)
downloadgnupg2-426d82fcf1c133bfc1d5c931109d71db3f3815a9.tar.xz
gnupg2-426d82fcf1c133bfc1d5c931109d71db3f3815a9.zip
gpg: Fix function prototype to match declaration.
* g10/test-stubs.c (keyserver_import_mbox): Fix prototype -- GnuPG-bug-id: 5393 Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'g10')
-rw-r--r--g10/test-stubs.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/g10/test-stubs.c b/g10/test-stubs.c
index 4838d20dd..1b9f12068 100644
--- a/g10/test-stubs.c
+++ b/g10/test-stubs.c
@@ -231,10 +231,14 @@ keyserver_import_wkd (ctrl_t ctrl, const char *name, unsigned int flags,
}
int
-keyserver_import_mbox (const char *name,struct keyserver_spec *spec)
+keyserver_import_mbox (ctrl_t ctrl, const char *mbox, unsigned char **fpr,
+ size_t *fprlen, struct keyserver_spec *keyserver)
{
- (void)name;
- (void)spec;
+ (void)ctrl;
+ (void)mbox;
+ (void)fpr;
+ (void)fprlen;
+ (void)keyserver;
return -1;
}