Skip to content

Commit

Permalink
Fix ComputeAssemblyHash (#279)
Browse files Browse the repository at this point in the history
- remove commented code

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
  • Loading branch information
josesimoes authored Apr 21, 2017
1 parent a030b72 commit ac65157
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/CLR/Core/TypeSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1370,10 +1370,8 @@ CLR_UINT32 CLR_RECORD_ASSEMBLY::ComputeAssemblyHash( const char* name, const CLR
NATIVE_PROFILE_CLR_CORE();
CLR_UINT32 assemblyHASH;

// UNDONE: FIXME
// assemblyHASH = SUPPORT_ComputeCRC( name, (int)hal_strlen_s( name ), 0 );
// UNDONE: FIXME
// assemblyHASH = SUPPORT_ComputeCRC( &ver, sizeof( ver ), assemblyHASH );
assemblyHASH = SUPPORT_ComputeCRC( name, (int)hal_strlen_s( name ), 0 );
assemblyHASH = SUPPORT_ComputeCRC( &ver, sizeof( ver ), assemblyHASH );

return assemblyHASH;
}
Expand Down

0 comments on commit ac65157

Please sign in to comment.