From 10dfde59e8d07a40881ee15f9402c6012597422e Mon Sep 17 00:00:00 2001 From: inoguchi <> Date: Sun, 28 Jan 2018 09:21:34 +0000 Subject: Initialize variables to avoid compiler warnings ok jsing@ --- src/usr.bin/openssl/pkeyutl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/pkeyutl.c') diff --git a/src/usr.bin/openssl/pkeyutl.c b/src/usr.bin/openssl/pkeyutl.c index 4752b4c79a..dd52e93dfa 100644 --- a/src/usr.bin/openssl/pkeyutl.c +++ b/src/usr.bin/openssl/pkeyutl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkeyutl.c,v 1.11 2017/01/20 08:57:12 deraadt Exp $ */ +/* $OpenBSD: pkeyutl.c,v 1.12 2018/01/28 09:21:34 inoguchi Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -95,7 +95,7 @@ pkeyutl_main(int argc, char **argv) int keysize = -1; unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL; - size_t buf_outlen; + size_t buf_outlen = 0; int buf_inlen = 0, siglen = -1; int ret = 1, rv = -1; -- cgit v1.2.3-55-g6feb