tMake check() the default action - sick - sign and check files using ed25519
 (HTM) git clone git://z3bra.org/sick
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit cf7487682de47853e36e36330ac80b0c0388562f
 (DIR) parent 3b4707049d2bd297a3c71d4082682e0b98930f26
 (HTM) Author: z3bra <willyatmailoodotorg>
       Date:   Sun, 15 May 2016 19:49:40 +0200
       
       Make check() the default action
       
       Diffstat:
         M sick.c                              |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/sick.c b/sick.c
       t@@ -234,7 +234,7 @@ check(FILE *fp, FILE *key)
        int
        main(int argc, char *argv[])
        {
       -        int ret = 0, action = ACT_NONE;
       +        int ret = 0, action = ACT_CHCK;
                FILE *key = NULL, *fp = NULL;
        
                ARGBEGIN{
       t@@ -260,6 +260,9 @@ main(int argc, char *argv[])
                        case ACT_SIGN:
                                ret = sign(fp, key);
                                break;
       +                case ACT_CHCK:
       +                        ret = check(fp, key);
       +                        break;
                        }
                }