]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Really save privkey in file
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Aug 2016 15:50:21 +0000 (16:50 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Aug 2016 15:50:21 +0000 (16:50 +0100)
src/rspamadm/dkim_keygen.c

index 31a4a64e14b57f0edb98df5a84f3af95ff55301b..ca559f95d94277d1eb0038b966b3e0180e87d50e 100644 (file)
@@ -40,7 +40,7 @@ static GOptionEntry entries[] = {
                                "Use the specified domain", NULL},
                {"selector",  's', 0, G_OPTION_ARG_STRING, &selector,
                                "Use the specified selector", NULL},
-               {"privkey",  'k', 0, G_OPTION_ARG_STRING, &selector,
+               {"privkey",  'k', 0, G_OPTION_ARG_STRING, &privkey_file,
                                "Save private key in the specified file", NULL},
                {NULL,       0,   0, G_OPTION_ARG_NONE, NULL, NULL, NULL}
 };