Include string.h and stdlib.h where needed, to avoid warnings about

strlen(), memcmp(), exit() and others to be used without a proper
declaration.

Update the appropriate fingerprints accordingly.
This commit is contained in:
Richard Levitte 2003-09-05 12:22:21 +00:00
parent f3bda010df
commit 6b211d8cd2
12 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,3 @@
SHA1(fips_aes_core.c)= 5298df7807877eed470a1ee5f8331fc0876689da
SHA1(fips_aes_selftest.c)= fb848010c088adbbfaf719ca77c91e8ae0932ce0
SHA1(fips_aes_selftest.c)= 56ffcd2eb43b8b19aa4e0f60d3733031b3f54e84
SHA1(fips_aes_locl.h)= a3c01d9a4f9d5211e9e785852f6f1a2febfd73b6

View File

@ -47,6 +47,7 @@
*
*/
#include <string.h>
#include <openssl/err.h>
#include <openssl/fips.h>
#include <openssl/aes.h>

View File

@ -1,3 +1,3 @@
SHA1(fips_des_enc.c)= a4b88bb16782604a298d74de04a8b3bc3a204c5a
SHA1(fips_des_selftest.c)= 5638ae4d50be6110d9efbaa5e7e19c7e04c9940d
SHA1(fips_des_selftest.c)= 7f958a8b8fdb1227ec189e5948d7bfa87876fb3b
SHA1(fips_des_locl.h)= 5e5128f074485e72d6fdee00d22d46a694bd5abe

View File

@ -47,6 +47,7 @@
*
*/
#include <string.h>
#include <openssl/err.h>
#include <openssl/fips.h>
#include <openssl/des.h>

View File

@ -1,2 +1,2 @@
SHA1(fips_dsa_ossl.c)= eb769361b524507754bcbfbda92b973e37433478
SHA1(fips_dsa_gen.c)= 07c884d8f11b41ae7f4bce4803ae918e25f05680
SHA1(fips_dsa_gen.c)= 2566eacc23742549865207573793f0e70e6ceb0d

View File

@ -72,6 +72,7 @@
#ifndef OPENSSL_NO_SHA
#include <stdio.h>
#include <string.h>
#include <time.h>
//#include "cryptlib.h"
#include <openssl/evp.h>

View File

@ -1,2 +1,2 @@
SHA1(fips_rand.c)= c071f4d7b5221f0f804b9deef5c958fc64176959
SHA1(fips_rand.c)= 14f651281d84cdca50e4d155557b68c9d1b5cbb4
SHA1(fips_rand.h)= da5ee76588070c97d47c939d069d250a1476a080

View File

@ -59,6 +59,7 @@
#include <sys/time.h>
#include <assert.h>
#include <unistd.h>
#include <string.h>
#define SEED_SIZE 8

View File

@ -1,4 +1,4 @@
SHA1(fips_sha1dgst.c)= 609e2cbf5d3cdcf318ec10238a0e82b93b78e6b5
SHA1(fips_sha1_selftest.c)= d1becdceec9f08d2cd9ab22238a3f5941a98dd01
SHA1(fips_sha1_selftest.c)= db50d6b2e33c87a4d9de0aab52bf1b0ad81ae2d6
SHA1(fips_sha_locl.h)= 677427c495b571991f013939ea7e5dea87828f8c
SHA1(fips_md32_common.h)= 4f41bcde24750b3b8c99a06bcba2fe06ff8db4d0

View File

@ -47,6 +47,7 @@
*
*/
#include <string.h>
#include <openssl/err.h>
#include <openssl/fips.h>
#include <openssl/sha.h>

View File

@ -49,6 +49,7 @@
#include <openssl/sha.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc,char **argv)
{

View File

@ -1,4 +1,5 @@
SHA1(fips_standalone_sha1.c)= 74df91daa6670c9989b9395492a4b2627d115574
SHA1(fips_sha1dgst.c)= 609e2cbf5d3cdcf318ec10238a0e82b93b78e6b5
SHA1(fips_sha1_selftest.c)= db50d6b2e33c87a4d9de0aab52bf1b0ad81ae2d6
SHA1(fips_standalone_sha1.c)= bab1d8e16317a02247067f2a47722a721a4a103e
SHA1(fips_sha_locl.h)= 677427c495b571991f013939ea7e5dea87828f8c
SHA1(fips_md32_common.h)= 4f41bcde24750b3b8c99a06bcba2fe06ff8db4d0