Compare commits
	
		
			63 Commits
		
	
	
		
			OpenSSL_1_
			...
			OpenSSL_0_
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					fa96ed06d2 | ||
| 
						 | 
					43133041c9 | ||
| 
						 | 
					e0ee5ea962 | ||
| 
						 | 
					f5634286a3 | ||
| 
						 | 
					97d37c1c1e | ||
| 
						 | 
					739b139cb2 | ||
| 
						 | 
					0bc9920ad4 | ||
| 
						 | 
					3f516ce837 | ||
| 
						 | 
					9f197f9da5 | ||
| 
						 | 
					3dc2cc36e9 | ||
| 
						 | 
					ca3e683747 | ||
| 
						 | 
					38a1757168 | ||
| 
						 | 
					4104a57107 | ||
| 
						 | 
					b0c0f20071 | ||
| 
						 | 
					7870774162 | ||
| 
						 | 
					4213cdaf5d | ||
| 
						 | 
					39b4c974ee | ||
| 
						 | 
					508f56f17c | ||
| 
						 | 
					48665b7c99 | ||
| 
						 | 
					51971f7293 | ||
| 
						 | 
					3d3addb252 | ||
| 
						 | 
					3f8bdd1fdb | ||
| 
						 | 
					6181fd949f | ||
| 
						 | 
					afd61c63c2 | ||
| 
						 | 
					9a2073b4cd | ||
| 
						 | 
					f28468188b | ||
| 
						 | 
					8871d87512 | ||
| 
						 | 
					a2b81188be | ||
| 
						 | 
					f91f6cd5e4 | ||
| 
						 | 
					bd923a7bac | ||
| 
						 | 
					373c88faef | ||
| 
						 | 
					14813d8123 | ||
| 
						 | 
					92f2437f48 | ||
| 
						 | 
					da959761ff | ||
| 
						 | 
					d8cd25aa0d | ||
| 
						 | 
					d63d4f46fc | ||
| 
						 | 
					52161e090d | ||
| 
						 | 
					9e55e06501 | ||
| 
						 | 
					0b6df67fb1 | ||
| 
						 | 
					bf087e1ea1 | ||
| 
						 | 
					885818fb7c | ||
| 
						 | 
					2f370048cb | ||
| 
						 | 
					28dc02a9d8 | ||
| 
						 | 
					54ebaca535 | ||
| 
						 | 
					4fedc91a4a | ||
| 
						 | 
					f734aaa413 | ||
| 
						 | 
					a575d4b9ee | ||
| 
						 | 
					77a87ded3a | ||
| 
						 | 
					b958d2c298 | ||
| 
						 | 
					dc72a195c2 | ||
| 
						 | 
					e2812ff61f | ||
| 
						 | 
					8c2e34e27f | ||
| 
						 | 
					31f3950fbf | ||
| 
						 | 
					75b3654d18 | ||
| 
						 | 
					418f9ac5e3 | ||
| 
						 | 
					ad4afe4edf | ||
| 
						 | 
					c844b971cb | ||
| 
						 | 
					ca9b1c47af | ||
| 
						 | 
					86039d2751 | ||
| 
						 | 
					420a692f04 | ||
| 
						 | 
					1d2a464fe0 | ||
| 
						 | 
					7735dd0750 | ||
| 
						 | 
					bf7b075f0c | 
@@ -472,7 +472,7 @@ my %table=(
 | 
			
		||||
"BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32",
 | 
			
		||||
 | 
			
		||||
# MinGW
 | 
			
		||||
"mingw", "gcc:-mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -D_WIN32_WINNT=0x333:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_coff_asm}:win32:cygwin-shared:-D_WINDLL:-mno-cygwin -shared:.dll.a",
 | 
			
		||||
"mingw", "gcc:-mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -D_WIN32_WINNT=0x333:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_coff_asm}:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -shared:.dll.a",
 | 
			
		||||
 | 
			
		||||
# UWIN 
 | 
			
		||||
"UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32",
 | 
			
		||||
@@ -1133,6 +1133,7 @@ else
 | 
			
		||||
	$openssl_other_defines.="#define OPENSSL_NO_STATIC_ENGINE\n";
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
$cpuid_obj.=" uplink.o uplink-cof.o" if ($cflags =~ /\-DOPENSSL_USE_APPLINK/);
 | 
			
		||||
# Compiler fix-ups
 | 
			
		||||
if ($target =~ /icc$/)
 | 
			
		||||
	{
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								FAQ
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								FAQ
									
									
									
									
									
								
							@@ -652,6 +652,17 @@ by:
 | 
			
		||||
Note that debug and release libraries are NOT interchangeable.  If you
 | 
			
		||||
built OpenSSL with /MD your application must use /MD and cannot use /MDd.
 | 
			
		||||
 | 
			
		||||
As per 0.9.8 the above limitation is eliminated for .DLLs. OpenSSL
 | 
			
		||||
.DLLs compiled with some specific run-time option [we recommend the
 | 
			
		||||
default /MD] can be deployed with application compiled with different
 | 
			
		||||
option or even different compiler. But there is a catch! Instead of
 | 
			
		||||
re-compiling OpenSSL toolkit, as you would have to with prior versions,
 | 
			
		||||
you have to compile small C snippet with compiler and/or options of
 | 
			
		||||
your choice. The snippet gets installed as
 | 
			
		||||
<install-root>/include/openssl/applink.c and should be either added to
 | 
			
		||||
your project or simply #include-d in one [and only one] of your source
 | 
			
		||||
files. Failure to do either manifests itself as fatal "no
 | 
			
		||||
OPENSSL_Applink" error.
 | 
			
		||||
 | 
			
		||||
* How do I read or write a DER encoded buffer using the ASN1 functions?
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -150,12 +150,12 @@ BUILDENV=	PLATFORM='${PLATFORM}' PROCESSOR='${PROCESSOR}' \
 | 
			
		||||
		CC='${CC}' CFLAG='${CFLAG}' 			\
 | 
			
		||||
		AS='${CC}' ASFLAG='${CFLAG} -c'			\
 | 
			
		||||
		AR='${AR}' PERL='${PERL}' RANLIB='${RANLIB}'	\
 | 
			
		||||
		SDIRS='$(SDIRS)' LIBRPATH='$(INSTALLTOP)/lib'		\
 | 
			
		||||
		SDIRS='${SDIRS}' LIBRPATH='${INSTALLTOP}/lib'		\
 | 
			
		||||
		INSTALLTOP='${INSTALLTOP}' OPENSSLDIR='${OPENSSLDIR}'	\
 | 
			
		||||
		MAKEDEPEND='$$(TOP)/util/domd $$(TOP) -MD $(MAKEDEPPROG)'\
 | 
			
		||||
		MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD ${MAKEDEPPROG}'\
 | 
			
		||||
		DEPFLAG='-DOPENSSL_NO_DEPRECATED ${DEPFLAG}'	\
 | 
			
		||||
		MAKEDEPPROG='${MAKEDEPPROG}'			\
 | 
			
		||||
		LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)"	\
 | 
			
		||||
		LDFLAGS='${LDFLAGS}' SHARED_LDFLAGS='${SHARED_LDFLAGS}'	\
 | 
			
		||||
		KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}'	\
 | 
			
		||||
		EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}'	\
 | 
			
		||||
		SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}'	\
 | 
			
		||||
