projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove /* foo.c */ comments
[oweals/openssl.git]
/
crypto
/
lhash
/
lh_test.c
diff --git
a/crypto/lhash/lh_test.c
b/crypto/lhash/lh_test.c
index d9db83f7aeadbf003e0c9b5c96ac6c059a7f1f12..c1d457806cdfb57c346d0638850d98c20c768fed 100644
(file)
--- a/
crypto/lhash/lh_test.c
+++ b/
crypto/lhash/lh_test.c
@@
-1,4
+1,3
@@
-/* crypto/lhash/lh_test.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-77,6
+76,8
@@
main()
break;
i = strlen(buf);
p = OPENSSL_malloc(i + 1);
+ if (p == NULL)
+ abort();
memcpy(p, buf, i + 1);
lh_insert(conf, p);
}