diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-08-03 12:52:39 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-08-03 13:52:39 -0400 |
commit | d026b1b226f97991cbf1994521fd1260eb27a762 (patch) | |
tree | 12c7a4ad500dd83e5dde2b6ba4bc4b69d2a5dba7 /AUTHORS.rst | |
parent | 765e771b1148755eb2344dd46747c7f853c62a52 (diff) | |
download | cryptography-d026b1b226f97991cbf1994521fd1260eb27a762.tar.gz cryptography-d026b1b226f97991cbf1994521fd1260eb27a762.tar.bz2 cryptography-d026b1b226f97991cbf1994521fd1260eb27a762.zip |
Fix weak linking of getentropy when compiling on older macOS (#3841)
* Fix weak linking of getentropy when compiling on older macOS
We use weak linking in macOS to determine if the getentropy symbol is
available. However, to do that we need to have a declaration that states
the function is __attribute((weak_import)) at compile time. On macOS
10.12 this is provided in sys/random.h, but on older macOS the
declaration doesn't exist at all, so we need to forward declare it
ourselves.
* update a comment and a style nit
Diffstat (limited to 'AUTHORS.rst')
0 files changed, 0 insertions, 0 deletions