Add check for NetBSD-style 4-argument skeychallenge() as Gentoo also

has this.  Adapted from a patch from Diego Elio Petteno
This commit is contained in:
Todd C. Miller
2011-04-06 10:08:57 -04:00
parent f6ffc8adf3
commit 233d90f2c3
3 changed files with 63 additions and 15 deletions

View File

@@ -46,7 +46,7 @@
#if defined(HAVE_SKEY)
# include <skey.h>
# define RFC1938 skey
# ifdef __NetBSD__
# ifdef HAVE_RFC1938_SKEYCHALLENGE
# define rfc1938challenge(a,b,c,d) skeychallenge((a),(b),(c),(d))
# else
# define rfc1938challenge(a,b,c,d) skeychallenge((a),(b),(c))