mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
remove extra define for __NR_getrandom and add some comments
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19985)
This commit is contained in:
parent
a2a09af086
commit
c8a9b26d6e
@ -319,9 +319,7 @@ static ssize_t sysctl_random(char *buf, size_t buflen)
|
||||
# define __NR_getrandom 352
|
||||
# elif defined(__cris__)
|
||||
# define __NR_getrandom 356
|
||||
# elif defined(__aarch64__)
|
||||
# define __NR_getrandom 278
|
||||
# else /* generic */
|
||||
# else /* generic (f.e. aarch64, loongarch, loongarch64) */
|
||||
# define __NR_getrandom 278
|
||||
# endif
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user