提交 22c3600e 编写于 作者: R Richard Levitte

Resolve signed vs. unsigned.

上级 49f38657
...@@ -93,7 +93,7 @@ void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x) ...@@ -93,7 +93,7 @@ void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x)
len = asn1_d2i_read_bio(in, &b); len = asn1_d2i_read_bio(in, &b);
if(len < 0) goto err; if(len < 0) goto err;
p=b->data; p=(unsigned char *)b->data;
ret=d2i(x,&p,len); ret=d2i(x,&p,len);
err: err:
if (b != NULL) BUF_MEM_free(b); if (b != NULL) BUF_MEM_free(b);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册