Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4f3dbb7f
Commit
4f3dbb7f
authored
Apr 04, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsabase: Remove rsabase tests as they are covered in rsaenh.
parent
9666218c
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
112 deletions
+0
-112
.gitignore
.gitignore
+0
-4
Makefile.in
Makefile.in
+0
-2
configure
configure
+0
-3
configure.ac
configure.ac
+0
-1
Makefile.in
dlls/Makefile.in
+0
-1
Makefile.in
dlls/rsabase/tests/Makefile.in
+0
-13
rsabase.c
dlls/rsabase/tests/rsabase.c
+0
-84
Makefile.in
programs/winetest/Makefile.in
+0
-3
winetest.rc
programs/winetest/winetest.rc
+0
-1
No files found.
.gitignore
View file @
4f3dbb7f
...
...
@@ -350,9 +350,6 @@ dlls/rpcrt4/tests/server.h
dlls/rpcrt4/tests/server_c.c
dlls/rpcrt4/tests/server_s.c
dlls/rpcrt4/tests/testlist.c
dlls/rsabase/tests/*.ok
dlls/rsabase/tests/rsabase_crosstest.exe
dlls/rsabase/tests/testlist.c
dlls/rsaenh/librsaenh.def
dlls/rsaenh/tests/*.ok
dlls/rsaenh/tests/rsaenh_crosstest.exe
...
...
@@ -673,7 +670,6 @@ programs/winetest/quartz_test.exe
programs/winetest/riched20_test.exe
programs/winetest/riched32_test.exe
programs/winetest/rpcrt4_test.exe
programs/winetest/rsabase_test.exe
programs/winetest/rsaenh_test.exe
programs/winetest/schannel_test.exe
programs/winetest/secur32_test.exe
...
...
Makefile.in
View file @
4f3dbb7f
...
...
@@ -412,7 +412,6 @@ ALL_MAKEFILES = \
dlls/rpcrt4/Makefile
\
dlls/rpcrt4/tests/Makefile
\
dlls/rsabase/Makefile
\
dlls/rsabase/tests/Makefile
\
dlls/rsaenh/Makefile
\
dlls/rsaenh/tests/Makefile
\
dlls/sane.ds/Makefile
\
...
...
@@ -837,7 +836,6 @@ dlls/riched32/tests/Makefile: dlls/riched32/tests/Makefile.in dlls/Maketest.rule
dlls/rpcrt4/Makefile
:
dlls/rpcrt4/Makefile.in dlls/Makedll.rules
dlls/rpcrt4/tests/Makefile
:
dlls/rpcrt4/tests/Makefile.in dlls/Maketest.rules
dlls/rsabase/Makefile
:
dlls/rsabase/Makefile.in dlls/Makedll.rules
dlls/rsabase/tests/Makefile
:
dlls/rsabase/tests/Makefile.in dlls/Maketest.rules
dlls/rsaenh/Makefile
:
dlls/rsaenh/Makefile.in dlls/Makedll.rules
dlls/rsaenh/tests/Makefile
:
dlls/rsaenh/tests/Makefile.in dlls/Maketest.rules
dlls/sane.ds/Makefile
:
dlls/sane.ds/Makefile.in dlls/Makedll.rules
...
...
configure
View file @
4f3dbb7f
...
...
@@ -21772,8 +21772,6 @@ ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
ac_config_files
=
"
$ac_config_files
dlls/rsabase/Makefile"
ac_config_files
=
"
$ac_config_files
dlls/rsabase/tests/Makefile"
ac_config_files
=
"
$ac_config_files
dlls/rsaenh/Makefile"
ac_config_files
=
"
$ac_config_files
dlls/rsaenh/tests/Makefile"
...
...
@@ -22912,7 +22910,6 @@ do
"dlls/rpcrt4/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/rpcrt4/Makefile" ;;
"dlls/rpcrt4/tests/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/rpcrt4/tests/Makefile" ;;
"dlls/rsabase/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/rsabase/Makefile" ;;
"dlls/rsabase/tests/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/rsabase/tests/Makefile" ;;
"dlls/rsaenh/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/rsaenh/Makefile" ;;
"dlls/rsaenh/tests/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/rsaenh/tests/Makefile" ;;
"dlls/sane.ds/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/sane.ds/Makefile" ;;
...
...
configure.ac
View file @
4f3dbb7f
...
...
@@ -1915,7 +1915,6 @@ AC_CONFIG_FILES([dlls/riched32/tests/Makefile])
AC_CONFIG_FILES([dlls/rpcrt4/Makefile])
AC_CONFIG_FILES([dlls/rpcrt4/tests/Makefile])
AC_CONFIG_FILES([dlls/rsabase/Makefile])
AC_CONFIG_FILES([dlls/rsabase/tests/Makefile])
AC_CONFIG_FILES([dlls/rsaenh/Makefile])
AC_CONFIG_FILES([dlls/rsaenh/tests/Makefile])
AC_CONFIG_FILES([dlls/sane.ds/Makefile])
...
...
dlls/Makefile.in
View file @
4f3dbb7f
...
...
@@ -342,7 +342,6 @@ TESTSUBDIRS = \
riched20/tests
\
riched32/tests
\
rpcrt4/tests
\
rsabase/tests
\
rsaenh/tests
\
schannel/tests
\
secur32/tests
\
...
...
dlls/rsabase/tests/Makefile.in
deleted
100644 → 0
View file @
9666218c
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
rsabase.dll
IMPORTS
=
advapi32 kernel32
CTESTS
=
\
rsabase.c
@MAKE_TEST_RULES@
@DEPENDENCIES@
# everything below this line is overwritten by make depend
dlls/rsabase/tests/rsabase.c
deleted
100644 → 0
View file @
9666218c
/*
* Unit tests for rsabase functions
*
* Copyright (c) 2004 Michael Jung
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <string.h>
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wincrypt.h"
HCRYPTPROV
hProv
;
static
const
char
szContainer
[]
=
"Wine Test Container"
;
static
const
char
szProvider
[]
=
MS_DEF_PROV_A
;
static
int
init_environment
(
void
)
{
hProv
=
(
HCRYPTPROV
)
INVALID_HANDLE_VALUE
;
if
(
!
CryptAcquireContext
(
&
hProv
,
szContainer
,
szProvider
,
PROV_RSA_FULL
,
0
))
{
if
(
GetLastError
()
==
NTE_BAD_KEYSET
)
{
if
(
!
CryptAcquireContext
(
&
hProv
,
szContainer
,
szProvider
,
PROV_RSA_FULL
,
CRYPT_NEWKEYSET
))
{
trace
(
"%08x
\n
"
,
GetLastError
());
return
0
;
}
}
else
{
trace
(
"%08x
\n
"
,
GetLastError
());
return
0
;
}
}
return
1
;
}
static
void
clean_up_environment
(
void
)
{
CryptAcquireContext
(
&
hProv
,
szContainer
,
szProvider
,
PROV_RSA_FULL
,
CRYPT_DELETEKEYSET
);
}
static
void
test_gen_random
(
void
)
{
BOOL
result
;
BYTE
rnd1
[
16
],
rnd2
[
16
];
memset
(
rnd1
,
0
,
sizeof
(
rnd1
));
memset
(
rnd2
,
0
,
sizeof
(
rnd2
));
result
=
CryptGenRandom
(
hProv
,
sizeof
(
rnd1
),
rnd1
);
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
result
=
CryptGenRandom
(
hProv
,
sizeof
(
rnd2
),
rnd2
);
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
ok
(
memcmp
(
rnd1
,
rnd2
,
sizeof
(
rnd1
)),
"CryptGenRandom generates non random data
\n
"
);
}
START_TEST
(
rsabase
)
{
if
(
!
init_environment
())
return
;
test_gen_random
();
clean_up_environment
();
}
programs/winetest/Makefile.in
View file @
4f3dbb7f
...
...
@@ -83,7 +83,6 @@ TESTBINS = \
riched20_test.exe
\
riched32_test.exe
\
rpcrt4_test.exe
\
rsabase_test.exe
\
rsaenh_test.exe
\
schannel_test.exe
\
secur32_test.exe
\
...
...
@@ -223,8 +222,6 @@ riched32_test.exe: $(DLLDIR)/riched32/tests/riched32_test.exe$(DLLEXT)
cp
$(DLLDIR)
/riched32/tests/riched32_test.exe
$(DLLEXT)
$@
&&
$(STRIP)
$@
rpcrt4_test.exe
:
$(DLLDIR)/rpcrt4/tests/rpcrt4_test.exe$(DLLEXT)
cp
$(DLLDIR)
/rpcrt4/tests/rpcrt4_test.exe
$(DLLEXT)
$@
&&
$(STRIP)
$@
rsabase_test.exe
:
$(DLLDIR)/rsabase/tests/rsabase_test.exe$(DLLEXT)
cp
$(DLLDIR)
/rsabase/tests/rsabase_test.exe
$(DLLEXT)
$@
&&
$(STRIP)
$@
rsaenh_test.exe
:
$(DLLDIR)/rsaenh/tests/rsaenh_test.exe$(DLLEXT)
cp
$(DLLDIR)
/rsaenh/tests/rsaenh_test.exe
$(DLLEXT)
$@
&&
$(STRIP)
$@
schannel_test.exe
:
$(DLLDIR)/schannel/tests/schannel_test.exe$(DLLEXT)
...
...
programs/winetest/winetest.rc
View file @
4f3dbb7f
...
...
@@ -144,7 +144,6 @@ quartz_test.exe TESTRES "quartz_test.exe"
riched20_test.exe TESTRES "riched20_test.exe"
riched32_test.exe TESTRES "riched32_test.exe"
rpcrt4_test.exe TESTRES "rpcrt4_test.exe"
rsabase_test.exe TESTRES "rsabase_test.exe"
rsaenh_test.exe TESTRES "rsaenh_test.exe"
schannel_test.exe TESTRES "schannel_test.exe"
secur32_test.exe TESTRES "secur32_test.exe"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment