[gnutls-devel] GnuTLS | tests/seccomp.c missing test for HAVE_GETRANDOM (#703)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Feb 11 17:32:18 CET 2019


New Issue was created.

Issue 703: https://gitlab.com/gnutls/gnutls/issues/703
Author:    Andy Bailey
Assignee:  

## Description of problem:

tests/seccomp.c calls:

ADD_SYSCALL(getrandom, 0);

without testing for HAVE_GETRANDOM

surrounding the call with #ifdef HAVE_GETRANDOM seems to do the trick.


## Version of gnutls used:

3.6.5

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)


## How reproducible:

Steps to Reproduce:

 * on a machine with older libc6 (I have 2.19), lacking getrandom(), run configure
 * configure will detect absence of getrandom, config.h has HAVE_GETRANDOM unset
 * run make

## Actual results:

undefined reference error

## Expected results:

build and link

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/703
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190211/a0c9d4f0/attachment.html>


More information about the Gnutls-devel mailing list