- 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
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;
* 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()
{
#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
#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;
#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;
#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
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
#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()
{
#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()
{
#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()
{
#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;
#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()
{
* [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
#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
*/
#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
*/
#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
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);
#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
#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()
{
#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;
#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
#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;
#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
*/
#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
*/
#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 *))
#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;
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
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,
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))
#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))
#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;
#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);
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++;