diff options
author | lloyd <[email protected]> | 2010-03-01 17:25:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-01 17:25:54 +0000 |
commit | 3d3bbf64d66155be6100c148db46f809ce6de3ae (patch) | |
tree | 9b955e61f5d9e9b426a1646e28dcd245cb3151d7 | |
parent | bf916c91511b913ea0954cd05aab07dc65cb9b13 (diff) |
Clean up catch and return
-rw-r--r-- | src/constructs/passhash/passhash9.cpp | 6 |
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; } |