diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bn/asm/x86_64-gcc.c | 1 | ||||
-rw-r--r-- | crypto/bn/bn_lcl.h | 5 | ||||
-rw-r--r-- | crypto/evp/p_verify.c | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/crypto/bn/asm/x86_64-gcc.c b/crypto/bn/asm/x86_64-gcc.c index 1509864574..85191ecb08 100644 --- a/crypto/bn/asm/x86_64-gcc.c +++ b/crypto/bn/asm/x86_64-gcc.c @@ -1,6 +1,7 @@ #ifdef __SUNPRO_C # include "../bn_asm.c" /* kind of dirty hack for Sun Studio */ #else +#include <sys/types.h> /* * x86_64 BIGNUM accelerator version 0.1, December 2002. * diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h index 857616d53b..05e8874a5a 100644 --- a/crypto/bn/bn_lcl.h +++ b/crypto/bn/bn_lcl.h @@ -481,8 +481,9 @@ void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2, BN_ULONG *t); BN_ULONG bn_add_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, size_t cl, ssize_t dl); -BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, - int cl, int dl); +BN_ULONG bn_sub_part_words(BN_ULONG *r, + const BN_ULONG *a, const BN_ULONG *b, + size_t cl, ssize_t dl); int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num); diff --git a/crypto/evp/p_verify.c b/crypto/evp/p_verify.c index 8db46412f3..16a449aed1 100644 --- a/crypto/evp/p_verify.c +++ b/crypto/evp/p_verify.c @@ -62,8 +62,8 @@ #include <openssl/objects.h> #include <openssl/x509.h> -int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, - unsigned int siglen, EVP_PKEY *pkey) +int EVP_VerifyFinal(EVP_MD_CTX *ctx,const unsigned char *sigbuf, + size_t siglen,EVP_PKEY *pkey) { unsigned char m[EVP_MAX_MD_SIZE]; unsigned int m_len; |