alpine/extern.diff

23 lines
787 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2020-06-07 12:47:25.957623338 +0200
Can't define a symbol twice. (smime.c being the other place.)
---
pith/smkeys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: alpine-2.22/pith/smkeys.c
===================================================================
--- alpine-2.22.orig/pith/smkeys.c
+++ alpine-2.22/pith/smkeys.c
@@ -50,7 +50,7 @@ static int mem_add_extra_cacerts(c
int compare_certs_by_name(const void *data1, const void *data2);
int password_policy_check(char *);
-int (*pith_smime_enter_password)(char *, char *, size_t);
+extern int (*pith_smime_enter_password)(char *, char *, size_t);
/* test if password passes a predetermined policy.
* return value: 0 - does not pass; 1 - it passes