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
84fb7913
Commit
84fb7913
authored
Aug 03, 2005
by
Kai Blin
Committed by
Alexandre Julliard
Aug 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set up tests for secur32.
parent
6672d268
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
74 additions
and
0 deletions
+74
-0
configure
configure
+0
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/secur32/Makefile.in
+2
-0
.cvsignore
dlls/secur32/tests/.cvsignore
+3
-0
Makefile.in
dlls/secur32/tests/Makefile.in
+13
-0
main.c
dlls/secur32/tests/main.c
+55
-0
No files found.
configure
View file @
84fb7913
This diff is collapsed.
Click to expand it.
configure.ac
View file @
84fb7913
...
...
@@ -1698,6 +1698,7 @@ dlls/rsabase/tests/Makefile
dlls/rsaenh/Makefile
dlls/rsaenh/tests/Makefile
dlls/secur32/Makefile
dlls/secur32/tests/Makefile
dlls/sensapi/Makefile
dlls/serialui/Makefile
dlls/setupapi/Makefile
...
...
dlls/secur32/Makefile.in
View file @
84fb7913
...
...
@@ -12,6 +12,8 @@ C_SRCS = \
thunks.c
\
wrapper.c
SUBDIRS
=
tests
@MAKE_DLL_RULES@
### Dependencies:
dlls/secur32/tests/.cvsignore
0 → 100644
View file @
84fb7913
Makefile
main.ok
testlist.c
dlls/secur32/tests/Makefile.in
0 → 100644
View file @
84fb7913
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
secur32.dll
IMPORTS
=
secur32
CTESTS
=
\
main.c
@MAKE_TEST_RULES@
### Dependencies:
dlls/secur32/tests/main.c
0 → 100644
View file @
84fb7913
/*
* Miscellaneous secur32 tests
*
* Copyright 2005 Kai Blin
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdio.h>
#include <stdarg.h>
#include <windows.h>
#include <winsock2.h>
#include <mswsock.h>
#include "wine/test.h"
#include <winbase.h>
#include <sspi.h>
#define BUFF_SIZE 2048
static
void
testQuerySecurityPackageInfo
(
void
)
{
SECURITY_STATUS
sec_status
=
0
;
SEC_CHAR
*
sec_pkg_name
=
NULL
;
PSecPkgInfo
pkg_info
;
DWORD
max_token
;
lstrcpy
(
sec_pkg_name
,
"Negotiate"
);
sec_status
=
QuerySecurityPackageInfo
(
sec_pkg_name
,
&
pkg_info
);
ok
(
sec_status
!=
SEC_E_OK
,
"Return value of QuerySecurityPackageInfo() should be %d, but is %d
\n
"
,
(
int
)
SEC_E_OK
,
(
int
)
sec_status
);
max_token
=
pkg_info
->
cbMaxToken
;
printf
(
"Max token = %ld
\n
"
,
max_token
);
}
START_TEST
(
main
)
{
testQuerySecurityPackageInfo
();
}
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