diff options
Diffstat (limited to 'src/lib/libcrypto/lhash/lh_test.c')
-rw-r--r-- | src/lib/libcrypto/lhash/lh_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/lhash/lh_test.c b/src/lib/libcrypto/lhash/lh_test.c index 85700c859b..2224a216ab 100644 --- a/src/lib/libcrypto/lhash/lh_test.c +++ b/src/lib/libcrypto/lhash/lh_test.c | |||
@@ -76,7 +76,7 @@ main() | |||
76 | fgets(buf,256,stdin); | 76 | fgets(buf,256,stdin); |
77 | if (buf[0] == '\0') break; | 77 | if (buf[0] == '\0') break; |
78 | i=strlen(buf); | 78 | i=strlen(buf); |
79 | p=OPENSSL_malloc(i+1); | 79 | p=malloc(i+1); |
80 | memcpy(p,buf,i+1); | 80 | memcpy(p,buf,i+1); |
81 | lh_insert(conf,p); | 81 | lh_insert(conf,p); |
82 | } | 82 | } |