forked from wolfSSL/wolfssl
fix windows build
This commit is contained in:
@ -4265,10 +4265,6 @@ int dh_test(void)
|
|||||||
DhKey key2;
|
DhKey key2;
|
||||||
RNG rng;
|
RNG rng;
|
||||||
|
|
||||||
(void)idx;
|
|
||||||
(void)tmp;
|
|
||||||
(void)bytes;
|
|
||||||
|
|
||||||
#ifdef USE_CERT_BUFFERS_1024
|
#ifdef USE_CERT_BUFFERS_1024
|
||||||
XMEMCPY(tmp, dh_key_der_1024, sizeof_dh_key_der_1024);
|
XMEMCPY(tmp, dh_key_der_1024, sizeof_dh_key_der_1024);
|
||||||
bytes = sizeof_dh_key_der_1024;
|
bytes = sizeof_dh_key_der_1024;
|
||||||
@ -4287,6 +4283,10 @@ int dh_test(void)
|
|||||||
fclose(file);
|
fclose(file);
|
||||||
#endif /* USE_CERT_BUFFERS */
|
#endif /* USE_CERT_BUFFERS */
|
||||||
|
|
||||||
|
(void)idx;
|
||||||
|
(void)tmp;
|
||||||
|
(void)bytes;
|
||||||
|
|
||||||
wc_InitDhKey(&key);
|
wc_InitDhKey(&key);
|
||||||
wc_InitDhKey(&key2);
|
wc_InitDhKey(&key2);
|
||||||
#ifdef NO_ASN
|
#ifdef NO_ASN
|
||||||
|
Reference in New Issue
Block a user