Switch version string to SSLeay/OpenSSL
This commit is contained in:
parent
9acc2aa6d1
commit
5f32680329
34 changed files with 38 additions and 36 deletions
2
README
2
README
|
@ -1,5 +1,5 @@
|
|||
|
||||
OpenSSL 0.9.1c 22-Dec-1998
|
||||
SSLeay/OpenSSL 0.9.1c 23-Dec-1998
|
||||
|
||||
Copyright (c) 1998 The OpenSSL Project
|
||||
Copyright (c) 1995-1998 Eric Young
|
||||
|
|
|
@ -69,7 +69,7 @@ static int asn1_get_length();
|
|||
static void asn1_put_length();
|
||||
#endif
|
||||
|
||||
char *ASN1_version="ASN.1 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *ASN1_version="ASN.1 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
int ASN1_check_infinite_end(p,len)
|
||||
unsigned char **p;
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
* CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993)
|
||||
*/
|
||||
|
||||
char *BF_version="BlowFish part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *BF_version="BlowFish part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
char *BF_options()
|
||||
{
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
#include "cryptlib.h"
|
||||
#include "bn_lcl.h"
|
||||
|
||||
char *BN_version="Big Number part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *BN_version="Big Number part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
/* For a 32 bit machine
|
||||
* 2 - 4 == 128
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#include "cast.h"
|
||||
#include "cast_lcl.h"
|
||||
|
||||
char *CAST_version="CAST part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *CAST_version="CAST part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
void CAST_ecb_encrypt(in, out, ks, encrypt)
|
||||
unsigned char *in;
|
||||
|
|
|
@ -95,7 +95,7 @@ static CONF_VALUE *get_section();
|
|||
|
||||
#define scan_esc(p) ((((p)[1] == '\0')?(p++):(p+=2)),p)
|
||||
|
||||
char *CONF_version="CONF part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *CONF_version="CONF part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
LHASH *CONF_load(h,file,line)
|
||||
LHASH *h;
|
||||
|
|
|
@ -65,10 +65,12 @@ extern "C" {
|
|||
|
||||
#include "stack.h"
|
||||
|
||||
#define OPENSSL_VERSION_NUMBER 0x0913 /* Version 0.9.1c is 0913 */
|
||||
|
||||
/* Backward compatibility to SSLeay */
|
||||
/* This is more to be used to check the correct DLL is being used
|
||||
* in the MS world. */
|
||||
#define SSLEAY_VERSION_NUMBER 0x0913 /* Version 0.5.1c would be 0513 */
|
||||
|
||||
#define SSLEAY_VERSION_NUMBER OPENSSL_VERSION_NUMBER
|
||||
#define SSLEAY_VERSION 0
|
||||
/* #define SSLEAY_OPTIONS 1 no longer supported */
|
||||
#define SSLEAY_CFLAGS 2
|
||||
|
|
|
@ -66,7 +66,7 @@ char *SSLeay_version(t)
|
|||
int t;
|
||||
{
|
||||
if (t == SSLEAY_VERSION)
|
||||
return("SSLeay 0.9.1c 22-Dec-1998");
|
||||
return("SSLeay/OpenSSL 0.9.1c 23-Dec-1998");
|
||||
if (t == SSLEAY_BUILT_ON)
|
||||
{
|
||||
#ifdef DATE
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
#include "spr.h"
|
||||
|
||||
char *libdes_version="libdes v 3.24 - 20-Apr-1996 - eay";
|
||||
char *DES_version="DES part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *DES_version="DES part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
char *des_options()
|
||||
{
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#include "bn.h"
|
||||
#include "dh.h"
|
||||
|
||||
char *DH_version="Diffie-Hellman part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *DH_version="Diffie-Hellman part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
DH *DH_new()
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
#include "dsa.h"
|
||||
#include "asn1.h"
|
||||
|
||||
char *DSA_version="DSA part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *DSA_version="DSA part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
DSA *DSA_new()
|
||||
{
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
#include "cryptlib.h"
|
||||
#include "evp.h"
|
||||
|
||||
char *EVP_version="EVP part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *EVP_version="EVP part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
void EVP_CIPHER_CTX_init(ctx)
|
||||
EVP_CIPHER_CTX *ctx;
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#include "idea.h"
|
||||
#include "idea_lcl.h"
|
||||
|
||||
char *IDEA_version="IDEA part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *IDEA_version="IDEA part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
char *idea_options()
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
char *lh_version="lhash part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *lh_version="lhash part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
/* Code for dynamic hash table routines
|
||||
* Author - Eric Young v 2.0
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#include <string.h>
|
||||
#include "md2.h"
|
||||
|
||||
char *MD2_version="MD2 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *MD2_version="MD2 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
/* Implemented from RFC1319 The MD2 Message-Digest Algorithm
|
||||
*/
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#include <stdio.h>
|
||||
#include "md5_locl.h"
|
||||
|
||||
char *MD5_version="MD5 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *MD5_version="MD5 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
/* Implemented from RFC1321 The MD5 Message-Digest Algorithm
|
||||
*/
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
#include "des.h"
|
||||
#endif
|
||||
|
||||
char *PEM_version="PEM part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *PEM_version="PEM part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
#define MIN_LENGTH 4
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ static unsigned char state[STATE_SIZE+MD_DIGEST_LENGTH];
|
|||
static unsigned char md[MD_DIGEST_LENGTH];
|
||||
static long md_count[2]={0,0};
|
||||
|
||||
char *RAND_version="RAND part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *RAND_version="RAND part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
static void ssleay_rand_cleanup(void);
|
||||
static void ssleay_rand_seed(unsigned char *buf, int num);
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#include "rc2.h"
|
||||
#include "rc2_locl.h"
|
||||
|
||||
char *RC2_version="RC2 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *RC2_version="RC2 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
/* RC2 as implemented frm a posting from
|
||||
* Newsgroups: sci.crypt
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#include "rc4.h"
|
||||
#include "rc4_locl.h"
|
||||
|
||||
char *RC4_version="RC4 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *RC4_version="RC4 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
char *RC4_options()
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#include "rc5.h"
|
||||
#include "rc5_locl.h"
|
||||
|
||||
char *RC5_version="RC5 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *RC5_version="RC5 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
void RC5_32_ecb_encrypt(in, out, ks, encrypt)
|
||||
unsigned char *in;
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#include <stdio.h>
|
||||
#include "rmd_locl.h"
|
||||
|
||||
char *RMD160_version="RIPE-MD160 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *RMD160_version="RIPE-MD160 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
#ifndef NOPROTO
|
||||
# ifdef RMD160_ASM
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
#include "bn.h"
|
||||
#include "rsa.h"
|
||||
|
||||
char *RSA_version="RSA part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *RSA_version="RSA part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
static RSA_METHOD *default_RSA_meth=NULL;
|
||||
static int rsa_meth_num=0;
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
#include "sha.h"
|
||||
#include "sha_locl.h"
|
||||
|
||||
char *SHA1_version="SHA1 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *SHA1_version="SHA1 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
/* Implemented from SHA-1 document - The Secure Hash Algorithm
|
||||
*/
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
#include "sha.h"
|
||||
#include "sha_locl.h"
|
||||
|
||||
char *SHA_version="SHA part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *SHA_version="SHA part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
/* Implemented from SHA-0 document - The Secure Hash Algorithm
|
||||
*/
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
#undef MIN_NODES
|
||||
#define MIN_NODES 4
|
||||
|
||||
char *STACK_version="Stack part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *STACK_version="Stack part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
#ifndef NOPROTO
|
||||
#define FP_ICC (int (*)(const void *,const void *))
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
#undef BUFSIZE
|
||||
#define BUFSIZE 512
|
||||
|
||||
char *TXT_DB_version="TXT_DB part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *TXT_DB_version="TXT_DB part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
TXT_DB *TXT_DB_read(in,num)
|
||||
BIO *in;
|
||||
|
|
|
@ -80,7 +80,7 @@ static int null_callback();
|
|||
static int internal_verify();
|
||||
#endif
|
||||
|
||||
char *X509_version="X.509 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *X509_version="X.509 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
static STACK *x509_store_ctx_method=NULL;
|
||||
static int x509_store_ctx_num=0;
|
||||
#if 0
|
||||
|
|
|
@ -78,7 +78,7 @@ static int ssl23_put_cipher_by_char();
|
|||
static SSL_CIPHER *ssl23_get_cipher_by_char();
|
||||
#endif
|
||||
|
||||
char *SSL23_version_str="SSLv2/3 compatibility part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *SSL23_version_str="SSLv2/3 compatibility part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
static SSL_METHOD SSLv23_data= {
|
||||
TLS1_VERSION,
|
||||
|
|
|
@ -67,7 +67,7 @@ static long ssl2_default_timeout(void );
|
|||
static long ssl2_default_timeout();
|
||||
#endif
|
||||
|
||||
char *ssl2_version_str="SSLv2 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *ssl2_version_str="SSLv2 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
#define SSL2_NUM_CIPHERS (sizeof(ssl2_ciphers)/sizeof(SSL_CIPHER))
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
#include "objects.h"
|
||||
#include "ssl_locl.h"
|
||||
|
||||
char *ssl3_version_str="SSLv3 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *ssl3_version_str="SSLv3 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
#define SSL3_NUM_CIPHERS (sizeof(ssl3_ciphers)/sizeof(SSL_CIPHER))
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#include "lhash.h"
|
||||
#include "ssl_locl.h"
|
||||
|
||||
char *SSL_version_str="SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *SSL_version_str="SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
static STACK *ssl_meth=NULL;
|
||||
static STACK *ssl_ctx_meth=NULL;
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
#include "objects.h"
|
||||
#include "ssl_locl.h"
|
||||
|
||||
char *tls1_version_str="TLSv1 part of SSLeay 0.9.1c 22-Dec-1998";
|
||||
char *tls1_version_str="TLSv1 part of SSLeay/OpenSSL 0.9.1c 23-Dec-1998";
|
||||
|
||||
#ifndef NO_PROTO
|
||||
static long tls1_default_timeout(void);
|
||||
|
|
|
@ -60,8 +60,8 @@ foreach $file (@files)
|
|||
|
||||
while (<IN>)
|
||||
{
|
||||
if ((s/(SSLeay|OpenSSL) \d\.\d.\d[^"]*(\"|\s)/\1 $ver $time\2/) ||
|
||||
s/^(\#define\s+SSLEAY_VERSION_NUMBER\s+0x)[0-9a-zA-Z]+(.*)$/$1$xver$2/)
|
||||
if ((s/(SSLeay|OpenSSL|SSLeay\/OpenSSL) \d\.\d.\d[^"]*(\"|\s)/SSLeay\/OpenSSL $ver $time\2/) ||
|
||||
s/^(\#define\s+OPENSSL_VERSION_NUMBER\s+0x)[0-9a-zA-Z]+(.*)$/$1$xver$2/)
|
||||
{
|
||||
print STDERR " Done";
|
||||
$found++;
|
||||
|
|
Loading…
Reference in a new issue