<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/robUx4">Steve Lhomme</a> created a merge request:
</p>
<p>
</p>
<div class="branch">
Project:Branches: robUx4/gnutls:nowincrypt to gnutls/gnutls:master
</div>
<div class="author">
Author: Steve Lhomme
</div>
<div class="assignee">
Assignees: 
</div>
<div class="approvers">

</div>

<div>
<p dir="auto">Wincrypt is deprecated and replaced by bcrypt. (see <a href="https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom" rel="nofollow noreferrer noopener" target="_blank">https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom</a>)</p>
<p dir="auto">BCrypt is available in Win10 apps when wincrypt APIs are not. (see <a href="https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-ncryptdll" rel="nofollow noreferrer noopener" target="_blank">https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-ncryptdll</a>)</p>
<p dir="auto">When building for Vista and up bcrypt is automatically picked and linked statically.
(by default mingw targets XP)</p>
<p dir="auto">This patch will conflict with <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1254" data-original="!1254" data-link="false" data-link-reference="false" data-project="179611" data-merge-request="59067571" data-project-path="gnutls/gnutls" data-iid="1254" data-mr-title="Allow statically linking ncrypt (win32)" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!1254</a> depending on which is merged first. They rely on the same Vista detection but work independently.</p>
</div>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1255">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/cd85deacb7adeb9c9bb90c07d3fa58dd/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/-/merge_requests/1255"}}</script>


</p>
</div>
</body>
</html>