From 3d3bbf64d66155be6100c148db46f809ce6de3ae Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 1 Mar 2010 17:25:54 +0000 Subject: Clean up catch and return --- src/constructs/passhash/passhash9.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/constructs') 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; } -- cgit v1.2.3