-/* Copyright (c) 2006-2010, UNINETT AS
- * Copyright (c) 2010-2012, NORDUnet A/S */
+/* Copyright (c) 2011,2013, NORDUnet A/S */
/* See LICENSE for licensing information. */
#include <stdio.h>
#endif
" -h\t\t\tdisplay this help and exit\n"
" -k key\t\tuse KEY for HMAC\n"
- " -t type\t\tprint digest of type TYPE [mac|hmac]\n");
+ " -t type\t\tprint digest of type TYPE [hash|hmac]\n");
exit(1);
}
#if defined(READ_CONFIG)
char *config = NULL;
#endif
- uint8_t buf[256];
+ uint8_t buf[64+1];
char mac[80+1];
uint8_t *key = NULL;
enum { TYPE_HASH, TYPE_HMAC } type = TYPE_HASH;
return 0;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */