[Rpm-maint] [rpm-software-management/rpm] rpmio: initialise libgcrypt (#969)

Panu Matilainen notifications at github.com
Thu Dec 5 07:02:15 UTC 2019


Hmm, from https://www.gnupg.org/documentation/manuals/gcrypt/Initializing-the-library.html:

>The function gcry_check_version initializes some subsystems used by Libgcrypt and must be invoked before any other function in the library. See Multi-Threading. 

So even if gcry_control() happens to work, the above tells in no unclear terms to use gcry_check_version() for initialization.

Also the commit message kind of manages to miss the point: this initialization is required to make libcrypt thread-safe.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/969#issuecomment-561999715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191204/7ea0a475/attachment.html>


More information about the Rpm-maint mailing list