size_t-fication of message digest APIs. We should size_t-fy more APIs...
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
#ifndef OPENSSL_NO_SHA0
|
||||
unsigned char *SHA(const unsigned char *d, unsigned long n, unsigned char *md)
|
||||
unsigned char *SHA(const unsigned char *d, size_t n, unsigned char *md)
|
||||
{
|
||||
SHA_CTX c;
|
||||
static unsigned char m[SHA_DIGEST_LENGTH];
|
||||
|
||||
Reference in New Issue
Block a user