fix MSVC build

This commit is contained in:
Vitaly Takmazov
2014-09-08 11:12:50 +04:00
committed by Dmitry Podgorny
parent bf5bf96e95
commit 58613ea7f3
12 changed files with 28 additions and 54 deletions

View File

@@ -20,10 +20,10 @@
*/
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include "sha1.h"
#include "ostypes.h"
#include "scram.h"
@@ -36,8 +36,8 @@
static const uint8_t ipad = 0x36;
static const uint8_t opad = 0x5C;
static inline void SHA1(const uint8_t* data, size_t len,
uint8_t digest[SHA1_DIGEST_SIZE])
static void SHA1(const uint8_t* data, size_t len,
uint8_t digest[SHA1_DIGEST_SIZE])
{
SHA1_CTX ctx;
SHA1_Init(&ctx);