summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/pkeyutl.c
diff options
context:
space:
mode:
authorinoguchi <>2018-01-28 09:21:34 +0000
committerinoguchi <>2018-01-28 09:21:34 +0000
commit10dfde59e8d07a40881ee15f9402c6012597422e (patch)
tree12c08641cc5d9a7244675fd1f0214d78dac34095 /src/usr.bin/openssl/pkeyutl.c
parent9995aadc83fe5c1fdcdabd24dec09d459ebe9a6a (diff)
downloadopenbsd-10dfde59e8d07a40881ee15f9402c6012597422e.tar.gz
openbsd-10dfde59e8d07a40881ee15f9402c6012597422e.tar.bz2
openbsd-10dfde59e8d07a40881ee15f9402c6012597422e.zip
Initialize variables to avoid compiler warnings
ok jsing@
Diffstat (limited to 'src/usr.bin/openssl/pkeyutl.c')
-rw-r--r--src/usr.bin/openssl/pkeyutl.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: pkeyutl.c,v 1.11 2017/01/20 08:57:12 deraadt Exp $ */ 1/* $OpenBSD: pkeyutl.c,v 1.12 2018/01/28 09:21:34 inoguchi Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -95,7 +95,7 @@ pkeyutl_main(int argc, char **argv)
95 int keysize = -1; 95 int keysize = -1;
96 96
97 unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL; 97 unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL;
98 size_t buf_outlen; 98 size_t buf_outlen = 0;
99 int buf_inlen = 0, siglen = -1; 99 int buf_inlen = 0, siglen = -1;
100 100
101 int ret = 1, rv = -1; 101 int ret = 1, rv = -1;