Skip to content
Browse files

workaround Bug 9378

- SHA1 asm is broken for PIC
  • Loading branch information...
1 parent c89b21e commit 4a6af4e42e6d52288d3a9fb5aeeec9655824bb30 @MartinNowak MartinNowak committed
Showing with 4 additions and 4 deletions.
  1. +2 −2 std/digest/sha.d
  2. +2 −2 std/internal/digest/sha_SSSE3.d
View
4 std/digest/sha.d
@@ -125,9 +125,9 @@ unittest
hash = sha.finish();
}
-version(OSX)
+version(D_PIC)
{
- // Do not use.
+ // Do not use (Bug9378).
}
else version(D_InlineAsm_X86)
{
View
4 std/internal/digest/sha_SSSE3.d
@@ -17,9 +17,9 @@ module std.internal.digest.sha_SSSE3;
import std.conv;
-version(OSX)
+version(D_PIC)
{
- // Do not use.
+ // Do not use (Bug9378).
}
else version(D_InlineAsm_X86)
{

0 comments on commit 4a6af4e

Please sign in to comment.
Something went wrong with that request. Please try again.