summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/keyserv/crypt_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/keyserv/crypt_server.c b/usr.sbin/keyserv/crypt_server.c
index 47ffa8f..edbdbc6 100644
--- a/usr.sbin/keyserv/crypt_server.c
+++ b/usr.sbin/keyserv/crypt_server.c
@@ -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
OpenPOWER on IntegriCloud