Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Steve Lhomme
VLC
Commits
9d8eb3b6
Commit
9d8eb3b6
authored
Dec 28, 2017
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: gnutls: Fix winrt build
parent
d1fdad23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
contrib/src/gnutls/gnutls-winrt.patch
contrib/src/gnutls/gnutls-winrt.patch
+20
-0
No files found.
contrib/src/gnutls/gnutls-winrt.patch
View file @
9d8eb3b6
...
...
@@ -19,3 +19,23 @@
#define DYN_NCRYPT
#ifdef __MINGW32__
--- gnutls/lib/system/keys-win.c.old 2017-12-28 11:04:45.599954683 +0100
+++ gnutls/lib/system/keys-win.c 2017-12-28 11:07:37.999947957 +0100
@@ -624,6 +624,9 @@
-*/
int _gnutls_privkey_import_system_url(gnutls_privkey_t pkey, const char *url)
{
+#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
+ return GNUTLS_E_UNIMPLEMENTED_FEATURE;
+#else
uint8_t id[MAX_WID_SIZE];
HCERTSTORE store = NULL;
size_t id_size;
@@ -873,6 +876,7 @@
CertCloseStore(store, 0);
return ret;
+#endif
}
int _gnutls_x509_crt_import_system_url(gnutls_x509_crt_t crt, const char *url)
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