提交 dd3c43c5 编写于 作者: B Bodo Möller

Submitted by:
Reviewed by:
PR:
上级 09be75a4
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "blowfish.h" #include <openssl/blowfish.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "cast.h" #include <openssl/cast.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "des.h" #include <openssl/des.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "des.h" #include <openssl/des.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "md5.h" #include <openssl/md5.h>
extern "C" { extern "C" {
void md5_block_x86(MD5_CTX *ctx, unsigned char *buffer,int num); void md5_block_x86(MD5_CTX *ctx, unsigned char *buffer,int num);
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "rc4.h" #include <openssl/rc4.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "rc5.h" #include <openssl/rc5.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "ripemd.h" #include <openssl/ripemd.h>
extern "C" { extern "C" {
void ripemd160_block_x86(RIPEMD160_CTX *ctx, unsigned char *buffer,int num); void ripemd160_block_x86(RIPEMD160_CTX *ctx, unsigned char *buffer,int num);
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "sha.h" #include <openssl/sha.h>
extern "C" { extern "C" {
void sha1_block_x86(SHA_CTX *ctx, unsigned char *buffer,int num); void sha1_block_x86(SHA_CTX *ctx, unsigned char *buffer,int num);
......
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
#include <netdb.h> #include <netdb.h>
#include "rsa.h" /* SSLeay stuff */ #include "rsa.h" /* SSLeay stuff */
#include "crypto.h" #include <openssl/crypto.h>
#include "x509.h" #include <openssl/x509.h>
#include "pem.h" #include <openssl/pem.h>
#include "ssl.h" #include <openssl/ssl.h>
#include "err.h" #include <openssl/err.h>
#define CHK_NULL(x) if ((x)==NULL) exit (1) #define CHK_NULL(x) if ((x)==NULL) exit (1)
#define CHK_ERR(err,s) if ((err)==-1) { perror(s); exit(1); } #define CHK_ERR(err,s) if ((err)==-1) { perror(s); exit(1); }
......
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
#include <errno.h> #include <errno.h>
#include "rsa.h" /* SSLeay stuff */ #include "rsa.h" /* SSLeay stuff */
#include "crypto.h" #include <openssl/crypto.h>
#include "x509.h" #include <openssl/x509.h>
#include "pem.h" #include <openssl/pem.h>
#include "ssl.h" #include <openssl/ssl.h>
#include "err.h" #include <openssl/err.h>
#define HOME "/usr/users/sampo/demo/" #define HOME "/usr/users/sampo/demo/"
#define CERTF HOME "plain-cert.pem" #define CERTF HOME "plain-cert.pem"
......
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
#include <netdb.h> #include <netdb.h>
#include "rsa.h" /* SSLeay stuff */ #include "rsa.h" /* SSLeay stuff */
#include "crypto.h" #include <openssl/crypto.h>
#include "x509.h" #include <openssl/x509.h>
#include "pem.h" #include <openssl/pem.h>
#include "ssl.h" #include <openssl/ssl.h>
#include "err.h" #include <openssl/err.h>
#define HOME "/usr/users/sampo/sibs/tim/" #define HOME "/usr/users/sampo/sibs/tim/"
#define CERTF HOME "plain-cert.pem" #define CERTF HOME "plain-cert.pem"
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "blowfish.h" #include <openssl/blowfish.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "cast.h" #include <openssl/cast.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "des.h" #include <openssl/des.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "des.h" #include <openssl/des.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "md5.h" #include <openssl/md5.h>
extern "C" { extern "C" {
void md5_block_x86(MD5_CTX *ctx, unsigned char *buffer,int num); void md5_block_x86(MD5_CTX *ctx, unsigned char *buffer,int num);
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "rc4.h" #include <openssl/rc4.h>
void main(int argc,char *argv[]) void main(int argc,char *argv[])
{ {
......
...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc) ...@@ -32,7 +32,7 @@ void GetTSC(unsigned long& tsc)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "sha.h" #include <openssl/sha.h>
extern "C" { extern "C" {
void sha1_block_x86(SHA_CTX *ctx, unsigned char *buffer,int num); void sha1_block_x86(SHA_CTX *ctx, unsigned char *buffer,int num);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册