X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Flhash%2Flh_test.c;h=85700c859bf39e8eaad7289fe75ba57721b3fb2d;hb=9a3a99748b75d9656467e28de569bd03bf3edd8f;hp=294b42bc8297fbca351932f701df6e62d984d6cc;hpb=7dfb0b774e6592dcbfe47015168a0ac8b44e2a17;p=oweals%2Fopenssl.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); }