Include crypto.h to pull in definition of OPENSSL_cleanse in various
places.
This commit is contained in:
@@ -57,6 +57,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
int des_read_password(des_cblock *key, const char *prompt, int verify)
|
int des_read_password(des_cblock *key, const char *prompt, int verify)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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_string_to_key(const char *str, des_cblock *key)
|
void des_string_to_key(const char *str, des_cblock *key)
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/md2.h>
|
#include <openssl/md2.h>
|
||||||
#include <openssl/opensslv.h>
|
#include <openssl/opensslv.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
const char *MD2_version="MD2" OPENSSL_VERSION_PTEXT;
|
const char *MD2_version="MD2" OPENSSL_VERSION_PTEXT;
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/md4.h>
|
#include <openssl/md4.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
#ifdef CHARSET_EBCDIC
|
#ifdef CHARSET_EBCDIC
|
||||||
#include <openssl/ebcdic.h>
|
#include <openssl/ebcdic.h>
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/md5.h>
|
#include <openssl/md5.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
#ifdef CHARSET_EBCDIC
|
#ifdef CHARSET_EBCDIC
|
||||||
#include <openssl/ebcdic.h>
|
#include <openssl/ebcdic.h>
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/ripemd.h>
|
#include <openssl/ripemd.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
|
unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
|
||||||
unsigned char *md)
|
unsigned char *md)
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
#ifndef NO_SHA1
|
#ifndef NO_SHA1
|
||||||
unsigned char *SHA1(const unsigned char *d, unsigned long n, unsigned char *md)
|
unsigned char *SHA1(const unsigned char *d, unsigned long n, unsigned char *md)
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
#ifndef NO_SHA0
|
#ifndef NO_SHA0
|
||||||
unsigned char *SHA(const unsigned char *d, unsigned long n, unsigned char *md)
|
unsigned char *SHA(const unsigned char *d, unsigned long n, unsigned char *md)
|
||||||
|
|||||||
Reference in New Issue
Block a user