mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Minor style cleanups.
Remove extraneous break after return statement. Convert two old K&R function declarations.
This commit is contained in:
@@ -56,16 +56,12 @@ sudo_digest_type_to_gcry(int digest_type)
|
||||
switch (digest_type) {
|
||||
case SUDO_DIGEST_SHA224:
|
||||
return GCRY_MD_SHA224;
|
||||
break;
|
||||
case SUDO_DIGEST_SHA256:
|
||||
return GCRY_MD_SHA256;
|
||||
break;
|
||||
case SUDO_DIGEST_SHA384:
|
||||
return GCRY_MD_SHA384;
|
||||
break;
|
||||
case SUDO_DIGEST_SHA512:
|
||||
return GCRY_MD_SHA512;
|
||||
break;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user