*sum: Ignore -b and -t flags

This commit is contained in:
Michael Forney 2019-12-22 11:53:35 -08:00
parent edbcc223ea
commit fa2f0e09c3
8 changed files with 32 additions and 0 deletions

View File

@ -28,6 +28,10 @@ main(int argc, char *argv[])
uint8_t md[MD5_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;

View File

@ -27,6 +27,10 @@ main(int argc, char *argv[])
uint8_t md[SHA1_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;

View File

@ -27,6 +27,10 @@ main(int argc, char *argv[])
uint8_t md[SHA224_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;

View File

@ -27,6 +27,10 @@ main(int argc, char *argv[])
uint8_t md[SHA256_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;

View File

@ -27,6 +27,10 @@ main(int argc, char *argv[])
uint8_t md[SHA384_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;

View File

@ -27,6 +27,10 @@ main(int argc, char *argv[])
uint8_t md[SHA512_224_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;

View File

@ -27,6 +27,10 @@ main(int argc, char *argv[])
uint8_t md[SHA512_256_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;

View File

@ -27,6 +27,10 @@ main(int argc, char *argv[])
uint8_t md[SHA512_DIGEST_LENGTH];
ARGBEGIN {
case 'b':
case 't':
/* ignore */
break;
case 'c':
cryptfunc = cryptcheck;
break;