Commit 2accec1f authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard

Removed another check for valid'ness of algid. It's redundant.

parent 6063b542
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dlls/rsaenh/implglue.c * dlls/rsaenh/implglue.c
* Glueing the RSAENH specific code to the crypto library * Glueing the RSAENH specific code to the crypto library
* *
* Copyright (c) 2004 Michael Jung * Copyright (c) 2004, 2005 Michael Jung
* *
* based on code by Mike McCormack and David Hammerton * based on code by Mike McCormack and David Hammerton
* *
...@@ -67,10 +67,6 @@ BOOL init_hash_impl(ALG_ID aiAlgid, HASH_CONTEXT *pHashContext) ...@@ -67,10 +67,6 @@ BOOL init_hash_impl(ALG_ID aiAlgid, HASH_CONTEXT *pHashContext)
case CALG_SHA: case CALG_SHA:
A_SHAInit(&pHashContext->sha); A_SHAInit(&pHashContext->sha);
break; break;
default:
SetLastError(NTE_BAD_ALGID);
return FALSE;
} }
return TRUE; return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment