aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-27 12:54:46 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-27 12:54:46 +0000
commit8462671d9518d831b78b9fa059cbca3bd08c5608 (patch)
treeee39fab5d89e572c2a598c7b421145dcb1a32eae /src/util
parent673effab80be5340cb0b5f37f8efb48e1c9824f2 (diff)
downloadgnunet-8462671d9518d831b78b9fa059cbca3bd08c5608.tar.gz
gnunet-8462671d9518d831b78b9fa059cbca3bd08c5608.zip
-check return value
Diffstat (limited to 'src/util')
-rw-r--r--src/util/gnunet-rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/gnunet-rsa.c b/src/util/gnunet-rsa.c
index 64990e5ef..a013793e7 100644
--- a/src/util/gnunet-rsa.c
+++ b/src/util/gnunet-rsa.c
@@ -126,7 +126,7 @@ create_keys (const char *fn)
126 GNUNET_CRYPTO_hash (&make_keys, sizeof (make_keys), &h2); 126 GNUNET_CRYPTO_hash (&make_keys, sizeof (make_keys), &h2);
127 GNUNET_CRYPTO_hash (&hc, sizeof (hc), &h3); 127 GNUNET_CRYPTO_hash (&hc, sizeof (hc), &h3);
128 GNUNET_CRYPTO_hash_xor (&h2, &h3, &hc); 128 GNUNET_CRYPTO_hash_xor (&h2, &h3, &hc);
129 if (NULL == (pk = GNUNET_CRYPTO_rsa_key_create_from_hash (&hc)) 129 if (NULL == (pk = GNUNET_CRYPTO_rsa_key_create_from_hash (&hc)))
130 { 130 {
131 GNUNET_break (0); 131 GNUNET_break (0);
132 break; 132 break;