diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-19 07:52:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-19 07:52:51 +0000 |
commit | e8f7afdcd0b0ac78001e19a85f45f3a09288d759 (patch) | |
tree | dd3fc741a946d851eea5329ae0710b4afaa91cf8 /src | |
parent | 6df0871923df44be6602b115088b1c292ddac3be (diff) | |
download | gnunet-e8f7afdcd0b0ac78001e19a85f45f3a09288d759.tar.gz gnunet-e8f7afdcd0b0ac78001e19a85f45f3a09288d759.zip |
-handle error
Diffstat (limited to 'src')
-rw-r--r-- | src/util/gnunet-rsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/gnunet-rsa.c b/src/util/gnunet-rsa.c index fc9d20064..8fc79565a 100644 --- a/src/util/gnunet-rsa.c +++ b/src/util/gnunet-rsa.c | |||
@@ -65,6 +65,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
65 | return; | 65 | return; |
66 | } | 66 | } |
67 | pk = GNUNET_CRYPTO_rsa_key_create_from_file (args[0]); | 67 | pk = GNUNET_CRYPTO_rsa_key_create_from_file (args[0]); |
68 | if (NULL == pk) | ||
69 | return; | ||
68 | if (print_public_key) | 70 | if (print_public_key) |
69 | { | 71 | { |
70 | char *s; | 72 | char *s; |