Skip to content

Commit 6746201

Browse files
committed
evp_hash: exit successfully when called with -h option
Signed-off-by: Eugene Syromiatnikov <[email protected]>
1 parent 95dad55 commit 6746201

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
@@ -313,6 +313,8 @@ int main(int argc, char *argv[])
313313
rc = EXIT_SUCCESS;
314314
goto out;
315315
case 'h':
316+
rc = EXIT_SUCCESS;
317+
/* Fallthrough */
316318
default:
317319
print_help();
318320
goto out;

0 commit comments

Comments
 (0)