projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove unnecessary calls to EC_POINT_copy()
[openssl.git]
/
crypto
/
txt_db
/
txt_db.c
diff --git
a/crypto/txt_db/txt_db.c
b/crypto/txt_db/txt_db.c
index e6334d6add9b7f5862214d313b4f6ec09805c886..9b186f2da534a57665b7d0d6722766d77e4268d3 100644
(file)
--- a/
crypto/txt_db/txt_db.c
+++ b/
crypto/txt_db/txt_db.c
@@
-122,7
+122,7
@@
TXT_DB *TXT_DB_read(BIO *in, int num)
else
{
buf->data[offset-1]='\0'; /* blat the '\n' */
-
p=(char *)OPENSSL_malloc(add+offset)
;
+
if (!(p=(char *)OPENSSL_malloc(add+offset))) goto err
;
offset=0;
}
pp=(char **)p;