aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-01 17:25:54 +0000
committerlloyd <[email protected]>2010-03-01 17:25:54 +0000
commit3d3bbf64d66155be6100c148db46f809ce6de3ae (patch)
tree9b955e61f5d9e9b426a1646e28dcd245cb3151d7 /src
parentbf916c91511b913ea0954cd05aab07dc65cb9b13 (diff)
Clean up catch and return
Diffstat (limited to 'src')
-rw-r--r--src/constructs/passhash/passhash9.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/constructs/passhash/passhash9.cpp b/src/constructs/passhash/passhash9.cpp
index d6477de63..e244ad132 100644
--- a/src/constructs/passhash/passhash9.cpp
+++ b/src/constructs/passhash/passhash9.cpp
@@ -33,12 +33,8 @@ MessageAuthenticationCode* get_pbkdf_prf(byte alg_id)
{
if(alg_id == 0)
return af.make_mac("HMAC(SHA-1)");
-
- }
- catch(Algorithm_Not_Found)
- {
- return 0;
}
+ catch(Algorithm_Not_Found) {}
return 0;
}