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
ccae072a
Commit
ccae072a
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: Extract schan_imp_get_session_cipher_block_size function.
parent
1b225a01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
schannel.c
dlls/secur32/schannel.c
+7
-2
No files found.
dlls/secur32/schannel.c
View file @
ccae072a
...
...
@@ -168,6 +168,12 @@ static ALG_ID schannel_get_kx_algid(gnutls_kx_algorithm_t kx)
}
}
static
unsigned
int
schan_imp_get_session_cipher_block_size
(
gnutls_session_t
s
)
{
gnutls_cipher_algorithm_t
cipher
=
pgnutls_cipher_get
(
s
);
return
schannel_get_cipher_block_size
(
cipher
);
}
static
SECURITY_STATUS
schan_imp_get_session_peer_certificate
(
gnutls_session_t
s
,
PCCERT_CONTEXT
*
cert
)
{
...
...
@@ -1019,8 +1025,7 @@ static SECURITY_STATUS SEC_ENTRY schan_QueryContextAttributesW(
SecPkgContext_StreamSizes
*
stream_sizes
=
buffer
;
gnutls_mac_algorithm_t
mac
=
pgnutls_mac_get
(
ctx
->
session
);
size_t
mac_size
=
pgnutls_mac_get_key_size
(
mac
);
gnutls_cipher_algorithm_t
cipher
=
pgnutls_cipher_get
(
ctx
->
session
);
unsigned
int
block_size
=
schannel_get_cipher_block_size
(
cipher
);
unsigned
int
block_size
=
schan_imp_get_session_cipher_block_size
(
ctx
->
session
);
TRACE
(
"Using %zu mac bytes, block size %u
\n
"
,
mac_size
,
block_size
);
...
...
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