@@ -173,7 +173,7 @@ BUILDENV=	PLATFORM='${PLATFORM}' PROCESSOR='${PROCESSOR}' \
 | 
			
		||||
BUILD_CMD=if echo " $(DIRS) " | grep " $$dir " >/dev/null 2>/dev/null; then \
 | 
			
		||||
	if [ -d "$$dir" ]; then \
 | 
			
		||||
		(cd $$dir && echo "making $$target in $$dir..." && \
 | 
			
		||||
		$(MAKE) $(BUILDENV) $$target ) || exit 1; \
 | 
			
		||||
		$(MAKE) $(BUILDENV) BUILDENV="$(BUILDENV)" $$target ) || exit 1; \
 | 
			
		||||
	else \
 | 
			
		||||
		$(MAKE) $$dir; \
 | 
			
		||||
	fi; fi
 | 
			
		||||
 
 | 
			
		||||
@@ -89,21 +89,23 @@ CALC_VERSIONS=	\
 | 
			
		||||
 | 
			
		||||
LINK_APP=	\
 | 
			
		||||
  ( $(SET_X);   \
 | 
			
		||||
    LIBDEPS=$${LIBDEPS:-$(LIBDEPS)}; \
 | 
			
		||||
    LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
 | 
			
		||||
    LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \
 | 
			
		||||
    LDCMD="$${LDCMD:-$(CC)}"; LDFLAGS="$${LDFLAGS:-$(CFLAGS)}"; \
 | 
			
		||||
    LIBPATH=`for x in $(LIBDEPS); do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
 | 
			
		||||
    LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
 | 
			
		||||
    LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
 | 
			
		||||
    $${LDCMD:=$(CC)} $${LDFLAGS:=$(CFLAGS)} \
 | 
			
		||||
	-o $${APPNAME:=$(APPNAME)} $(OBJECTS) $$LIBDEPS )
 | 
			
		||||
    $${LDCMD} $${LDFLAGS} -o $${APPNAME:=$(APPNAME)} $(OBJECTS) $${LIBDEPS} )
 | 
			
		||||
 | 
			
		||||
LINK_SO=	\
 | 
			
		||||
  ( $(SET_X);   \
 | 
			
		||||
    LIBDEPS=$${LIBDEPS:-$(LIBDEPS)}; \
 | 
			
		||||
    LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \
 | 
			
		||||
    SHAREDCMD="$${SHAREDCMD:-$(CC)}"; \
 | 
			
		||||
    SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
 | 
			
		||||
    nm -Pg $$SHOBJECTS | grep ' [BDT] ' | cut -f1 -d' ' > lib$(LIBNAME).exp; \
 | 
			
		||||
    LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
 | 
			
		||||
    LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
 | 
			
		||||
    LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
 | 
			
		||||
    $${SHAREDCMD:=$(CC)} $${SHAREDFLAGS:=$(CFLAGS) $(SHARED_LDFLAGS)} \
 | 
			
		||||
    $${SHAREDCMD} $${SHAREDFLAGS} \
 | 
			
		||||
	-o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \
 | 
			
		||||
	$$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \
 | 
			
		||||
  ) && $(SYMLINK_SO); \
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										67
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										67
									
								
								NEWS
									
									
									
									
									
								
							@@ -5,6 +5,73 @@
 | 
			
		||||
  This file gives a brief overview of the major changes between each OpenSSL
 | 
			
		||||
  release. For more details please read the CHANGES file.
 | 
			
		||||
 | 
			
		||||
  Major changes between OpenSSL 0.9.7g and OpenSSL 0.9.8:
 | 
			
		||||
 | 
			
		||||
      o Major work on the BIGNUM library for higher efficiency and to
 | 
			
		||||
        make operations more streamlined and less contradictory.  This
 | 
			
		||||
        is the result of a major audit of the BIGNUM library.
 | 
			
		||||
      o Addition of BIGNUM functions for fields GF(2^m) and NIST
 | 
			
		||||
        curves, to support the Elliptic Crypto functions.
 | 
			
		||||
      o Major work on Elliptic Crypto; ECDH and ECDSA added, including
 | 
			
		||||
        the use through EVP, X509 and ENGINE.
 | 
			
		||||
      o New ASN.1 mini-compiler that's usable through the OpenSSL
 | 
			
		||||
        configuration file.
 | 
			
		||||
      o Added support for ASN.1 indefinite length constructed encoding.
 | 
			
		||||
      o New PKCS#12 'medium level' API to manipulate PKCS#12 files.
 | 
			
		||||
      o Complete rework of shared library construction and linking
 | 
			
		||||
        programs with shared or static libraries, through a separate
 | 
			
		||||
        Makefile.shared.
 | 
			
		||||
      o Changed ENGINE framework to load dynamic engine modules
 | 
			
		||||
        automatically from specifically given directories.
 | 
			
		||||
      o New structure and ASN.1 functions for CertificatePair.
 | 
			
		||||
      o Changed the ZLIB compression method to be stateful.
 | 
			
		||||
      o Changed the key-generation and primality testing "progress"
 | 
			
		||||
        mechanism to take a structure that contains the ticker
 | 
			
		||||
        function and an argument.
 | 
			
		||||
      o New engine module: GMP (performs private key exponentiation).
 | 
			
		||||
      o New engine module: VIA PadLOck ACE extension in VIA C3
 | 
			
		||||
        Nehemiah processors.
 | 
			
		||||
      o Added support for IPv6 addresses in certificate extensions.
 | 
			
		||||
        See RFC 1884, section 2.2.
 | 
			
		||||
      o Added support for certificate policy mappings, policy
 | 
			
		||||
        constraints and name constraints.
 | 
			
		||||
      o Added support for multi-valued AVAs in the OpenSSL
 | 
			
		||||
        configuration file.
 | 
			
		||||
      o Added support for multiple certificates with the same subject
 | 
			
		||||
        in the 'openssl ca' index file.
 | 
			
		||||
      o Make it possible to create self-signed certificates using
 | 
			
		||||
        'openssl ca -selfsign'.
 | 
			
		||||
      o Make it possible to generate a serial number file with
 | 
			
		||||
        'openssl ca -create_serial'.
 | 
			
		||||
      o New binary search functions with extended functionality.
 | 
			
		||||
      o New BUF functions.
 | 
			
		||||
      o New STORE structure and library to provide an interface to all
 | 
			
		||||
        sorts of data repositories.  Supports storage of public and
 | 
			
		||||
        private keys, certificates, CRLs, numbers and arbitrary blobs.
 | 
			
		||||
	This library is unfortunately unfinished and unused withing
 | 
			
		||||
	OpenSSL.
 | 
			
		||||
      o New control functions for the error stack.
 | 
			
		||||
      o Changed the PKCS#7 library to support one-pass S/MIME
 | 
			
		||||
        processing.
 | 
			
		||||
      o Added the possibility to compile without old deprecated
 | 
			
		||||
        functionality with the OPENSSL_NO_DEPRECATED macro or the
 | 
			
		||||
        'no-deprecated' argument to the config and Configure scripts.
 | 
			
		||||
      o Constification of all ASN.1 conversion functions, and other
 | 
			
		||||
        affected functions.
 | 
			
		||||
      o Improved platform support for PowerPC.
 | 
			
		||||
      o New FIPS 180-2 algorithms (SHA-224, -256, -384 and -512).
 | 
			
		||||
      o New X509_VERIFY_PARAM structure to support parametrisation
 | 
			
		||||
        of X.509 path validation.
 | 
			
		||||
      o Major overhaul of RC4 performance on Intel P4, IA-64 and
 | 
			
		||||
        AMD64.
 | 
			
		||||
      o Changed the Configure script to have some algorithms disabled
 | 
			
		||||
        by default.  Those can be explicitely enabled with the new
 | 
			
		||||
        argument form 'enable-xxx'.
 | 
			
		||||
      o Change the default digest in 'openssl' commands from MD5 to
 | 
			
		||||
        SHA-1.
 | 
			
		||||
      o Added support for DTLS.  THIS IS STILL BEING WORKED ON!
 | 
			
		||||
      o New BIGNUM blinding.
 | 
			
		||||
 | 
			
		||||
  Major changes between OpenSSL 0.9.7f and OpenSSL 0.9.7g:
 | 
			
		||||
 | 
			
		||||
      o More compilation issues fixed.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								README
									
									
									
									
									
								
							@@ -1,5 +1,5 @@
 | 
			
		||||
 | 
			
		||||
 OpenSSL 0.9.8-dev XX xxx XXXX
 | 
			
		||||
 OpenSSL 0.9.8-beta1 19 May 2005
 | 
			
		||||
 | 
			
		||||
 Copyright (c) 1998-2005 The OpenSSL Project
 | 
			
		||||
 Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										13
									
								
								STATUS
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								STATUS
									
									
									
									
									
								
							@@ -1,10 +1,11 @@
 | 
			
		||||
 | 
			
		||||
  OpenSSL STATUS                           Last modified at
 | 
			
		||||
  ______________                           $Date: 2005/04/25 21:42:14 $
 | 
			
		||||
  ______________                           $Date: 2005/05/19 19:42:03 $
 | 
			
		||||
 | 
			
		||||
  DEVELOPMENT STATE
 | 
			
		||||
 | 
			
		||||
    o  OpenSSL 0.9.8:  Under development...
 | 
			
		||||
    o  OpenSSL 0.9.9:  Under development...
 | 
			
		||||
    o  OpenSSL 0.9.8-beta1:  Released on May 19th, 2005
 | 
			
		||||
    o  OpenSSL 0.9.7g: Released on April     11th, 2005
 | 
			
		||||
    o  OpenSSL 0.9.7f: Released on March     22nd, 2005
 | 
			
		||||
    o  OpenSSL 0.9.7e: Released on October   25th, 2004
 | 
			
		||||
@@ -55,16 +56,8 @@
 | 
			
		||||
	Private key, certificate and CRL API and implementation.
 | 
			
		||||
	Developing and bugfixing PKCS#7 (S/MIME code).
 | 
			
		||||
        Various X509 issues: character sets, certificate request extensions.
 | 
			
		||||
    o Geoff and Richard are currently working on:
 | 
			
		||||
	ENGINE (the new code that gives hardware support among others).
 | 
			
		||||
    o Richard is currently working on:
 | 
			
		||||
	UI (User Interface)
 | 
			
		||||
	UTIL (a new set of library functions to support some higher level
 | 
			
		||||
	      functionality that is currently missing).
 | 
			
		||||
	Shared library support for VMS.
 | 
			
		||||
	Kerberos 5 authentication (Heimdal)
 | 
			
		||||
	Constification
 | 
			
		||||
	Compression
 | 
			
		||||
	Attribute Certificate support
 | 
			
		||||
	Certificate Pair support
 | 
			
		||||
	Storage Engines (primarly an LDAP storage engine)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								TABLE
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								TABLE
									
									
									
									
									
								
							@@ -2991,7 +2991,7 @@ $rmd160_obj   = rm86-cof.o
 | 
			
		||||
$rc5_obj      = r586-cof.o
 | 
			
		||||
$dso_scheme   = win32
 | 
			
		||||
$shared_target= cygwin-shared
 | 
			
		||||
$shared_cflag = -D_WINDLL
 | 
			
		||||
$shared_cflag = -D_WINDLL -DOPENSSL_USE_APPLINK
 | 
			
		||||
$shared_ldflag = -mno-cygwin -shared
 | 
			
		||||
$shared_extension = .dll.a
 | 
			
		||||
$ranlib       = 
 | 
			
		||||
 
 | 
			
		||||
@@ -621,25 +621,24 @@ rand.o: ../include/openssl/safestack.h ../include/openssl/sha.h
 | 
			
		||||
rand.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
 | 
			
		||||
rand.o: ../include/openssl/txt_db.h ../include/openssl/x509.h
 | 
			
		||||
rand.o: ../include/openssl/x509_vfy.h apps.h rand.c
 | 
			
		||||
req.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/asn1.h
 | 
			
		||||
req.o: ../include/openssl/bio.h ../include/openssl/bn.h
 | 
			
		||||
req.o: ../include/openssl/buffer.h ../include/openssl/conf.h
 | 
			
		||||
req.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 | 
			
		||||
req.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
 | 
			
		||||
req.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
 | 
			
		||||
req.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
 | 
			
		||||
req.o: ../include/openssl/err.h ../include/openssl/evp.h
 | 
			
		||||
req.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
 | 
			
		||||
req.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
 | 
			
		||||
req.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
 | 
			
		||||
req.o: ../include/openssl/pem.h ../include/openssl/pem2.h
 | 
			
		||||
req.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
 | 
			
		||||
req.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
 | 
			
		||||
req.o: ../include/openssl/sha.h ../include/openssl/stack.h
 | 
			
		||||
req.o: ../include/openssl/store.h ../include/openssl/symhacks.h
 | 
			
		||||
req.o: ../include/openssl/txt_db.h ../include/openssl/ui.h
 | 
			
		||||
req.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
 | 
			
		||||
req.o: ../include/openssl/x509v3.h apps.h req.c
 | 
			
		||||
req.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
 | 
			
		||||
req.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 | 
			
		||||
req.o: ../include/openssl/conf.h ../include/openssl/crypto.h
 | 
			
		||||
req.o: ../include/openssl/dh.h ../include/openssl/dsa.h
 | 
			
		||||
req.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
 | 
			
		||||
req.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
 | 
			
		||||
req.o: ../include/openssl/engine.h ../include/openssl/err.h
 | 
			
		||||
req.o: ../include/openssl/evp.h ../include/openssl/lhash.h
 | 
			
		||||
req.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
 | 
			
		||||
req.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 | 
			
		||||
req.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
 | 
			
		||||
req.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
 | 
			
		||||
req.o: ../include/openssl/rand.h ../include/openssl/rsa.h
 | 
			
		||||
req.o: ../include/openssl/safestack.h ../include/openssl/sha.h
 | 
			
		||||
req.o: ../include/openssl/stack.h ../include/openssl/store.h
 | 
			
		||||
req.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h
 | 
			
		||||
req.o: ../include/openssl/ui.h ../include/openssl/x509.h
 | 
			
		||||
req.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h req.c
 | 
			
		||||
rsa.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
 | 
			
		||||
rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 | 
			
		||||
rsa.o: ../include/openssl/conf.h ../include/openssl/crypto.h
 | 
			
		||||
 
 | 
			
		||||
@@ -67,6 +67,12 @@ x86cpuid-cof.s: x86cpuid.pl perlasm/x86asm.pl
 | 
			
		||||
x86cpuid-out.s: x86cpuid.pl perlasm/x86asm.pl
 | 
			
		||||
	$(PERL) x86cpuid.pl a.out $(CFLAGS) $(PROCESSOR) > $@
 | 
			
		||||
 | 
			
		||||
uplink.o:	../ms/uplink.c
 | 
			
		||||
	$(CC) $(CFLAGS) -c -o $@ ../ms/uplink.c
 | 
			
		||||
 | 
			
		||||
uplink-cof.s:	../ms/uplink.pl
 | 
			
		||||
	$(PERL) ../ms/uplink.pl coff > $@
 | 
			
		||||
 | 
			
		||||
x86_64cpuid.s: x86_64cpuid.pl
 | 
			
		||||
	$(PERL) x86_64cpuid.pl $@
 | 
			
		||||
ia64cpuid.s: ia64cpuid.S
 | 
			
		||||
@@ -82,7 +88,7 @@ subdirs:
 | 
			
		||||
	@for i in $(SDIRS) ;\
 | 
			
		||||
	do \
 | 
			
		||||
	(cd $$i && echo "making all in crypto/$$i..." && \
 | 
			
		||||
	$(MAKE) INCLUDES='${INCLUDES}' all ) || exit 1; \
 | 
			
		||||
	$(MAKE) $(BUILDENV) INCLUDES='${INCLUDES}' all ) || exit 1; \
 | 
			
		||||
	done;
 | 
			
		||||
 | 
			
		||||
files:
 | 
			
		||||
 
 | 
			
		||||
@@ -932,7 +932,7 @@ int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char *x);
 | 
			
		||||
#define ASN1_i2d_bio_of(type,i2d,out,x) \
 | 
			
		||||
	((int (*)(I2D_OF(type),BIO *,type *))openssl_fcast(ASN1_i2d_bio))(i2d,out,x)
 | 
			
		||||
#define ASN1_i2d_bio_of_const(type,i2d,out,x) \
 | 
			
		||||
	((int (*)(I2D_OF_const(type),BIO *,type *))openssl_fcast(ASN1_i2d_bio))(i2d,out,x)
 | 
			
		||||
	((int (*)(I2D_OF_const(type),BIO *,const type *))openssl_fcast(ASN1_i2d_bio))(i2d,out,x)
 | 
			
		||||
int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x);
 | 
			
		||||
int ASN1_UTCTIME_print(BIO *fp,ASN1_UTCTIME *a);
 | 
			
		||||
int ASN1_GENERALIZEDTIME_print(BIO *fp,ASN1_GENERALIZEDTIME *a);
 | 
			
		||||
 
 | 
			
		||||
@@ -92,7 +92,7 @@ b_dump.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 | 
			
		||||
b_dump.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
 | 
			
		||||
b_dump.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
 | 
			
		||||
b_dump.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
 | 
			
		||||
b_dump.o: ../../include/openssl/symhacks.h ../cryptlib.h b_dump.c
 | 
			
		||||
b_dump.o: ../../include/openssl/symhacks.h ../cryptlib.h b_dump.c bio_lcl.h
 | 
			
		||||
b_print.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
 | 
			
		||||
b_print.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
 | 
			
		||||
b_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 | 
			
		||||
@@ -183,14 +183,14 @@ bss_fd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 | 
			
		||||
bss_fd.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
 | 
			
		||||
bss_fd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
 | 
			
		||||
bss_fd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
 | 
			
		||||
bss_fd.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_fd.c
 | 
			
		||||
bss_fd.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_fd.c
 | 
			
		||||
bss_file.o: ../../e_os.h ../../include/openssl/bio.h
 | 
			
		||||
bss_file.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
 | 
			
		||||
bss_file.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 | 
			
		||||
bss_file.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
 | 
			
		||||
bss_file.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
 | 
			
		||||
bss_file.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
 | 
			
		||||
bss_file.o: ../../include/openssl/symhacks.h ../cryptlib.h bss_file.c
 | 
			
		||||
bss_file.o: ../../include/openssl/symhacks.h ../cryptlib.h bio_lcl.h bss_file.c
 | 
			
		||||
bss_log.o: ../../e_os.h ../../include/openssl/bio.h
 | 
			
		||||
bss_log.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
 | 
			
		||||
bss_log.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
 | 
			
		||||
 
 | 
			
		||||
@@ -236,12 +236,17 @@ static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr)
 | 
			
		||||
		b->shutdown=(int)num&BIO_CLOSE;
 | 
			
		||||
		b->ptr=ptr;
 | 
			
		||||
		b->init=1;
 | 
			
		||||
#if BIO_FLAGS_UPLINK!=0 && defined(_IOB_ENTRIES)
 | 
			
		||||
#if BIO_FLAGS_UPLINK!=0
 | 
			
		||||
#if defined(__MINGW32__) && defined(__MSVCRT__) && !defined(_IOB_ENTRIES)
 | 
			
		||||
#define _IOB_ENTRIES 20
 | 
			
		||||
#endif
 | 
			
		||||
#if defined(_IOB_ENTRIES)
 | 
			
		||||
		/* Safety net to catch purely internal BIO_set_fp calls */
 | 
			
		||||
		if ((size_t)ptr >= (size_t)stdin &&
 | 
			
		||||
		    (size_t)ptr <  (size_t)(stdin+_IOB_ENTRIES))
 | 
			
		||||
			BIO_clear_flags(b,BIO_FLAGS_UPLINK);
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef UP_fsetmode
 | 
			
		||||
		if (b->flags&BIO_FLAGS_UPLINK)
 | 
			
		||||
			UP_fsetmode(b->ptr,num&BIO_FP_TEXT?'t':'b');
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@
 | 
			
		||||
 | 
			
		||||
#ifdef OPENSSL_USE_APPLINK
 | 
			
		||||
#define BIO_FLAGS_UPLINK 0x8000
 | 
			
		||||
#include "uplink.h"
 | 
			
		||||
#include "ms/uplink.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <openssl/crypto.h>
 | 
			
		||||
 
 | 
			
		||||
@@ -237,7 +237,7 @@ static void *dlfcn_bind_var(DSO *dso, const char *symname)
 | 
			
		||||
static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname)
 | 
			
		||||
	{
 | 
			
		||||
	void *ptr;
 | 
			
		||||
	DSO_FUNC_TYPE sym;
 | 
			
		||||
	DSO_FUNC_TYPE sym, *tsym = &sym;
 | 
			
		||||
 | 
			
		||||
	if((dso == NULL) || (symname == NULL))
 | 
			
		||||
		{
 | 
			
		||||
@@ -255,7 +255,7 @@ static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname)
 | 
			
		||||
		DSOerr(DSO_F_DLFCN_BIND_FUNC,DSO_R_NULL_HANDLE);
 | 
			
		||||
		return(NULL);
 | 
			
		||||
		}
 | 
			
		||||
	*(void **)(&sym) = dlsym(ptr, symname);
 | 
			
		||||
	*(void **)(tsym) = dlsym(ptr, symname);
 | 
			
		||||
	if(sym == NULL)
 | 
			
		||||
		{
 | 
			
		||||
		DSOerr(DSO_F_DLFCN_BIND_FUNC,DSO_R_SYM_FAILURE);
 | 
			
		||||
 
 | 
			
		||||
@@ -2740,8 +2740,8 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
 | 
			
		||||
&(nid_objs[648]),/* "Microsoft Smartcardlogin" */
 | 
			
		||||
&(nid_objs[136]),/* "Microsoft Trust List Signing" */
 | 
			
		||||
&(nid_objs[649]),/* "Microsoft Universal Principal Name" */
 | 
			
		||||
&(nid_objs[404]),/* "NULL" */
 | 
			
		||||
&(nid_objs[393]),/* "NULL" */
 | 
			
		||||
&(nid_objs[404]),/* "NULL" */
 | 
			
		||||
&(nid_objs[72]),/* "Netscape Base Url" */
 | 
			
		||||
&(nid_objs[76]),/* "Netscape CA Policy Url" */
 | 
			
		||||
&(nid_objs[74]),/* "Netscape CA Revocation Url" */
 | 
			
		||||
@@ -3450,8 +3450,8 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
 | 
			
		||||
static ASN1_OBJECT *obj_objs[NUM_OBJ]={
 | 
			
		||||
&(nid_objs[ 0]),/* OBJ_undef                        0 */
 | 
			
		||||
&(nid_objs[393]),/* OBJ_joint_iso_ccitt              OBJ_joint_iso_itu_t */
 | 
			
		||||
&(nid_objs[645]),/* OBJ_itu_t                        0 */
 | 
			
		||||
&(nid_objs[404]),/* OBJ_ccitt                        OBJ_itu_t */
 | 
			
		||||
&(nid_objs[645]),/* OBJ_itu_t                        0 */
 | 
			
		||||
&(nid_objs[434]),/* OBJ_data                         0 9 */
 | 
			
		||||
&(nid_objs[181]),/* OBJ_iso                          1 */
 | 
			
		||||
&(nid_objs[182]),/* OBJ_member_body                  1 2 */
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
 * 0.9.3-beta2    0x00903002 (same as ...beta2-dev)
 | 
			
		||||
 * 0.9.3	  0x0090300f
 | 
			
		||||
 * 0.9.3a	  0x0090301f
 | 
			
		||||
 * 0.9.4 	  0x0090400f
 | 
			
		||||
 * 0.9.4	  0x0090400f
 | 
			
		||||
 * 1.2.3z	  0x102031af
 | 
			
		||||
 *
 | 
			
		||||
 * For continuity reasons (because 0.9.5 is already out, and is coded
 | 
			
		||||
@@ -25,11 +25,11 @@
 | 
			
		||||
 * (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
 | 
			
		||||
 *  major minor fix final patch/beta)
 | 
			
		||||
 */
 | 
			
		||||
#define OPENSSL_VERSION_NUMBER	0x00908000L
 | 
			
		||||
#define OPENSSL_VERSION_NUMBER	0x00908001L
 | 
			
		||||
#ifdef OPENSSL_FIPS
 | 
			
		||||
#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8-fips-dev XX xxx XXXX"
 | 
			
		||||
#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8-fips-beta1 19 May 2005"
 | 
			
		||||
#else
 | 
			
		||||
#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8-dev XX xxx XXXX"
 | 
			
		||||
#define OPENSSL_VERSION_TEXT	"OpenSSL 0.9.8-beta1 19 May 2005"
 | 
			
		||||
#endif
 | 
			
		||||
#define OPENSSL_VERSION_PTEXT	" part of " OPENSSL_VERSION_TEXT
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -230,9 +230,9 @@ return(((int (*)(I2D_OF(type),const char *,FILE *,type *, const EVP_CIPHER *,uns
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
 | 
			
		||||
int PEM_write_##name(FILE *fp, type *x) \
 | 
			
		||||
int PEM_write_##name(FILE *fp, const type *x) \
 | 
			
		||||
{ \
 | 
			
		||||
return(((int (*)(I2D_OF_const(type),const char *,FILE *,type *, const EVP_CIPHER *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_write))(i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL)); \
 | 
			
		||||
return(((int (*)(I2D_OF_const(type),const char *,FILE *, const type *, const EVP_CIPHER *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_write))(i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL)); \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \
 | 
			
		||||
@@ -266,9 +266,9 @@ return(((int (*)(I2D_OF(type),const char *,BIO *,type *, const EVP_CIPHER *,unsi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
 | 
			
		||||
int PEM_write_bio_##name(BIO *bp, type *x) \
 | 
			
		||||
int PEM_write_bio_##name(BIO *bp, const type *x) \
 | 
			
		||||
{ \
 | 
			
		||||
return(((int (*)(I2D_OF_const(type),const char *,BIO *,type *, const EVP_CIPHER *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_write_bio))(i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL)); \
 | 
			
		||||
return(((int (*)(I2D_OF_const(type),const char *,BIO *,const type *, const EVP_CIPHER *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_write_bio))(i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL)); \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
 | 
			
		||||
@@ -333,6 +333,9 @@ int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
 | 
			
		||||
#define DECLARE_PEM_write_fp(name, type) \
 | 
			
		||||
	int PEM_write_##name(FILE *fp, type *x);
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_write_fp_const(name, type) \
 | 
			
		||||
	int PEM_write_##name(FILE *fp, const type *x);
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_write_cb_fp(name, type) \
 | 
			
		||||
	int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
 | 
			
		||||
	     unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
 | 
			
		||||
@@ -346,6 +349,9 @@ int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
 | 
			
		||||
#define DECLARE_PEM_write_bio(name, type) \
 | 
			
		||||
	int PEM_write_bio_##name(BIO *bp, type *x);
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_write_bio_const(name, type) \
 | 
			
		||||
	int PEM_write_bio_##name(BIO *bp, const type *x);
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_write_cb_bio(name, type) \
 | 
			
		||||
	int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
 | 
			
		||||
	     unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
 | 
			
		||||
@@ -362,6 +368,10 @@ int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
 | 
			
		||||
	DECLARE_PEM_write_bio(name, type) \
 | 
			
		||||
	DECLARE_PEM_write_fp(name, type) 
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_write_const(name, type) \
 | 
			
		||||
	DECLARE_PEM_write_bio_const(name, type) \
 | 
			
		||||
	DECLARE_PEM_write_fp_const(name, type)
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_write_cb(name, type) \
 | 
			
		||||
	DECLARE_PEM_write_cb_bio(name, type) \
 | 
			
		||||
	DECLARE_PEM_write_cb_fp(name, type) 
 | 
			
		||||
@@ -374,6 +384,10 @@ int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
 | 
			
		||||
	DECLARE_PEM_read(name, type) \
 | 
			
		||||
	DECLARE_PEM_write(name, type)
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_rw_const(name, type) \
 | 
			
		||||
	DECLARE_PEM_read(name, type) \
 | 
			
		||||
	DECLARE_PEM_write_const(name, type)
 | 
			
		||||
 | 
			
		||||
#define DECLARE_PEM_rw_cb(name, type) \
 | 
			
		||||
	DECLARE_PEM_read(name, type) \
 | 
			
		||||
	DECLARE_PEM_write_cb(name, type)
 | 
			
		||||
@@ -601,7 +615,7 @@ DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO)
 | 
			
		||||
 | 
			
		||||
DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
 | 
			
		||||
 | 
			
		||||
DECLARE_PEM_rw(RSAPublicKey, RSA)
 | 
			
		||||
DECLARE_PEM_rw_const(RSAPublicKey, RSA)
 | 
			
		||||
DECLARE_PEM_rw(RSA_PUBKEY, RSA)
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
@@ -612,19 +626,19 @@ DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
 | 
			
		||||
 | 
			
		||||
DECLARE_PEM_rw(DSA_PUBKEY, DSA)
 | 
			
		||||
 | 
			
		||||
DECLARE_PEM_rw(DSAparams, DSA)
 | 
			
		||||
DECLARE_PEM_rw_const(DSAparams, DSA)
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef OPENSSL_NO_EC
 | 
			
		||||
DECLARE_PEM_rw(ECPKParameters, EC_GROUP)
 | 
			
		||||
DECLARE_PEM_rw_const(ECPKParameters, EC_GROUP)
 | 
			
		||||
DECLARE_PEM_rw_cb(ECPrivateKey, EC_KEY)
 | 
			
		||||
DECLARE_PEM_rw(EC_PUBKEY, EC_KEY)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef OPENSSL_NO_DH
 | 
			
		||||
 | 
			
		||||
DECLARE_PEM_rw(DHparams, DH)
 | 
			
		||||
DECLARE_PEM_rw_const(DHparams, DH)
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -5,6 +5,8 @@ require "x86asm.pl";
 | 
			
		||||
 | 
			
		||||
&asm_init($ARGV[0],"x86cpuid");
 | 
			
		||||
 | 
			
		||||
for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
 | 
			
		||||
 | 
			
		||||
&function_begin("OPENSSL_ia32_cpuid");
 | 
			
		||||
	&xor	("edx","edx");
 | 
			
		||||
	&pushf	();
 | 
			
		||||
@@ -115,17 +117,19 @@ require "x86asm.pl";
 | 
			
		||||
	&mov	("ecx",&DWP(0,"ecx"));
 | 
			
		||||
	&bt	(&DWP(0,"ecx"),1);
 | 
			
		||||
	&jnc	(&label("no_x87"));
 | 
			
		||||
	&bt	(&DWP(0,"ecx"),26);
 | 
			
		||||
	&jnc	(&label("no_sse2"));
 | 
			
		||||
	&pxor	("xmm0","xmm0");
 | 
			
		||||
	&pxor	("xmm1","xmm1");
 | 
			
		||||
	&pxor	("xmm2","xmm2");
 | 
			
		||||
	&pxor	("xmm3","xmm3");
 | 
			
		||||
	&pxor	("xmm4","xmm4");
 | 
			
		||||
	&pxor	("xmm5","xmm5");
 | 
			
		||||
	&pxor	("xmm6","xmm6");
 | 
			
		||||
	&pxor	("xmm7","xmm7");
 | 
			
		||||
&set_label("no_sse2");
 | 
			
		||||
	if ($sse2) {
 | 
			
		||||
		&bt	(&DWP(0,"ecx"),26);
 | 
			
		||||
		&jnc	(&label("no_sse2"));
 | 
			
		||||
		&pxor	("xmm0","xmm0");
 | 
			
		||||
		&pxor	("xmm1","xmm1");
 | 
			
		||||
		&pxor	("xmm2","xmm2");
 | 
			
		||||
		&pxor	("xmm3","xmm3");
 | 
			
		||||
		&pxor	("xmm4","xmm4");
 | 
			
		||||
		&pxor	("xmm5","xmm5");
 | 
			
		||||
		&pxor	("xmm6","xmm6");
 | 
			
		||||
		&pxor	("xmm7","xmm7");
 | 
			
		||||
	&set_label("no_sse2");
 | 
			
		||||
	}
 | 
			
		||||
	# just a bunch of fldz to zap the fp/mm bank...
 | 
			
		||||
	&data_word(0xeed9eed9,0xeed9eed9,0xeed9eed9,0xeed9eed9);
 | 
			
		||||
	&emms	();
 | 
			
		||||
 
 | 
			
		||||
@@ -1,74 +0,0 @@
 | 
			
		||||
=pod
 | 
			
		||||
 | 
			
		||||
=head1 NAME
 | 
			
		||||
 | 
			
		||||
SSLeay_version - retrieve version/build information about OpenSSL library
 | 
			
		||||
 | 
			
		||||
=head1 SYNOPSIS
 | 
			
		||||
 | 
			
		||||
 #include <openssl/crypto.h>
 | 
			
		||||
 | 
			
		||||
 const char *SSLeay_version(int type);
 | 
			
		||||
 | 
			
		||||
=head1 DESCRIPTION
 | 
			
		||||
 | 
			
		||||
SSLeay_version() returns a pointer to a constant string describing the
 | 
			
		||||
version of the OpenSSL library or giving information about the library
 | 
			
		||||
build.
 | 
			
		||||
 | 
			
		||||
The following B<type> values are supported:
 | 
			
		||||
 | 
			
		||||
=over 4
 | 
			
		||||
 | 
			
		||||
=item SSLEAY_VERSION
 | 
			
		||||
 | 
			
		||||
The version of the OpenSSL library including the release date.
 | 
			
		||||
 | 
			
		||||
=item SSLEAY_CFLAGS
 | 
			
		||||
 | 
			
		||||
The compiler flags set for the compilation process in the form
 | 
			
		||||
"compiler: ..."  if available or "compiler: information not available"
 | 
			
		||||
otherwise.
 | 
			
		||||
 | 
			
		||||
=item SSLEAY_BUILT_ON
 | 
			
		||||
 | 
			
		||||
The date of the build process in the form "built on: ..." if available
 | 
			
		||||
or "built on: date not available" otherwise.
 | 
			
		||||
 | 
			
		||||
=item SSLEAY_PLATFORM
 | 
			
		||||
 | 
			
		||||
The "Configure" target of the library build in the form "platform: ..."
 | 
			
		||||
if available or "platform: information not available" otherwise.
 | 
			
		||||
 | 
			
		||||
=item SSLEAY_DIR
 | 
			
		||||
 | 
			
		||||
The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR: "...""
 | 
			
		||||
if available or "OPENSSLDIR: N/A" otherwise.
 | 
			
		||||
 | 
			
		||||
=back
 | 
			
		||||
 | 
			
		||||
=head1 RETURN VALUES
 | 
			
		||||
 | 
			
		||||
The following return values can occur:
 | 
			
		||||
 | 
			
		||||
=over 4
 | 
			
		||||
 | 
			
		||||
=item "not available"
 | 
			
		||||
 | 
			
		||||
An invalid value for B<type> was given.
 | 
			
		||||
 | 
			
		||||
=item Pointer to constant string
 | 
			
		||||
 | 
			
		||||
Textual description.
 | 
			
		||||
 | 
			
		||||
=back
 | 
			
		||||
 | 
			
		||||
=head1 SEE ALSO
 | 
			
		||||
 | 
			
		||||
L<crypto(3)|crypto(3)>
 | 
			
		||||
 | 
			
		||||
=head1 HISTORY
 | 
			
		||||
 | 
			
		||||
B<SSLEAY_DIR> was added in OpenSSL 0.9.7.
 | 
			
		||||
 | 
			
		||||
=cut
 | 
			
		||||
@@ -65,7 +65,7 @@ lib:	$(LIBOBJ)
 | 
			
		||||
	@if [ -n "$(SHARED_LIBS)" ]; then \
 | 
			
		||||
		set -e; \
 | 
			
		||||
		for l in $(LIBNAMES); do \
 | 
			
		||||
			$(MAKE) -f ../Makefile.shared \
 | 
			
		||||
			$(MAKE) -f ../Makefile.shared $(BUILDENV) \
 | 
			
		||||
				LIBNAME=$$l LIBEXTRAS=e_$$l.o \
 | 
			
		||||
				LIBDEPS='-L.. -lcrypto $(EX_LIBS)' \
 | 
			
		||||
				link_o.$(SHLIB_TARGET); \
 | 
			
		||||
 
 | 
			
		||||
@@ -44,7 +44,7 @@ print <<___;
 | 
			
		||||
.align	4
 | 
			
		||||
.Lazy$i:
 | 
			
		||||
	pushl	\$$i
 | 
			
		||||
	pushl	_OPENSSL_UplinkTable
 | 
			
		||||
	pushl	\$_OPENSSL_UplinkTable
 | 
			
		||||
	call	_OPENSSL_Uplink
 | 
			
		||||
	addl	\$8,%esp
 | 
			
		||||
	jmp	*(_OPENSSL_UplinkTable+4*$i)
 | 
			
		||||
 
 | 
			
		||||
@@ -549,8 +549,11 @@ md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
 | 
			
		||||
md5test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 | 
			
		||||
md5test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
 | 
			
		||||
md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c
 | 
			
		||||
mdc2test.o: ../e_os.h ../include/openssl/e_os2.h
 | 
			
		||||
mdc2test.o: ../include/openssl/opensslconf.h mdc2test.c
 | 
			
		||||
mdc2test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
 | 
			
		||||
mdc2test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
 | 
			
		||||
mdc2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
 | 
			
		||||
mdc2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
 | 
			
		||||
mdc2test.o: ../include/openssl/symhacks.h mdc2test.c
 | 
			
		||||
randtest.o: ../e_os.h ../include/openssl/e_os2.h
 | 
			
		||||
randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
 | 
			
		||||
randtest.o: ../include/openssl/rand.h randtest.c
 | 
			
		||||
@@ -559,8 +562,11 @@ rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c
 | 
			
		||||
rc4test.o: ../e_os.h ../include/openssl/e_os2.h
 | 
			
		||||
rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h
 | 
			
		||||
rc4test.o: ../include/openssl/sha.h rc4test.c
 | 
			
		||||
rc5test.o: ../e_os.h ../include/openssl/e_os2.h
 | 
			
		||||
rc5test.o: ../include/openssl/opensslconf.h rc5test.c
 | 
			
		||||
rc5test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
 | 
			
		||||
rc5test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
 | 
			
		||||
rc5test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
 | 
			
		||||
rc5test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
 | 
			
		||||
rc5test.o: ../include/openssl/symhacks.h rc5test.c
 | 
			
		||||
rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
 | 
			
		||||
rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
 | 
			
		||||
rmdtest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
 | 
			
		||||
 
 | 
			
		||||
@@ -741,7 +741,8 @@ sub do_defs
 | 
			
		||||
				} elsif (/^\s*DECLARE_PKCS12_STACK_OF\s*\(\s*(\w*)\s*\)/) {
 | 
			
		||||
					next;
 | 
			
		||||
				} elsif (/^DECLARE_PEM_rw\s*\(\s*(\w*)\s*,/ ||
 | 
			
		||||
					 /^DECLARE_PEM_rw_cb\s*\(\s*(\w*)\s*,/ ) {
 | 
			
		||||
					 /^DECLARE_PEM_rw_cb\s*\(\s*(\w*)\s*,/ ||
 | 
			
		||||
					 /^DECLARE_PEM_rw_const\s*\(\s*(\w*)\s*,/ ) {
 | 
			
		||||
					# Things not in Win16
 | 
			
		||||
					$def .=
 | 
			
		||||
					    "#INFO:"
 | 
			
		||||
 
 | 
			
		||||
@@ -99,23 +99,18 @@ if ($shlib)
 | 
			
		||||
	# Engage Applink...
 | 
			
		||||
	#
 | 
			
		||||
	$app_ex_obj.=" \$(OBJ_D)\\applink.obj /implib:\$(TMP_D)\\junk.lib";
 | 
			
		||||
	$cflags.=" -DOPENSSL_USE_APPLINK";
 | 
			
		||||
	$cflags.=" -DOPENSSL_USE_APPLINK -I.";
 | 
			
		||||
	# I'm open for better suggestions than overriding $banner...
 | 
			
		||||
	$banner=<<'___';
 | 
			
		||||
	@echo Building OpenSSL
 | 
			
		||||
 | 
			
		||||
$(OBJ_D)\applink.obj:	ms\applink.c
 | 
			
		||||
	$(CC) /Fo$(OBJ_D)\applink.obj $(APP_CFLAGS) -c ms\applink.c
 | 
			
		||||
$(OBJ_D)\uplink.obj:	ms\uplink.c $(OBJ_D)\applink.c
 | 
			
		||||
$(OBJ_D)\uplink.obj:	ms\uplink.c ms\applink.c
 | 
			
		||||
	$(CC) /Fo$(OBJ_D)\uplink.obj $(SHLIB_CFLAGS) -c ms\uplink.c
 | 
			
		||||
$(INCL_D)\uplink.h:	ms\uplink.h
 | 
			
		||||
	$(CP) ms\uplink.h $(INCL_D)\uplink.h
 | 
			
		||||
$(INCO_D)\applink.c:	ms\applink.c
 | 
			
		||||
	$(CP) ms\applink.c $(INCO_D)\applink.c
 | 
			
		||||
$(OBJ_D)\applink.c:	ms\applink.c
 | 
			
		||||
	$(CP) ms\applink.c $(OBJ_D)\applink.c
 | 
			
		||||
 | 
			
		||||
HEADER=$(HEADER) $(INCL_D)\uplink.h
 | 
			
		||||
EXHEADER= $(EXHEADER) $(INCO_D)\applink.c
 | 
			
		||||
 | 
			
		||||
LIBS_DEP=$(LIBS_DEP) $(OBJ_D)\applink.obj
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user