提交 bc9d9ce2 编写于 作者: D Dr. Stephen Henson

fix warning

Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
上级 7ab50749
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册