aboutsummaryrefslogtreecommitdiff
path: root/crypto.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-11-22 03:11:24 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-11-22 03:11:24 +0100
commita74e1503752e310fbfc8dda142c5803eff86dc88 (patch)
treed924bd67852cef38a4b9f4216d231cbbdb3f13e2 /crypto.c
parente9d1c7ba005dda68148651119234b0ab076302d1 (diff)
abort() on OOM
Diffstat (limited to 'crypto.c')
-rw-r--r--crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto.c b/crypto.c
index 3e4991d..e870f2b 100644
--- a/crypto.c
+++ b/crypto.c
@@ -467,7 +467,7 @@ smc_init2 (uint16_t size1, uint16_t size2)
weprintf ("could not init point in 2 dimensional array. "
"out of memory?");
smc_free2 (ret, size1, size2);
- return NULL;
+ GNUNET_assert (0);
}
}
}
@@ -530,7 +530,7 @@ smc_init3 (uint16_t size1, uint16_t size2, uint16_t size3)
weprintf ("could not init point in 2 dimensional array. "
"out of memory?");
smc_free3 (ret, size1, size2, size3);
- return NULL;
+ GNUNET_assert (0);
}
}
}