mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
quirks\windows\windows-quirks.h -> quirks\quirks.h
This commit is contained in:
parent
8088e486ee
commit
4724440492
@ -226,7 +226,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\..\..\test\default\cmptest.h" />
|
<ClInclude Include="..\..\..\..\test\default\cmptest.h" />
|
||||||
<ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
|
<ClInclude Include="..\..\..\..\test\quirks\quirks.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -165,7 +165,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\test\default\cmptest.h">
|
<ClInclude Include="..\..\..\..\test\default\cmptest.h">
|
||||||
<Filter>include</Filter>
|
<Filter>include</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h">
|
<ClInclude Include="..\..\..\..\test\quirks\quirks.h">
|
||||||
<Filter>include</Filter>
|
<Filter>include</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -177,4 +177,4 @@
|
|||||||
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
|
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -226,7 +226,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\..\..\test\default\cmptest.h" />
|
<ClInclude Include="..\..\..\..\test\default\cmptest.h" />
|
||||||
<ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
|
<ClInclude Include="..\..\..\..\test\quirks\quirks.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -165,7 +165,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\test\default\cmptest.h">
|
<ClInclude Include="..\..\..\..\test\default\cmptest.h">
|
||||||
<Filter>include</Filter>
|
<Filter>include</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h">
|
<ClInclude Include="..\..\..\..\test\quirks\quirks.h">
|
||||||
<Filter>include</Filter>
|
<Filter>include</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -177,4 +177,4 @@
|
|||||||
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
|
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -226,7 +226,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\..\..\test\default\cmptest.h" />
|
<ClInclude Include="..\..\..\..\test\default\cmptest.h" />
|
||||||
<ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
|
<ClInclude Include="..\..\..\..\test\quirks\quirks.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -165,7 +165,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\test\default\cmptest.h">
|
<ClInclude Include="..\..\..\..\test\default\cmptest.h">
|
||||||
<Filter>include</Filter>
|
<Filter>include</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h">
|
<ClInclude Include="..\..\..\..\test\quirks\quirks.h">
|
||||||
<Filter>include</Filter>
|
<Filter>include</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -177,4 +177,4 @@
|
|||||||
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
|
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -2,4 +2,4 @@ SUBDIRS = \
|
|||||||
default
|
default
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
quirks/windows/windows-quirks.h
|
quirks/quirks.h
|
||||||
|
@ -211,13 +211,13 @@ auth2_LDADD = $(TESTS_LDADD)
|
|||||||
auth3_SOURCE = cmptest.h auth3.c
|
auth3_SOURCE = cmptest.h auth3.c
|
||||||
auth3_LDADD = $(TESTS_LDADD)
|
auth3_LDADD = $(TESTS_LDADD)
|
||||||
|
|
||||||
auth5_SOURCE = cmptest.h auth5.c windows/windows-quirks.h
|
auth5_SOURCE = cmptest.h auth5.c quirks.h
|
||||||
auth5_LDADD = $(TESTS_LDADD)
|
auth5_LDADD = $(TESTS_LDADD)
|
||||||
|
|
||||||
auth6_SOURCE = cmptest.h auth6.c windows/windows-quirks.h
|
auth6_SOURCE = cmptest.h auth6.c quirks.h
|
||||||
auth6_LDADD = $(TESTS_LDADD)
|
auth6_LDADD = $(TESTS_LDADD)
|
||||||
|
|
||||||
auth7_SOURCE = cmptest.h auth7.c windows/windows-quirks.h
|
auth7_SOURCE = cmptest.h auth7.c quirks.h
|
||||||
auth7_LDADD = $(TESTS_LDADD)
|
auth7_LDADD = $(TESTS_LDADD)
|
||||||
|
|
||||||
box_SOURCE = cmptest.h box.c
|
box_SOURCE = cmptest.h box.c
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "windows/windows-quirks.h"
|
#include "quirks.h"
|
||||||
|
|
||||||
#define TEST_NAME "auth5"
|
#define TEST_NAME "auth5"
|
||||||
#include "cmptest.h"
|
#include "cmptest.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "windows/windows-quirks.h"
|
#include "quirks.h"
|
||||||
|
|
||||||
#define TEST_NAME "auth7"
|
#define TEST_NAME "auth7"
|
||||||
#include "cmptest.h"
|
#include "cmptest.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "windows/windows-quirks.h"
|
#include "quirks.h"
|
||||||
|
|
||||||
#define TEST_NAME "box8"
|
#define TEST_NAME "box8"
|
||||||
#include "cmptest.h"
|
#include "cmptest.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "windows/windows-quirks.h"
|
#include "quirks.h"
|
||||||
|
|
||||||
#define TEST_NAME "onetimeauth7"
|
#define TEST_NAME "onetimeauth7"
|
||||||
#include "cmptest.h"
|
#include "cmptest.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "windows/windows-quirks.h"
|
#include "quirks.h"
|
||||||
|
|
||||||
#define TEST_NAME "secretbox8"
|
#define TEST_NAME "secretbox8"
|
||||||
#include "cmptest.h"
|
#include "cmptest.h"
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
|
|
||||||
static void
|
|
||||||
srandom(unsigned seed)
|
|
||||||
{
|
|
||||||
srand(seed);
|
|
||||||
}
|
|
||||||
|
|
||||||
static long
|
|
||||||
random(void)
|
|
||||||
{
|
|
||||||
return (long) rand();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue
Block a user