fix windows build

This commit is contained in:
toddouska
2015-03-29 11:51:05 -07:00
parent 4332acbeaa
commit c90977c7a5

View File

@ -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