[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30854 - gnunet/src/revocation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30854 - gnunet/src/revocation |
Date: |
Fri, 22 Nov 2013 22:06:18 +0100 |
Author: wachs
Date: 2013-11-22 22:06:18 +0100 (Fri, 22 Nov 2013)
New Revision: 30854
Modified:
gnunet/src/revocation/gnunet-revocation.c
Log:
additional check for filename
Modified: gnunet/src/revocation/gnunet-revocation.c
===================================================================
--- gnunet/src/revocation/gnunet-revocation.c 2013-11-22 20:35:38 UTC (rev
30853)
+++ gnunet/src/revocation/gnunet-revocation.c 2013-11-22 21:06:18 UTC (rev
30854)
@@ -429,6 +429,13 @@
}
if (NULL != revoke_ego)
{
+ if ( !perform && (NULL == filename) )
+ {
+ FPRINTF (stderr,
+ "%s",
+ _("No filename to store revocation certificate given.\n"));
+ return;
+ }
/* main code here */
el = GNUNET_IDENTITY_ego_lookup (cfg,
revoke_ego,
@@ -492,10 +499,10 @@
gettext_noop ("use NAME for the name of the revocation file"),
1, &GNUNET_GETOPT_set_string, &filename},
{'R', "revoke", "NAME",
- gettext_noop ("revoke the private key associated with the ego NAME "),
+ gettext_noop ("revoke the private key associated for the the private key
associated with the ego NAME "),
1, &GNUNET_GETOPT_set_string, &revoke_ego},
{'p', "perform", NULL,
- gettext_noop ("actually perform the revocation revocation file, otherwise
we just do the precomputation"),
+ gettext_noop ("actually perform revocation, otherwise we just do the
precomputation"),
0, &GNUNET_GETOPT_set_one, &perform},
{'t', "test", "KEY",
gettext_noop ("test if the public key KEY has been revoked"),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30854 - gnunet/src/revocation,
gnunet <=