projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ab5074
)
fix warning
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 29 Jan 2016 15:12:16 +0000
(15:12 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 30 Jan 2016 16:02:48 +0000
(16:02 +0000)
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
test/evp_test.c
patch
|
blob
|
history
diff --git
a/test/evp_test.c
b/test/evp_test.c
index 326ed0d1533fb616804dfcc84b6893f372366ce1..64b4f9385805b5d203b8029725e3eb61af04e6a8 100644
(file)
--- a/
test/evp_test.c
+++ b/
test/evp_test.c
@@
-169,6
+169,8
@@
static unsigned char* unescape(const char *input, size_t input_len,
static int test_bin(const char *value, unsigned char **buf, size_t *buflen)
{
long len;
+
+ *buflen = 0;
if (!*value) {
/*
* Don't return NULL for zero length buffer.