Apply a small patch from Oscar Jacobsson <oscar@jacobsson.org> that
makes things more compilable with VC++.
This commit is contained in:
parent
f6fbd470e3
commit
b77fcddb6b
@ -614,7 +614,7 @@ static long conn_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
|
|||||||
{
|
{
|
||||||
case BIO_CTRL_SET_CALLBACK:
|
case BIO_CTRL_SET_CALLBACK:
|
||||||
{
|
{
|
||||||
data->info_callback=(int (*)())fp;
|
data->info_callback=(int (*)(const struct bio_st *, int, int))fp;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -336,7 +336,7 @@ int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
|
|||||||
|
|
||||||
for (i = 0; i < totalnum; i++)
|
for (i = 0; i < totalnum; i++)
|
||||||
{
|
{
|
||||||
if (wNAF_len[i] > k)
|
if (wNAF_len[i] > (size_t)k)
|
||||||
{
|
{
|
||||||
int digit = wNAF[i][k];
|
int digit = wNAF[i][k];
|
||||||
int is_neg;
|
int is_neg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user