diff options
Diffstat (limited to 'src/lib/libcrypto/sha/sha_locl.h')
| -rw-r--r-- | src/lib/libcrypto/sha/sha_locl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sha/sha_locl.h b/src/lib/libcrypto/sha/sha_locl.h index 7a0c3ca8d8..672c26eee1 100644 --- a/src/lib/libcrypto/sha/sha_locl.h +++ b/src/lib/libcrypto/sha/sha_locl.h | |||
| @@ -122,11 +122,7 @@ void sha1_block_data_order (SHA_CTX *c, const void *p,size_t num); | |||
| 122 | #define INIT_DATA_h3 0x10325476UL | 122 | #define INIT_DATA_h3 0x10325476UL |
| 123 | #define INIT_DATA_h4 0xc3d2e1f0UL | 123 | #define INIT_DATA_h4 0xc3d2e1f0UL |
| 124 | 124 | ||
| 125 | #ifdef SHA_0 | 125 | int HASH_INIT (SHA_CTX *c) |
| 126 | fips_md_init(SHA) | ||
| 127 | #else | ||
| 128 | fips_md_init_ctx(SHA1, SHA) | ||
| 129 | #endif | ||
| 130 | { | 126 | { |
| 131 | memset (c,0,sizeof(*c)); | 127 | memset (c,0,sizeof(*c)); |
| 132 | c->h0=INIT_DATA_h0; | 128 | c->h0=INIT_DATA_h0; |
