Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
350d8762
Commit
350d8762
authored
Dec 26, 2018
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with gcc -std=c89
parent
f5a3a224
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
ChangeLog
ChangeLog
+5
-0
testsuite/ed25519-test.c
testsuite/ed25519-test.c
+2
-0
tools/nettle-pbkdf2.c
tools/nettle-pbkdf2.c
+2
-0
No files found.
ChangeLog
View file @
350d8762
2018-12-26 Niels Möller <nisse@lysator.liu.se>
* tools/nettle-pbkdf2.c: Add #define _GNU_SOURCE, needed for
strdup with gcc -std=c89.
* testsuite/ed25519-test.c: Add #define _GNU_SOURCE, needed for
getline with gcc -std=c89.
* rsa-sign-tr.c (sec_equal): Fix accidental use of C99 for loop.
Reported by Andreas Gustafsson.
* testsuite/rsa-sec-decrypt-test.c (test_main): Likewise.
...
...
testsuite/ed25519-test.c
View file @
350d8762
...
...
@@ -29,6 +29,8 @@
not, see http://www.gnu.org/licenses/.
*/
#define _GNU_SOURCE
#include "testutils.h"
#include <errno.h>
...
...
tools/nettle-pbkdf2.c
View file @
350d8762
...
...
@@ -31,6 +31,8 @@
not, see http://www.gnu.org/licenses/.
*/
#define _GNU_SOURCE
#if HAVE_CONFIG_H
# include "config.h"
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment