projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove apps cache for gethostbyname
[openssl.git]
/
apps
/
srp.c
diff --git
a/apps/srp.c
b/apps/srp.c
index 8b44780c9333b8b5763a025ccdd1a73eb59b3602..c7a93cf7490a791d7fa597b2f78512d2d04e7a14 100644
(file)
--- a/
apps/srp.c
+++ b/
apps/srp.c
@@
-138,7
+138,7
@@
static int update_index(CA_DB *db, char **row)
char **irow;
int i;
- irow = app_malloc(sizeof(
char *
) * (DB_NUMBER + 1), "row pointers");
+ irow = app_malloc(sizeof(
*irow
) * (DB_NUMBER + 1), "row pointers");
for (i = 0; i < DB_NUMBER; i++) {
irow[i] = row[i];
row[i] = NULL;