Skip to content

Commit 910ce90

Browse files
committed
evp_hash: exit successfully when called with -h option
Signed-off-by: Eugene Syromiatnikov <[email protected]>
1 parent 65afd87 commit 910ce90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/evp_hash.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ int main(int argc, char *argv[])
312312
rc = EXIT_SUCCESS;
313313
goto out;
314314
case 'h':
315+
rc = EXIT_SUCCESS;
316+
/* Fallthrough */
315317
default:
316318
print_help();
317319
goto out;

0 commit comments

Comments
 (0)