summaryrefslogtreecommitdiffstats
path: root/apps/pkeyutl.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-05-26 13:27:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-05-26 13:27:58 +0000
commit6657b9c73acfddc9b3fe86da0ee63494c7826742 (patch)
tree78f069bfacc8dbcd81120663c7cddb9bfe331d1a /apps/pkeyutl.c
parentba0d04a986db21c1a0777f6df58413dbe8711a29 (diff)
Fix warnings.
Diffstat (limited to 'apps/pkeyutl.c')
-rw-r--r--apps/pkeyutl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c
index a3ac23c2d8..497ae9753e 100644
--- a/apps/pkeyutl.c
+++ b/apps/pkeyutl.c
@@ -99,7 +99,7 @@ int MAIN(int argc, char **argv)
int keysize = -1;
unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL;
- int buf_inlen, buf_outlen, siglen = -1;
+ int buf_inlen = 0, buf_outlen, siglen = -1;
int ret = 1, rv = -1;
@@ -539,7 +539,7 @@ static int do_keyop(EVP_PKEY_CTX *ctx, int pkey_op,
unsigned char *out, size_t *poutlen,
unsigned char *in, size_t inlen)
{
- int rv;
+ int rv = 0;
switch(pkey_op)
{
case EVP_PKEY_OP_VERIFYRECOVER: