diff options
Diffstat (limited to 'src/lib/libcrypto/lhash')
| -rw-r--r-- | src/lib/libcrypto/lhash/lhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/lhash/lhash.c b/src/lib/libcrypto/lhash/lhash.c index 932391fa1e..bbb46508f1 100644 --- a/src/lib/libcrypto/lhash/lhash.c +++ b/src/lib/libcrypto/lhash/lhash.c | |||
| @@ -191,7 +191,7 @@ lh_insert(_LHASH *lh, void *data) | |||
| 191 | rn = getrn(lh, data, &hash); | 191 | rn = getrn(lh, data, &hash); |
| 192 | 192 | ||
| 193 | if (*rn == NULL) { | 193 | if (*rn == NULL) { |
| 194 | if ((nn = (LHASH_NODE *)malloc(sizeof(LHASH_NODE))) == NULL) { | 194 | if ((nn = malloc(sizeof(LHASH_NODE))) == NULL) { |
| 195 | lh->error++; | 195 | lh->error++; |
| 196 | return (NULL); | 196 | return (NULL); |
| 197 | } | 197 | } |
