Browse Source

* re-enabled fixed assembler code

florian 1 year ago
parent
commit
038b01bf23
1 changed files with 1 additions and 4 deletions
  1. 1 4
      packages/hash/src/sha1.pp

+ 1 - 4
packages/hash/src/sha1.pp

@@ -15,10 +15,7 @@
 
 // Normally, if an optimized version is available for OS/CPU, that will be used
 // Define to use existing unoptimized implementation
-{ the i386 assembler implementation does not work on platforms with a fixed stack }
-{$if DEFINED(CPU386) and (defined(darwin) or defined(linux))}
-{$DEFINE SHA1PASCAL}
-{$endif}
+{ $DEFINE SHA1PASCAL}
 
 {$IFNDEF FPC_DOTTEDUNITS}
 unit sha1;