[gnutls-devel] GnuTLS | tls13/prf fails with hardening LDFLAGS (#584)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Oct 5 22:57:12 CEST 2018
New Issue was created.
Issue 584: https://gitlab.com/gnutls/gnutls/issues/584
Author: Dimitri John Ledkov
Assignee:
## Description of problem:
./tls13/prf fails with hardened LDFLAGS
I'm not sure if the testcase, or library, or both get miss-build. And ideally, things would build and test suite correctly (or like strip/warn against incompatible LDFLAGS).
## Version of gnutls used:
git master, 3.6.4
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu
## How reproducible:
`
./configure LDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now'
make -j8
make -C tests tls13/prf
$ ./tests/tls13/prf
`
## Actual results:
`
$ ./tests/tls13/prf
gnutls_prf: output doesn't match for 'key expansion'
got \x86\xdb\x26\xde\x6a\x57\x04\x5e\xa1\xc0\x13\x8c\x88\x85\xc4\xb0\xf9\x44\x38\x71\x4d\x34\xa4\x14\x21\x89\xb2\xda\x78\xc3\x6f\xd9\x79\xd5
expected \xfb\xcb\x96\x87\x8c\x64\x8b\x60\xef\xdc\x76\xb0\x7c\x3b\xd1\x50\x1e\xb1\x3f\x39\xb2\x20\x74\x2c\xb2\x76\x12\x9f\xfc\xad\xb9\xce\x1d\x9a
_check_wait_status:157: Child died with status 1
`
## Expected results:
`
# no output, exit code 0
`
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/584
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/20181005/711f71cc/attachment.html>
More information about the Gnutls-devel
mailing list