Use of DEVRANDOM must be #ifdef'ed (the #ifdef was commented out
[oweals/openssl.git] / crypto / lhash / lhash.c
index 29e091525c384e49ad4aa8897ba9f9abc65f3852..801322beb640fd858887bb988147f19c8993ac6e 100644 (file)
@@ -97,8 +97,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include "crypto.h"
-#include "lhash.h"
+#include <openssl/crypto.h>
+#include <openssl/lhash.h>
 
 const char *lh_version="lhash" OPENSSL_VERSION_PTEXT;
 
@@ -107,7 +107,6 @@ const char *lh_version="lhash" OPENSSL_VERSION_PTEXT;
 #define UP_LOAD                (2*LH_LOAD_MULT) /* load times 256  (default 2) */
 #define DOWN_LOAD      (LH_LOAD_MULT)   /* load times 256  (default 1) */
 
-#ifndef NOPROTO
 
 #define P_CP   char *
 #define P_CPP  char *,char *
@@ -115,16 +114,6 @@ static void expand(LHASH *lh);
 static void contract(LHASH *lh);
 static LHASH_NODE **getrn(LHASH *lh, char *data, unsigned long *rhash);
 
-#else
-
-#define        P_CP
-#define P_CPP
-static void expand();
-static void contract();
-static LHASH_NODE **getrn();
-
-#endif
-
 LHASH *lh_new(unsigned long (*h)(), int (*c)())
        {
        LHASH *ret;