Include string.h and stdlib.h where needed, to avoid warnings about
authorRichard Levitte <levitte@openssl.org>
Fri, 5 Sep 2003 12:22:21 +0000 (12:22 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 5 Sep 2003 12:22:21 +0000 (12:22 +0000)
strlen(), memcmp(), exit() and others to be used without a proper
declaration.

Update the appropriate fingerprints accordingly.

12 files changed:
fips/aes/fingerprint.sha1
fips/aes/fips_aes_selftest.c
fips/des/fingerprint.sha1
fips/des/fips_des_selftest.c
fips/dsa/fingerprint.sha1
fips/dsa/fips_dsa_gen.c
fips/rand/fingerprint.sha1
fips/rand/fips_rand.c
fips/sha1/fingerprint.sha1
fips/sha1/fips_sha1_selftest.c
fips/sha1/fips_standalone_sha1.c
fips/sha1/standalone.sha1

index 807e674403a951cfd46d64cfc827f2401e5a7a40..58728b0f416533e8d46de9b42faaacb3731ed5fb 100644 (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
index 0fa309e0b4c418bf9b0b9e3a44c6466133e0af04..13375f4b82c228b99b47b8b2325d93d6ea86c1fc 100644 (file)
@@ -47,6 +47,7 @@
  *
  */
 
+#include <string.h>
 #include <openssl/err.h>
 #include <openssl/fips.h>
 #include <openssl/aes.h>
index 4d944e0104e830f9cd5db3d7fb32d77515acd3a7..ef736b971cfa9f9766e377e305497bf92e5c9d1f 100644 (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
index 64890e2274a84cf0ec2e38f53daed99ff3ee26fa..0285b00121cae7049912cdaa687d21860135ba8e 100644 (file)
@@ -47,6 +47,7 @@
  *
  */
 
+#include <string.h>
 #include <openssl/err.h>
 #include <openssl/fips.h>
 #include <openssl/des.h>
index 9bc57da539f3730c6b0477270fdb1dcfb3aa8bfc..38f35e55f11e59cb7dddc8409aab1839c39d71d6 100644 (file)
@@ -1,2 +1,2 @@
 SHA1(fips_dsa_ossl.c)= eb769361b524507754bcbfbda92b973e37433478
-SHA1(fips_dsa_gen.c)= 07c884d8f11b41ae7f4bce4803ae918e25f05680
+SHA1(fips_dsa_gen.c)= 2566eacc23742549865207573793f0e70e6ceb0d
index 69501803a97a72552d19095a03eaf1f56b066cb3..f85ca3e939298dee6b74c52ffd2ad0dab671111f 100644 (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>
index 9d9549bec4459ad83f85d351f478930049aa154e..3192109c61f443c881094d38ab8b35104aa28b39 100644 (file)
@@ -1,2 +1,2 @@
-SHA1(fips_rand.c)= c071f4d7b5221f0f804b9deef5c958fc64176959
+SHA1(fips_rand.c)= 14f651281d84cdca50e4d155557b68c9d1b5cbb4
 SHA1(fips_rand.h)= da5ee76588070c97d47c939d069d250a1476a080
index 9bea881431e84b2cf93019c06bc2cfdb6086aa82..f88bb605a90bb061e13e02e358520f76ff76ec60 100644 (file)
@@ -59,6 +59,7 @@
 #include <sys/time.h>
 #include <assert.h>
 #include <unistd.h>
+#include <string.h>
 
 #define SEED_SIZE      8
 
index ec4a6206985a79fb591bab304259a777c6f8b1ee..67d774ef16e67a689596e4eac8eec317fb28f34e 100644 (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
index ba5130f51fa88e9163ed09a25a33f180ca74b4e4..730f57553ec0196fd86f3d40bcd192b1d7019707 100644 (file)
@@ -47,6 +47,7 @@
  *
  */
 
+#include <string.h>
 #include <openssl/err.h>
 #include <openssl/fips.h>
 #include <openssl/sha.h>
index b74cdc44f89c66b1c62bd44f57af5ddd7593261c..cdf54e5a361daaf7584190f998d7e6175e8bc5f0 100644 (file)
@@ -49,6 +49,7 @@
 
 #include <openssl/sha.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 int main(int argc,char **argv)
     {
index 5c60da0ae9aee1a5e836911d6b99886c19ba11c2..b94676c11eb95b8432e0865a6a3a7e2d7afa4780 100644 (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