X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Flhash%2Flh_test.c;h=85700c859bf39e8eaad7289fe75ba57721b3fb2d;hb=fbe6ba81e97e6df79f0ff3417b370a21668f774d;hp=294b42bc8297fbca351932f701df6e62d984d6cc;hpb=58964a492275ca9a59a0cd9c8155cb2491b4b909;p=openssl.git diff --git a/crypto/lhash/lh_test.c b/crypto/lhash/lh_test.c index 294b42bc82..85700c859b 100644 --- a/crypto/lhash/lh_test.c +++ b/crypto/lhash/lh_test.c @@ -59,7 +59,7 @@ #include #include #include -#include "lhash.h" +#include main() { @@ -75,9 +75,8 @@ main() buf[0]='\0'; fgets(buf,256,stdin); if (buf[0] == '\0') break; - buf[256]='\0'; i=strlen(buf); - p=Malloc(i+1); + p=OPENSSL_malloc(i+1); memcpy(p,buf,i+1); lh_insert(conf,p); }