Todd C. Miller
|
3e21c8da5c
|
Add missing PVS Studio Open Source comments.
Also avoid checking protobuf-c source and protobuf-c generated files.
|
2022-06-29 09:45:04 -06:00 |
|
Todd C. Miller
|
dc5ac7424b
|
Pass correct size to free_zero().
Coverity CID 241233
|
2021-11-20 09:14:04 -07:00 |
|
Todd C. Miller
|
cc6157d7d4
|
Add support for WolfSSL's OpenSSL compatibility layer.
Based on changes from Hayden Roche
|
2021-10-25 13:17:57 -06:00 |
|
Larkin Nickle
|
07bdfeedb8
|
Define MAP_FAILED where relevant if undefined
On systems such as HP-UX 10.20, MAP_FAILED is not
defined.
|
2021-10-21 19:16:28 -04:00 |
|
Todd C. Miller
|
23eef895f4
|
Add an explicit check for sys/sysctl.h.
This test needs to be done after AC_LANG_WERROR to avoid including
sys/sysctl.h on systems where it is marked as deprecated via a
#warning directive.
|
2021-10-20 10:31:35 -06:00 |
|
Todd C. Miller
|
de4fd4a31d
|
Use the OpenSSL RAND_bytes() function if getrandom() fails.
|
2021-10-20 09:51:17 -06:00 |
|
Todd C. Miller
|
e0c2635fb3
|
Apply Google inclusive language guidelines.
Also replace backwards with backward.
|
2020-10-30 10:15:30 -06:00 |
|
Todd C. Miller
|
88dcdcd11d
|
Fix -Wshadow warnings.
|
2020-09-25 15:09:45 -06:00 |
|
Todd C. Miller
|
c4b9f6136d
|
Add missing #ifdef HAVE_CLOCK_GETTIME in getentropy_fallback()
From Tim Rice
|
2020-09-04 15:55:11 -06:00 |
|
Todd C. Miller
|
ce97ca28db
|
Use OpenBSD-compatible freezero() in place of explicit_bzero() + free()
|
2020-08-10 19:24:33 -06:00 |
|
Todd C. Miller
|
cef6e3687e
|
Switch from memset_s() -> explicit_bzero().
memset_s() (and all of Annex K) is likely to be removed from the
a future version of the standard.
|
2020-08-10 19:24:32 -06:00 |
|
Todd C. Miller
|
9d69c4a022
|
Allow getentropy.c to compile when MAP_ANON is unavailable.
|
2020-01-28 06:59:16 -07:00 |
|
Todd C. Miller
|
aa7ea419f0
|
Backed out changeset 9dce3ebb2c37
MAP_SGI_ANYADDR cannot be used in place of MAP_ANON
|
2020-01-28 05:49:41 -07:00 |
|
Todd C. Miller
|
1fd82e1499
|
Fix compilation on IRIX; Bug #915
IRIX lacks MAP_ANON (and MAP_ANONYMOUS) but we can use the IRIX-specific
flag MAP_SGI_ANYADDR instead. From Kazuo Kuroi
|
2020-01-27 16:14:57 -07:00 |
|
Todd C. Miller
|
1e1ef61902
|
Add SPDX-License-Identifier to files.
|
2019-04-29 07:21:51 -06:00 |
|
Todd C. Miller
|
6c3d20cb41
|
Convert PVS-Studio comment to ANSI C.
|
2018-10-26 08:39:09 -06:00 |
|
Todd C. Miller
|
64e5d34c57
|
Add comments in .c files so PVS-Studio will check them.
|
2018-10-21 08:46:05 -06:00 |
|
Todd C. Miller
|
fe965c3a31
|
Fix typo in last commit.
|
2018-08-22 19:15:26 -06:00 |
|
Todd C. Miller
|
d876602dbf
|
Do not assume all Linux has linux/random.h.
Add missing sys/syscall.h include
|
2018-08-22 15:12:11 -06:00 |
|
Todd C. Miller
|
ad104a3e47
|
Fix setting of errno when gotdata() fails.
|
2018-08-22 10:36:00 -06:00 |
|
Todd C. Miller
|
ddd663a5f2
|
Import arc4random() from libressl. This takes an all-in-one approach
instead of the one-file-per-OS approach that libressl takes.
The fallback code does not have as many OS-specific bits as libressl.
|
2018-05-24 21:04:23 -06:00 |
|