Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0b396208
Commit
0b396208
authored
Mar 13, 2011
by
Ken Thomases
Committed by
Alexandre Julliard
Mar 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Separate GnuTLS schannel implementation into separate file.
parent
c890bf4d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
0 deletions
+38
-0
Makefile.in
dlls/secur32/Makefile.in
+1
-0
schannel.c
dlls/secur32/schannel.c
+0
-0
schannel_gnutls.c
dlls/secur32/schannel_gnutls.c
+0
-0
secur32_priv.h
dlls/secur32/secur32_priv.h
+37
-0
No files found.
dlls/secur32/Makefile.in
View file @
0b396208
...
...
@@ -12,6 +12,7 @@ C_SRCS = \
negotiate.c
\
ntlm.c
\
schannel.c
\
schannel_gnutls.c
\
secur32.c
\
thunks.c
\
util.c
\
...
...
dlls/secur32/schannel.c
View file @
0b396208
This diff is collapsed.
Click to expand it.
dlls/secur32/schannel_gnutls.c
0 → 100644
View file @
0b396208
This diff is collapsed.
Click to expand it.
dlls/secur32/secur32_priv.h
View file @
0b396208
...
...
@@ -22,7 +22,9 @@
#define __SECUR32_PRIV_H__
#include <sys/types.h>
#include <limits.h>
#include "wine/list.h"
#include "schannel.h"
typedef
struct
_SecureProvider
{
...
...
@@ -173,4 +175,39 @@ void SECUR32_arc4Cleanup(arc4_info *a4i);
#define NTLMSSP_NEGOTIATE_128 0x20000000
#define NTLMSSP_NEGOTIATE_KEY_EXCHANGE 0x40000000
#define NTLMSSP_NEGOTIATE_56 0x80000000
/* schannel internal interface */
typedef
struct
schan_imp_session_opaque
*
schan_imp_session
;
typedef
struct
schan_imp_certificate_credentials_opaque
*
schan_imp_certificate_credentials
;
struct
schan_transport
;
extern
int
schan_pull
(
struct
schan_transport
*
t
,
void
*
buff
,
size_t
*
buff_len
);
extern
int
schan_push
(
struct
schan_transport
*
t
,
const
void
*
buff
,
size_t
*
buff_len
);
extern
schan_imp_session
schan_session_for_transport
(
struct
schan_transport
*
t
);
/* schannel implementation interface */
extern
BOOL
schan_imp_create_session
(
schan_imp_session
*
session
,
BOOL
is_server
,
schan_imp_certificate_credentials
cred
);
extern
void
schan_imp_dispose_session
(
schan_imp_session
session
);
extern
void
schan_imp_set_session_transport
(
schan_imp_session
session
,
struct
schan_transport
*
t
);
extern
SECURITY_STATUS
schan_imp_handshake
(
schan_imp_session
session
);
extern
unsigned
int
schan_imp_get_session_cipher_block_size
(
schan_imp_session
session
);
extern
SECURITY_STATUS
schan_imp_get_connection_info
(
schan_imp_session
session
,
SecPkgContext_ConnectionInfo
*
info
);
extern
SECURITY_STATUS
schan_imp_get_session_peer_certificate
(
schan_imp_session
session
,
PCCERT_CONTEXT
*
cert
);
extern
SECURITY_STATUS
schan_imp_send
(
schan_imp_session
session
,
const
void
*
buffer
,
size_t
*
length
);
extern
SECURITY_STATUS
schan_imp_recv
(
schan_imp_session
session
,
void
*
buffer
,
size_t
*
length
);
extern
BOOL
schan_imp_allocate_certificate_credentials
(
schan_imp_certificate_credentials
*
c
);
extern
void
schan_imp_free_certificate_credentials
(
schan_imp_certificate_credentials
c
);
extern
BOOL
schan_imp_init
(
void
);
extern
void
schan_imp_deinit
(
void
);
#endif
/* ndef __SECUR32_PRIV_H__ */
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