From e8f7afdcd0b0ac78001e19a85f45f3a09288d759 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 19 Jun 2012 07:52:51 +0000 Subject: [PATCH] -handle error --- src/util/gnunet-rsa.c | 2 ++ 1 file changed, 2 insertions(+) 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, return; } pk = GNUNET_CRYPTO_rsa_key_create_from_file (args[0]); + if (NULL == pk) + return; if (print_public_key) { char *s; -- 2.25.1