summaryrefslogtreecommitdiffstats
path: root/crypto/evp/p_sign.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-05-24 13:29:32 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-05-24 13:29:32 +0000
commit0e3453536ec9ce09e4dd276c2fa4d62e362789e9 (patch)
tree38862e1ac0b36c186a5585ff2d20e66ede7265e9 /crypto/evp/p_sign.c
parenteaff5a1412011574860a74ff9076838ea1e59dd0 (diff)
Fix warnings.
Diffstat (limited to 'crypto/evp/p_sign.c')
-rw-r--r--crypto/evp/p_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/p_sign.c b/crypto/evp/p_sign.c
index 54ad0fc7f7..8df6d48a7e 100644
--- a/crypto/evp/p_sign.c
+++ b/crypto/evp/p_sign.c
@@ -92,7 +92,7 @@ int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen,
if (ctx->digest->flags & EVP_MD_FLAG_PKEY_METHOD_SIGNATURE)
{
EVP_PKEY_CTX *pkctx = NULL;
- int sltmp = EVP_PKEY_size(pkey);
+ size_t sltmp = (size_t)EVP_PKEY_size(pkey);
i = 0;
pkctx = EVP_PKEY_CTX_new(pkey, NULL);
if (!pkctx)