Include openssl/crypto.h first in several other files so FIPS renaming

is picked up.
This commit is contained in:
Dr. Stephen Henson 2011-02-16 17:25:01 +00:00
parent 017bc57bf9
commit a3654f0586
29 changed files with 29 additions and 1 deletions

View File

@ -49,6 +49,7 @@
* *
*/ */
#include <openssl/crypto.h>
#include <openssl/camellia.h> #include <openssl/camellia.h>
#include <openssl/modes.h> #include <openssl/modes.h>

View File

@ -105,6 +105,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include <openssl/camellia.h> #include <openssl/camellia.h>
#include <openssl/modes.h> #include <openssl/modes.h>

View File

@ -49,6 +49,7 @@
* *
*/ */
#include <openssl/crypto.h>
#include <openssl/camellia.h> #include <openssl/camellia.h>
#include <openssl/modes.h> #include <openssl/modes.h>

View File

@ -105,6 +105,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include <openssl/camellia.h> #include <openssl/camellia.h>
#include <openssl/modes.h> #include <openssl/modes.h>

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include "des_locl.h" #include "des_locl.h"
DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output, DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output,

View File

@ -73,6 +73,7 @@
*/ */
#define OPENSSL_DES_LIBDES_COMPATIBILITY #define OPENSSL_DES_LIBDES_COMPATIBILITY
#include <openssl/crypto.h>
#include <openssl/des.h> #include <openssl/des.h>
#include <openssl/rand.h> #include <openssl/rand.h>

View File

@ -73,6 +73,7 @@
*/ */
#undef OPENSSL_DES_LIBDES_COMPATIBILITY #undef OPENSSL_DES_LIBDES_COMPATIBILITY
#include <openssl/crypto.h>
#include <openssl/des.h> #include <openssl/des.h>
#include <openssl/rand.h> #include <openssl/rand.h>

View File

@ -59,6 +59,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <openssl/crypto.h>
#include <openssl/e_os2.h> #include <openssl/e_os2.h>
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_WINDOWS) #if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_WINDOWS)
#ifndef OPENSSL_SYS_MSDOS #ifndef OPENSSL_SYS_MSDOS

View File

@ -68,6 +68,7 @@ http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-get.cgi/1998/CS/CS0928.ps.gz
*/ */
#include <openssl/crypto.h>
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_DESCBCM is defined */ #include <openssl/opensslconf.h> /* To see if OPENSSL_NO_DESCBCM is defined */
#ifndef OPENSSL_NO_DESCBCM #ifndef OPENSSL_NO_DESCBCM

View File

@ -61,6 +61,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include "des_locl.h" #include "des_locl.h"
#ifdef CBC_ENC_C__DONT_UPDATE_IV #ifdef CBC_ENC_C__DONT_UPDATE_IV

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include "des_locl.h" #include "des_locl.h"
/* The input and output encrypted as though 64bit ofb mode is being /* The input and output encrypted as though 64bit ofb mode is being

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include "des_locl.h" #include "des_locl.h"
/* The input and output are loaded in multiples of 8 bits. /* The input and output are loaded in multiples of 8 bits.

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include "des_locl.h" #include "des_locl.h"
void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output, void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,

View File

@ -53,6 +53,7 @@
* *
*/ */
#include <openssl/crypto.h>
#include <openssl/des.h> #include <openssl/des.h>
#include <openssl/rand.h> #include <openssl/rand.h>

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include "rpc_des.h" #include "rpc_des.h"
#include "des_locl.h" #include "des_locl.h"
#include "des_ver.h" #include "des_ver.h"

View File

@ -56,6 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include <openssl/crypto.h>
#include "des_locl.h" #include "des_locl.h"
/* RSA's DESX */ /* RSA's DESX */

View File

@ -58,6 +58,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <openssl/crypto.h>
#include <openssl/e_os2.h> #include <openssl/e_os2.h>
#ifdef OPENSSL_NO_ENGINE #ifdef OPENSSL_NO_ENGINE

View File

@ -59,6 +59,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <openssl/crypto.h>
#include <openssl/des.h> #include <openssl/des.h>
#include <openssl/mdc2.h> #include <openssl/mdc2.h>

View File

@ -5,6 +5,7 @@
* forms are granted according to the OpenSSL license. * forms are granted according to the OpenSSL license.
*/ */
#include <openssl/crypto.h>
#include "modes_lcl.h" #include "modes_lcl.h"
#include <string.h> #include <string.h>

View File

@ -58,6 +58,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <openssl/crypto.h>
#include <openssl/rand.h> #include <openssl/rand.h>
#include "../e_os.h" #include "../e_os.h"

View File

@ -59,6 +59,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <openssl/crypto.h>
#include "../e_os.h" #include "../e_os.h"

View File

@ -7,6 +7,7 @@
* Requires OpenSSL 0.9.9 for compilation * * Requires OpenSSL 0.9.9 for compilation *
**********************************************************************/ **********************************************************************/
#include <string.h> #include <string.h>
#include <openssl/crypto.h>
#include "gost89.h" #include "gost89.h"
#include <openssl/rand.h> #include <openssl/rand.h>
#include "e_gost_err.h" #include "e_gost_err.h"

View File

@ -114,6 +114,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <openssl/crypto.h>
#include "ssl_locl.h" #include "ssl_locl.h"
#ifndef OPENSSL_NO_KRB5 #ifndef OPENSSL_NO_KRB5
#include "kssl_lcl.h" #include "kssl_lcl.h"

View File

@ -149,6 +149,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <openssl/crypto.h>
#include "ssl_locl.h" #include "ssl_locl.h"
#include "kssl_lcl.h" #include "kssl_lcl.h"
#include <openssl/buffer.h> #include <openssl/buffer.h>

View File

@ -152,6 +152,7 @@
#define NETSCAPE_HANG_BUG #define NETSCAPE_HANG_BUG
#include <stdio.h> #include <stdio.h>
#include <openssl/crypto.h>
#include "ssl_locl.h" #include "ssl_locl.h"
#include "kssl_lcl.h" #include "kssl_lcl.h"
#include <openssl/buffer.h> #include <openssl/buffer.h>

View File

@ -84,6 +84,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <openssl/crypto.h>
#include "ssl_locl.h" #include "ssl_locl.h"
#include <openssl/asn1_mac.h> #include <openssl/asn1_mac.h>
#include <openssl/objects.h> #include <openssl/objects.h>

View File

@ -146,6 +146,7 @@
# include <assert.h> # include <assert.h>
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <openssl/crypto.h>
#include "ssl_locl.h" #include "ssl_locl.h"
#include "kssl_lcl.h" #include "kssl_lcl.h"
#include <openssl/objects.h> #include <openssl/objects.h>

View File

@ -2,9 +2,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <openssl/crypto.h>
#include <openssl/e_os2.h> #include <openssl/e_os2.h>
#include <openssl/buffer.h> #include <openssl/buffer.h>
#include <openssl/crypto.h>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {

View File

@ -49,6 +49,7 @@
* *
*/ */
#include <openssl/crypto.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include <openssl/rand.h> #include <openssl/rand.h>
#include <stdio.h> #include <stdio.h>