projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return error if no cipher set for encrypted data type.
[oweals/openssl.git]
/
crypto
/
evp
/
p_sign.c
diff --git
a/crypto/evp/p_sign.c
b/crypto/evp/p_sign.c
index 54ad0fc7f74da3b06eff08887647b06541099a99..8df6d48a7ec0892d554d89839fa17039eb119793 100644
(file)
--- 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)