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

This commit is contained in:
Michael Jung 2005-01-24 11:30:05 +00:00 committed by Alexandre Julliard
parent 6063b542aa
commit 2accec1fbc
1 changed files with 1 additions and 5 deletions

View File

@ -2,7 +2,7 @@
* dlls/rsaenh/implglue.c
* 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
*
@ -67,10 +67,6 @@ BOOL init_hash_impl(ALG_ID aiAlgid, HASH_CONTEXT *pHashContext)
case CALG_SHA:
A_SHAInit(&pHashContext->sha);
break;
default:
SetLastError(NTE_BAD_ALGID);
return FALSE;
}
return TRUE;