Use libcrypto.so.2 instead of .1, since we have it now. It should enable

DES for keyserv again.

Submitted by:	mbr

Kill a stray __P while I'm here.
This commit is contained in:
Juli Mallett 2002-07-09 20:08:19 +00:00
parent f00501bdb1
commit 2421887c5a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99693

View File

@ -162,7 +162,7 @@ int _arcfour_crypt(buf, len, desp)
return(DESERR_NOHWDEVICE);
}
int (*_my_crypt)__P((char *, int, struct desparams *)) = NULL;
int (*_my_crypt)(char *, int, struct desparams *) = NULL;
static void *dlhandle;
@ -172,9 +172,9 @@ static void *dlhandle;
#ifndef LIBCRYPTO
#ifdef OBJFORMAT_ELF
#define LIBCRYPTO "libcrypto.so.1"
#define LIBCRYPTO "libcrypto.so.2"
#else
#define LIBCRYPTO "libcrypto.so.1."
#define LIBCRYPTO "libcrypto.so.2."
#endif /* OBJFORMAT_ELF */
#endif