From: Christian Grothoff Date: Tue, 19 Jun 2012 07:52:51 +0000 (+0000) Subject: -handle error X-Git-Tag: initial-import-from-subversion-38251~12986 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;ds=sidebyside;h=e8f7afdcd0b0ac78001e19a85f45f3a09288d759;p=oweals%2Fgnunet.git -handle error --- 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;