[PATCH] w32: Use __declspec(thread) for FIPS thread context TLS

Werner Koch wk at gnupg.org
Tue Dec 9 15:17:55 CET 2025


On Tue,  9 Dec 2025 15:08, Werner Koch said:

> How did you noticed that libgpg-error TLS was also not properly
> intialized?

Sorry, I was in libgpg-error hacking mode and thus mixed this uop with
the new code in Libgcrypt.  Anyway, if there is a problem we need to
anaylyze the problem to see where both attribution methods differ.

If we use thread-local-storage (TLS) in Libgcrypt we may want to
delegate this to libgpg-error which is anyway a dependency.


Salam-Shalom,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20251209/67143262/attachment.sig>


More information about the Gcrypt-devel mailing list