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
8b8a32f7
Commit
8b8a32f7
authored
Jul 20, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcrypt: Default to building with GnuTLS support on macOS, if present.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1604cdae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
bcrypt_main.c
dlls/bcrypt/bcrypt_main.c
+2
-3
gnutls.c
dlls/bcrypt/gnutls.c
+1
-1
macos.c
dlls/bcrypt/macos.c
+1
-1
No files found.
dlls/bcrypt/bcrypt_main.c
View file @
8b8a32f7
...
...
@@ -815,7 +815,6 @@ void buffer_append_asn1_r_s( struct buffer *buffer, BYTE *r, DWORD r_len, BYTE *
}
#endif
#if defined(HAVE_GNUTLS_CIPHER_INIT) || defined(HAVE_COMMONCRYPTO_COMMONCRYPTOR_H) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
BOOL
key_is_symmetric
(
struct
key
*
key
)
{
...
...
@@ -1421,14 +1420,14 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
case
DLL_PROCESS_ATTACH
:
instance
=
hinst
;
DisableThreadLibraryCalls
(
hinst
);
#if
defined(HAVE_GNUTLS_CIPHER_INIT) && !defined(HAVE_COMMONCRYPTO_COMMONCRYPTOR_H)
#if
def HAVE_GNUTLS_CIPHER_INIT
gnutls_initialize
();
#endif
break
;
case
DLL_PROCESS_DETACH
:
if
(
reserved
)
break
;
#if
defined(HAVE_GNUTLS_CIPHER_INIT) && !defined(HAVE_COMMONCRYPTO_COMMONCRYPTOR_H)
#if
def HAVE_GNUTLS_CIPHER_INIT
gnutls_uninitialize
();
#endif
break
;
...
...
dlls/bcrypt/gnutls.c
View file @
8b8a32f7
...
...
@@ -42,7 +42,7 @@
#include "wine/library.h"
#include "wine/unicode.h"
#if
defined(HAVE_GNUTLS_CIPHER_INIT) && !defined(HAVE_COMMONCRYPTO_COMMONCRYPTOR_H)
#if
def HAVE_GNUTLS_CIPHER_INIT
WINE_DEFAULT_DEBUG_CHANNEL
(
bcrypt
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
...
...
dlls/bcrypt/macos.c
View file @
8b8a32f7
...
...
@@ -41,7 +41,7 @@
#include "wine/library.h"
#include "wine/unicode.h"
#if defined(HAVE_COMMONCRYPTO_COMMONCRYPTOR_H) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
#if defined(HAVE_COMMONCRYPTO_COMMONCRYPTOR_H) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
&& !defined(HAVE_GNUTLS_CIPHER_INIT)
WINE_DEFAULT_DEBUG_CHANNEL
(
bcrypt
);
NTSTATUS
key_set_property
(
struct
key
*
key
,
const
WCHAR
*
prop
,
UCHAR
*
value
,
ULONG
size
,
ULONG
flags
)
...
...
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