Skip to content

Commit

Permalink
scryptenc_print_error.c: add a "default" for safety
Browse files Browse the repository at this point in the history
We should never reach that "default", but that doesn't mean that it'll
never happen.
  • Loading branch information
gperciva committed Aug 10, 2024
1 parent 6cec2c2 commit 12764d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/scryptenc/scryptenc_print_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@ scryptenc_print_error(int rc, const char * infilename,
case SCRYPT_EPARAM:
warn0("Error in explicit parameters");
break;
default:
warn0("Programmer error: unrecognized scrypt error");
break;
}
}

0 comments on commit 12764d5

Please sign in to comment.