From 3cb9eb30d3302c42e64bf5126d28072e509f0329 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 25 May 2006 23:40:04 +0000 Subject: [PATCH] Signed vs. unsigned conflict --- apps/pkeyutl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c index 33dd9f3b61..4b19a3fb30 100644 --- a/apps/pkeyutl.c +++ b/apps/pkeyutl.c @@ -543,23 +543,23 @@ static int do_keyop(EVP_PKEY_CTX *ctx, int pkey_op, switch(pkey_op) { case EVP_PKEY_OP_VERIFYRECOVER: - rv = EVP_PKEY_verify_recover(ctx, out, poutlen, in, inlen); + rv = EVP_PKEY_verify_recover(ctx, out, (unsigned int *)poutlen, in, inlen); break; case EVP_PKEY_OP_SIGN: - rv = EVP_PKEY_sign(ctx, out, poutlen, in, inlen); + rv = EVP_PKEY_sign(ctx, out, (unsigned int *)poutlen, in, inlen); break; case EVP_PKEY_OP_ENCRYPT: - rv = EVP_PKEY_encrypt(ctx, out, poutlen, in, inlen); + rv = EVP_PKEY_encrypt(ctx, out, (unsigned int *)poutlen, in, inlen); break; case EVP_PKEY_OP_DECRYPT: - rv = EVP_PKEY_decrypt(ctx, out, poutlen, in, inlen); + rv = EVP_PKEY_decrypt(ctx, out, (unsigned int *)poutlen, in, inlen); break; case EVP_PKEY_OP_DERIVE: - rv = EVP_PKEY_derive(ctx, out, poutlen); + rv = EVP_PKEY_derive(ctx, out, (unsigned int *)poutlen); break; } -- 2.25.1