<!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 style="color: #777777;">
<a href="https://gitlab.com/codesquid">Tim Kosse</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1232#note_572240238">commented</a>:
</p>
<div style="">
<p dir="auto">There is a follow-up issue: In lib/system/keys-win.c CryptAcquireContextW is used. According to <a href="https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptacquirecontextw" rel="nofollow noreferrer noopener" target="_blank">https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptacquirecontextw</a>, using this fuction requires linking against advapi32, however it is missing from the GnuTLS linker flags.</p>
<p dir="auto">This results in an error loading libgnutls-30.dll: "The procedure entry point CryptAcquireContextW could not be loacated in the dynamic link library libgnutls-30.dll"</p>
<p dir="auto">This issue however gets masked by the presence of the dummy crypt32.dll which exports this function, which the system's crypt32.dll does not export.</p>
<p dir="auto">To solve this, -ladvapi32 needs to be added to GNUTLS_LIBS_PRIVATE in configure.ac</p>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1232#note_572240238">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/d997ad518aa99bcc16fe788e5489ea2f/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 Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1232#note_572240238"}}</script>


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