1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00

crypto/*: Verify that the header file is self-contained.

* tests/test-gc-*.c: Include the module's header file immediately after
<config.h>.
* tests/test-hmac-*.c: Likewise.
* tests/test-arcfour.c: Likewise.
* tests/test-arctwo.c: Likewise.
* tests/test-des.c: Likewise.
* tests/test-md2.c: Likewise.
* tests/test-md4.c: Likewise.
* tests/test-md5.c: Likewise.
* tests/test-rijndael.c: Likewise.
* tests/test-sha1.c: Likewise.
* tests/test-sm3.c: Likewise.
This commit is contained in:
Bruno Haible
2017-10-29 09:37:12 +01:00
parent e4e03ef4f1
commit bcb6e934bb
28 changed files with 70 additions and 33 deletions

View File

@@ -1,3 +1,19 @@
2017-10-29 Bruno Haible <bruno@clisp.org>
crypto/*: Verify that the header file is self-contained.
* tests/test-gc-*.c: Include the module's header file immediately after
<config.h>.
* tests/test-hmac-*.c: Likewise.
* tests/test-arcfour.c: Likewise.
* tests/test-arctwo.c: Likewise.
* tests/test-des.c: Likewise.
* tests/test-md2.c: Likewise.
* tests/test-md4.c: Likewise.
* tests/test-md5.c: Likewise.
* tests/test-rijndael.c: Likewise.
* tests/test-sha1.c: Likewise.
* tests/test-sm3.c: Likewise.
2017-10-29 Jia Zhang <qianyue.zj@alibaba-inc.com>
Bruno Haible <bruno@clisp.org>

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "arcfour.h"
#include <stdio.h>
#include <string.h>
#include "arcfour.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "arctwo.h"
#include <stdio.h>
#include <string.h>
#include "arctwo.h"
int
main (int argc, char *argv[])

View File

@@ -19,11 +19,11 @@
#include <config.h>
#include "des.h"
#include <stdio.h>
#include <string.h>
#include "des.h"
int
main (int argc, char *argv[])
{

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "gc.h"
#include <stdio.h>
#include <string.h>
#include "gc.h"
int
main (int argc, char *argv[])

View File

@@ -18,9 +18,10 @@
#include <config.h>
#include "hmac.h"
#include <stdio.h>
#include <string.h>
#include "hmac.h"
/* Test vectors from RFC 2104. */

View File

@@ -18,9 +18,10 @@
#include <config.h>
#include "hmac.h"
#include <stdio.h>
#include <string.h>
#include "hmac.h"
int
main (int argc, char *argv[])

View File

@@ -18,9 +18,10 @@
#include <config.h>
#include "hmac.h"
#include <stdio.h>
#include <string.h>
#include "hmac.h"
int
main (int argc, char *argv[])

View File

@@ -18,9 +18,10 @@
#include <config.h>
#include "hmac.h"
#include <stdio.h>
#include <string.h>
#include "hmac.h"
int
main (int argc, char *argv[])

View File

@@ -18,11 +18,11 @@
#include <config.h>
#include "md2.h"
#include <stdio.h>
#include <string.h>
#include "md2.h"
int
main (int argc, char *argv[])
{

View File

@@ -19,11 +19,11 @@
#include <config.h>
#include "md4.h"
#include <stdio.h>
#include <string.h>
#include "md4.h"
int
main (int argc, char *argv[])
{

View File

@@ -19,11 +19,11 @@
#include <config.h>
#include "md5.h"
#include <stdio.h>
#include <string.h>
#include "md5.h"
int
main (void)
{

View File

@@ -17,9 +17,10 @@
#include <config.h>
#include "rijndael-api-fst.h"
#include <stdio.h>
#include <string.h>
#include "rijndael-api-fst.h"
int
main (int argc, char *argv[])

View File

@@ -17,11 +17,11 @@
#include <config.h>
#include "sha1.h"
#include <stdio.h>
#include <string.h>
#include "sha1.h"
int
main (void)
{

View File

@@ -17,11 +17,11 @@
#include <config.h>
#include "sm3.h"
#include <stdio.h>
#include <string.h>
#include "sm3.h"
static int
test (const char *in, const char *out)
{