Browse Source

i386 unrolling blows up the media in a big way, due to -Os for

ramdisk libc builds.  there has to be a better way without #ifdef's
in gross places, but I don't see it yet.
OPENBSD_5_7
deraadt 10 years ago
parent
commit
0dc2c70460
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/hash/sha2.c

+ 2
- 2
src/lib/libc/hash/sha2.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: sha2.c,v 1.20 2014/12/18 20:29:08 tedu Exp $ */
/* $OpenBSD: sha2.c,v 1.21 2014/12/19 14:30:44 deraadt Exp $ */
/* /*
* FILE: sha2.c * FILE: sha2.c
@ -52,7 +52,7 @@
* #define SHA2_UNROLL_TRANSFORM * #define SHA2_UNROLL_TRANSFORM
* *
*/ */
#if defined(__amd64__) || defined(__i386__)
#if defined(__amd64__)
#define SHA2_UNROLL_TRANSFORM #define SHA2_UNROLL_TRANSFORM
#endif #endif


Loading…
Cancel
Save