Compare commits
205 Commits
OpenSSL-en
...
OpenSSL-en
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0b110267d | ||
|
|
8f1e8d274e | ||
|
|
a09d349071 | ||
|
|
e27fd320fc | ||
|
|
66ae107a14 | ||
|
|
8b2f9cdfad | ||
|
|
01682a8b3c | ||
|
|
8b07f23c30 | ||
|
|
45932ad508 | ||
|
|
ce94682ce1 | ||
|
|
2d7ab7e9ea | ||
|
|
6176df94ed | ||
|
|
a8f8788248 | ||
|
|
d5d007abe3 | ||
|
|
32e692ce07 | ||
|
|
151457ab16 | ||
|
|
a5232ab0a0 | ||
|
|
dde3e83129 | ||
|
|
8f182fdc69 | ||
|
|
1064acafc4 | ||
|
|
d2f64ef725 | ||
|
|
842931098f | ||
|
|
a7a71d0ec9 | ||
|
|
faff87fd64 | ||
|
|
46ca653c83 | ||
|
|
c1fb6557e5 | ||
|
|
ff8e412ceb | ||
|
|
e9cbcb1d98 | ||
|
|
ea7fc0311c | ||
|
|
30911232c1 | ||
|
|
2940a1298e | ||
|
|
f916052eab | ||
|
|
2fb3f002d0 | ||
|
|
82b0bf0b87 | ||
|
|
3a7cef3e76 | ||
|
|
592c0e0273 | ||
|
|
08b977b5a5 | ||
|
|
85fb12d554 | ||
|
|
7525ac5aba | ||
|
|
b975183c41 | ||
|
|
083100e2ab | ||
|
|
241d2ba1da | ||
|
|
e4fb49775b | ||
|
|
381a146dc6 | ||
|
|
b4a262832a | ||
|
|
6d498d478e | ||
|
|
d0561b5c2d | ||
|
|
4f4b192402 | ||
|
|
0ae1661ba2 | ||
|
|
4e9ef338fc | ||
|
|
4b3d91f350 | ||
|
|
d16e1131b4 | ||
|
|
6175b37578 | ||
|
|
a18894d159 | ||
|
|
dfee50ecd9 | ||
|
|
10189984f9 | ||
|
|
d8425465a3 | ||
|
|
1fc02dcf6a | ||
|
|
83d092f785 | ||
|
|
4825092bbe | ||
|
|
bbd79bdf03 | ||
|
|
d007411335 | ||
|
|
9a78b3db52 | ||
|
|
d553eb9616 | ||
|
|
a096e9b719 | ||
|
|
e874ee0850 | ||
|
|
c20f373558 | ||
|
|
192060947c | ||
|
|
c14688ec73 | ||
|
|
ddab25a90d | ||
|
|
ffbe98b763 | ||
|
|
d7a9bb0a2a | ||
|
|
0d81c69b8e | ||
|
|
401cd0af0f | ||
|
|
c7b41e67f0 | ||
|
|
003144a8e8 | ||
|
|
af1cb47e65 | ||
|
|
e8e7fbdb16 | ||
|
|
d5c21afd4b | ||
|
|
1afa967909 | ||
|
|
85b7b80434 | ||
|
|
fe0f662310 | ||
|
|
90453438ff | ||
|
|
2e63f3b733 | ||
|
|
125cc35b59 | ||
|
|
7e58aa7d71 | ||
|
|
be3d90de02 | ||
|
|
82652aaf17 | ||
|
|
17d6bb8158 | ||
|
|
11c26ecf81 | ||
|
|
99d5b23023 | ||
|
|
611ba3f4a1 | ||
|
|
af28dd6c75 | ||
|
|
e79ec456be | ||
|
|
3e268d2717 | ||
|
|
c46acbacde | ||
|
|
304d90425f | ||
|
|
bfaa8a89e1 | ||
|
|
de941e289e | ||
|
|
1d28453529 | ||
|
|
690ecff795 | ||
|
|
234c73767d | ||
|
|
497810cae7 | ||
|
|
cbc9d9713d | ||
|
|
98fa4fe8c5 | ||
|
|
0b4c91c0fc | ||
|
|
b9b43196e1 | ||
|
|
bf6a9e66d6 | ||
|
|
0c372b94f7 | ||
|
|
26e1237380 | ||
|
|
4882171df5 | ||
|
|
ff0a0c46a7 | ||
|
|
c568a9820a | ||
|
|
931627e6a0 | ||
|
|
274a2c9970 | ||
|
|
493de5ad2a | ||
|
|
006fcc22a8 | ||
|
|
709c51c424 | ||
|
|
9bc448546e | ||
|
|
0dc092334b | ||
|
|
36c194638e | ||
|
|
45fb737950 | ||
|
|
a01273bae3 | ||
|
|
2c17323e15 | ||
|
|
870694b3da | ||
|
|
87a4b4d1f4 | ||
|
|
8ecf5104b3 | ||
|
|
2b3aeffbbd | ||
|
|
2c2f9e2cc3 | ||
|
|
2d9b1b3ffa | ||
|
|
f070480275 | ||
|
|
49f1597de2 | ||
|
|
b44e425f39 | ||
|
|
93683c3cf8 | ||
|
|
a08ee55e2d | ||
|
|
3bac6d9479 | ||
|
|
5c5143de48 | ||
|
|
c8cd7d9e0f | ||
|
|
e0a6cdcf30 | ||
|
|
b76b87fdf5 | ||
|
|
a0ecb9b8fc | ||
|
|
4bf4bc784f | ||
|
|
30bd8e3e1f | ||
|
|
b98a984294 | ||
|
|
9437fef8cc | ||
|
|
16b0384bd2 | ||
|
|
dac7098464 | ||
|
|
87ebdd8a71 | ||
|
|
7d68189d8a | ||
|
|
26414ee013 | ||
|
|
5c62f68e14 | ||
|
|
0d22b5dace | ||
|
|
023ec151df | ||
|
|
59dbdb51dc | ||
|
|
92d1bc09cb | ||
|
|
d62bfb39cd | ||
|
|
ce4b274aa1 | ||
|
|
334f1842fc | ||
|
|
b12540520d | ||
|
|
0d7b9b8b7e | ||
|
|
56cf45f968 | ||
|
|
31188ee1a8 | ||
|
|
b435c38af2 | ||
|
|
4a3e6bce79 | ||
|
|
a3829cb720 | ||
|
|
e84be9b495 | ||
|
|
3a3ca3f515 | ||
|
|
032c49b8b3 | ||
|
|
3208ff58ca | ||
|
|
6707d22a40 | ||
|
|
3647bee263 | ||
|
|
e2aebccba1 | ||
|
|
3e563bcea7 | ||
|
|
92f91ff48b | ||
|
|
b3dfaaa143 | ||
|
|
5b7848a345 | ||
|
|
915c6a21ba | ||
|
|
58706d595b | ||
|
|
236be53269 | ||
|
|
1fc1bd382b | ||
|
|
a60033f106 | ||
|
|
3613e6fc57 | ||
|
|
f8e21776f9 | ||
|
|
006723cf76 | ||
|
|
aa89bcd279 | ||
|
|
f19759a182 | ||
|
|
d009bcbfb6 | ||
|
|
4b71f63ac0 | ||
|
|
3adb8c3854 | ||
|
|
02e666d59f | ||
|
|
5b2d6ff07e | ||
|
|
877b2fbd3c | ||
|
|
afeab58a3c | ||
|
|
744c49a81b | ||
|
|
9c5b91fd0b | ||
|
|
290d3eab76 | ||
|
|
46dae77c23 | ||
|
|
a6cd870784 | ||
|
|
97879bcd57 | ||
|
|
ab1dee1efc | ||
|
|
e072aa535d | ||
|
|
48f9859d2a | ||
|
|
48b5083ca0 | ||
|
|
cd64618674 | ||
|
|
5d7e960adf |
70
CHANGES
70
CHANGES
@@ -2,7 +2,72 @@
|
||||
OpenSSL CHANGES
|
||||
_______________
|
||||
|
||||
Changes between 0.9.6c and 0.9.6d [XX xxx XXXX]
|
||||
Changes between 0.9.6c and 0.9.6d [9 May 2002]
|
||||
|
||||
*) Fix crypto/asn1/a_sign.c so that 'parameters' is omitted (not
|
||||
encoded as NULL) with id-dsa-with-sha1.
|
||||
[Nils Larsch <nla@trustcenter.de>; problem pointed out by Bodo Moeller]
|
||||
|
||||
*) Check various X509_...() return values in apps/req.c.
|
||||
[Nils Larsch <nla@trustcenter.de>]
|
||||
|
||||
*) Fix BASE64 decode (EVP_DecodeUpdate) for data with CR/LF ended lines:
|
||||
an end-of-file condition would erronously be flagged, when the CRLF
|
||||
was just at the end of a processed block. The bug was discovered when
|
||||
processing data through a buffering memory BIO handing the data to a
|
||||
BASE64-decoding BIO. Bug fund and patch submitted by Pavel Tsekov
|
||||
<ptsekov@syntrex.com> and Nedelcho Stanev.
|
||||
[Lutz Jaenicke]
|
||||
|
||||
*) Implement a countermeasure against a vulnerability recently found
|
||||
in CBC ciphersuites in SSL 3.0/TLS 1.0: Send an empty fragment
|
||||
before application data chunks to avoid the use of known IVs
|
||||
with data potentially chosen by the attacker.
|
||||
[Bodo Moeller]
|
||||
|
||||
*) Fix length checks in ssl3_get_client_hello().
|
||||
[Bodo Moeller]
|
||||
|
||||
*) TLS/SSL library bugfix: use s->s3->in_read_app_data differently
|
||||
to prevent ssl3_read_internal() from incorrectly assuming that
|
||||
ssl3_read_bytes() found application data while handshake
|
||||
processing was enabled when in fact s->s3->in_read_app_data was
|
||||
merely automatically cleared during the initial handshake.
|
||||
[Bodo Moeller; problem pointed out by Arne Ansper <arne@ats.cyber.ee>]
|
||||
|
||||
*) Fix object definitions for Private and Enterprise: they were not
|
||||
recognized in their shortname (=lowercase) representation. Extend
|
||||
obj_dat.pl to issue an error when using undefined keywords instead
|
||||
of silently ignoring the problem (Svenning Sorensen
|
||||
<sss@sss.dnsalias.net>).
|
||||
[Lutz Jaenicke]
|
||||
|
||||
*) Fix DH_generate_parameters() so that it works for 'non-standard'
|
||||
generators, i.e. generators other than 2 and 5. (Previously, the
|
||||
code did not properly initialise the 'add' and 'rem' values to
|
||||
BN_generate_prime().)
|
||||
|
||||
In the new general case, we do not insist that 'generator' is
|
||||
actually a primitive root: This requirement is rather pointless;
|
||||
a generator of the order-q subgroup is just as good, if not
|
||||
better.
|
||||
[Bodo Moeller]
|
||||
|
||||
*) Map new X509 verification errors to alerts. Discovered and submitted by
|
||||
Tom Wu <tom@arcot.com>.
|
||||
[Lutz Jaenicke]
|
||||
|
||||
*) Fix ssl3_pending() (ssl/s3_lib.c) to prevent SSL_pending() from
|
||||
returning non-zero before the data has been completely received
|
||||
when using non-blocking I/O.
|
||||
[Bodo Moeller; problem pointed out by John Hughes]
|
||||
|
||||
*) Some of the ciphers missed the strength entry (SSL_LOW etc).
|
||||
[Ben Laurie, Lutz Jaenicke]
|
||||
|
||||
*) Fix bug in SSL_clear(): bad sessions were not removed (found by
|
||||
Yoram Zahavi <YoramZ@gilian.com>).
|
||||
[Lutz Jaenicke]
|
||||
|
||||
*) Add information about CygWin 1.3 and on, and preserve proper
|
||||
configuration for the versions before that.
|
||||
@@ -23,7 +88,8 @@
|
||||
value is 0.
|
||||
[Richard Levitte]
|
||||
|
||||
*) Fix a crashbug and a logic bug in hwcrhk_load_pubkey()
|
||||
*) [In 0.9.6c-engine release:]
|
||||
Fix a crashbug and a logic bug in hwcrhk_load_pubkey()
|
||||
[Toomas Kiisk <vix@cyber.ee> via Richard Levitte]
|
||||
|
||||
*) Add the configuration target linux-s390x.
|
||||
|
||||
14
Configure
14
Configure
@@ -182,7 +182,7 @@ my %table=(
|
||||
"linux-sparcv8","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o::::",
|
||||
# it's a real mess with -mcpu=ultrasparc option under Linux, but
|
||||
# -Wa,-Av8plus should do the trick no matter what.
|
||||
"linux-sparcv9","gcc:-mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -Wa,-Av8plus -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o:",
|
||||
"linux-sparcv9","gcc:-mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -Wa,-Av8plus -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:linux-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
||||
# !!!Folowing can't be even tested yet!!!
|
||||
# We have to wait till 64-bit glibc for SPARC is operational!!!
|
||||
#"linux64-sparcv9","sparc64-linux-gcc:-m64 -mcpu=v9 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::asm/md5-sparcv9.o:",
|
||||
@@ -406,7 +406,7 @@ my %table=(
|
||||
"aix43-gcc", "gcc:-O3 -DAIX -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR::::::::::dlfcn:",
|
||||
|
||||
#
|
||||
# Cray T90 (SDSC)
|
||||
# Cray T90 and similar (SDSC)
|
||||
# It's Big-endian, but the algorithms work properly when B_ENDIAN is NOT
|
||||
# defined. The T90 ints and longs are 8 bytes long, and apparently the
|
||||
# B_ENDIAN code assumes 4 byte ints. Fortunately, the non-B_ENDIAN and
|
||||
@@ -416,7 +416,10 @@ my %table=(
|
||||
#'Taking the address of a bit field is not allowed. '
|
||||
#'An expression with bit field exists as the operand of "sizeof" '
|
||||
# (written by Wayne Schroeder <schroede@SDSC.EDU>)
|
||||
"cray-t90-cc", "cc: -DBIT_FIELD_LIMITS -DTERMIOS::(unknown)::SIXTY_FOUR_BIT_LONG DES_INT:::",
|
||||
#
|
||||
# j90 is considered the base machine type for unicos machines,
|
||||
# so this configuration is now called "cray-j90" ...
|
||||
"cray-j90", "cc: -DBIT_FIELD_LIMITS -DTERMIOS::(unknown)::SIXTY_FOUR_BIT_LONG DES_INT:::",
|
||||
|
||||
#
|
||||
# Cray T3E (Research Center Juelich, beckman@acl.lanl.gov)
|
||||
@@ -442,7 +445,7 @@ my %table=(
|
||||
"sco5-cc-pentium", "cc:-Kpentium::(unknown):-lsocket:${x86_gcc_des} ${x86_gcc_opts}:::", # des options?
|
||||
"sco5-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown):-lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", # the SCO assembler doesn't seem to like our assembler files ...
|
||||
"sco5-cc-shared","cc:-belf:::-lsocket -lresolv -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::::::::::dlfcn:svr3-shared:-Kpic",
|
||||
"sco5-gcc-shared","gcc:-O3 -DFILIO_H -fomit-frame-pointer:::-lsocket -lresolv -lnsl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:svr3-shared:-fPIC",
|
||||
"sco5-gcc-shared","gcc:-O3 -DFILIO_H -fomit-frame-pointer:::-lsocket -lresolv -lnsl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:svr3-shared:-fPIC", # the SCO assembler doesn't seem to like our assembler files ...
|
||||
|
||||
# Sinix/ReliantUNIX RM400
|
||||
# NOTE: The CDS++ Compiler up to V2.0Bsomething has the IRIX_CC_BUG optimizer problem. Better use -g */
|
||||
@@ -500,6 +503,9 @@ my %table=(
|
||||
##### Sony NEWS-OS 4.x
|
||||
"newsos4-gcc","gcc:-O -DB_ENDIAN -DNEWS4::(unknown):-lmld -liberty:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::::",
|
||||
|
||||
##### VxWorks for various targets
|
||||
"vxworks-ppc405","ccppc:-g -msoft-float -mlongcall -DVXWORKS -DCPU=PPC405 -I\$(WIND_BASE)/target/h:::-r:::::",
|
||||
|
||||
);
|
||||
|
||||
my @WinTargets=qw(VC-NT VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS BC-32
|
||||
|
||||
2
FAQ
2
FAQ
@@ -59,7 +59,7 @@ OpenSSL - Frequently Asked Questions
|
||||
* Which is the current version of OpenSSL?
|
||||
|
||||
The current version is available from <URL: http://www.openssl.org>.
|
||||
OpenSSL 0.9.6c was released on December 21st, 2001.
|
||||
OpenSSL 0.9.6d was released on 9 May, 2002.
|
||||
|
||||
In addition to the current stable release, you can also access daily
|
||||
snapshots of the OpenSSL development version at <URL:
|
||||
|
||||
5
INSTALL
5
INSTALL
@@ -272,6 +272,11 @@
|
||||
Note on shared libraries
|
||||
------------------------
|
||||
|
||||
Shared library is currently an experimental feature. The only reason to
|
||||
have them would be to conserve memory on systems where several program
|
||||
are using OpenSSL. Binary backward compatibility can't be guaranteed
|
||||
before OpenSSL version 1.0.
|
||||
|
||||
For some systems, the OpenSSL Configure script knows what is needed to
|
||||
build shared libraries for libcrypto and libssl. On these systems,
|
||||
the shared libraries are currently not created by default, but giving
|
||||
|
||||
38
INSTALL.W32
38
INSTALL.W32
@@ -6,15 +6,15 @@
|
||||
of this is tested on Win32 but it may also work in Win 3.1 with some
|
||||
modification.
|
||||
|
||||
You need Perl for Win32. Unless you will build on CygWin32, you will need
|
||||
You need Perl for Win32. Unless you will build on Cygwin, you will need
|
||||
ActiveState Perl, available from http://www.activestate.com/ActivePerl.
|
||||
For CygWin32 users, there's more info in the CygWin32 section.
|
||||
For Cygwin users, there's more info in the Cygwin section.
|
||||
|
||||
and one of the following C compilers:
|
||||
|
||||
* Visual C++
|
||||
* Borland C
|
||||
* GNU C (Mingw32 or Cygwin32)
|
||||
* GNU C (Mingw32 or Cygwin)
|
||||
|
||||
If you want to compile in the assembly language routines with Visual C++ then
|
||||
you will need an assembler. This is worth doing because it will result in
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
There are various changes you can make to the Win32 compile environment. By
|
||||
default the library is not compiled with debugging symbols. If you add 'debug'
|
||||
to the mk1mk.pl lines in the do_* batch file then debugging symbols will be
|
||||
to the mk1mf.pl lines in the do_* batch file then debugging symbols will be
|
||||
compiled in.
|
||||
|
||||
The default Win32 environment is to leave out any Windows NT specific
|
||||
@@ -137,30 +137,30 @@
|
||||
> cd out
|
||||
> ..\ms\test
|
||||
|
||||
GNU C (CygWin32)
|
||||
---------------
|
||||
GNU C (Cygwin)
|
||||
--------------
|
||||
|
||||
CygWin32 provides a bash shell and GNU tools environment running on
|
||||
Cygwin provides a bash shell and GNU tools environment running on
|
||||
NT 4.0, Windows 9x and Windows 2000. Consequently, a make of OpenSSL
|
||||
with CygWin is closer to a GNU bash environment such as Linux rather
|
||||
with Cygwin is closer to a GNU bash environment such as Linux rather
|
||||
than other W32 makes that are based on a single makefile approach.
|
||||
CygWin32 implements Posix/Unix calls through cygwin1.dll, and is
|
||||
Cygwin implements Posix/Unix calls through cygwin1.dll, and is
|
||||
contrasted to Mingw32 which links dynamically to msvcrt.dll or
|
||||
crtdll.dll.
|
||||
|
||||
To build OpenSSL using CygWin32:
|
||||
To build OpenSSL using Cygwin:
|
||||
|
||||
* Install CygWin32 (see http://sourceware.cygnus.com/cygwin)
|
||||
* Install Cygwin (see http://sourceware.cygnus.com/cygwin)
|
||||
|
||||
* Install Perl and ensure it is in the path (recent Cygwin perl
|
||||
(version 5.6.1-2 of the latter has been reported to work) or
|
||||
ActivePerl)
|
||||
|
||||
* Run the CygWin bash shell
|
||||
* Run the Cygwin bash shell
|
||||
|
||||
* $ tar zxvf openssl-x.x.x.tar.gz
|
||||
$ cd openssl-x.x.x
|
||||
$ ./Configure no-threads CygWin32
|
||||
$ ./config
|
||||
[...]
|
||||
$ make
|
||||
[...]
|
||||
@@ -169,26 +169,26 @@
|
||||
|
||||
This will create a default install in /usr/local/ssl.
|
||||
|
||||
CygWin32 Notes:
|
||||
Cygwin Notes:
|
||||
|
||||
"make test" and normal file operations may fail in directories
|
||||
mounted as text (i.e. mount -t c:\somewhere /home) due to CygWin
|
||||
mounted as text (i.e. mount -t c:\somewhere /home) due to Cygwin
|
||||
stripping of carriage returns. To avoid this ensure that a binary
|
||||
mount is used, e.g. mount -b c:\somewhere /home.
|
||||
|
||||
As of version 1.1.1 CygWin32 is relatively unstable in its handling
|
||||
As of version 1.1.1 Cygwin is relatively unstable in its handling
|
||||
of cr/lf issues. These make procedures succeeded with versions 1.1 and
|
||||
the snapshot 20000524 (Slow!).
|
||||
|
||||
"bc" is not provided in the CygWin32 distribution. This causes a
|
||||
"bc" is not provided in the Cygwin distribution. This causes a
|
||||
non-fatal error in "make test" but is otherwise harmless. If
|
||||
desired, GNU bc can be built with CygWin32 without change.
|
||||
desired, GNU bc can be built with Cygwin without change.
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
If you used the CygWin procedure above, you have already installed and
|
||||
If you used the Cygwin procedure above, you have already installed and
|
||||
can skip this section. For all other procedures, there's currently no real
|
||||
installation procedure for Win32. There are, however, some suggestions:
|
||||
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -12,7 +12,7 @@
|
||||
---------------
|
||||
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -262,6 +262,7 @@ do_gnu-shared:
|
||||
( set -x; ${CC} ${SHARED_LDFLAGS} \
|
||||
-shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
||||
-Wl,-soname=lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
||||
-Wl,-Bsymbolic \
|
||||
-Wl,--whole-archive lib$$i.a \
|
||||
-Wl,--no-whole-archive $$libs ${EX_LIBS} -lc ) || exit 1; \
|
||||
libs="$$libs -l$$i"; \
|
||||
@@ -288,6 +289,7 @@ do_darwin-shared:
|
||||
do_cygwin-shared:
|
||||
libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
|
||||
( set -x; ${CC} -shared -o cyg$$i.dll \
|
||||
-Wl,-Bsymbolic \
|
||||
-Wl,--whole-archive lib$$i.a \
|
||||
-Wl,--out-implib,lib$$i.dll.a \
|
||||
-Wl,--no-whole-archive $$libs ) || exit 1; \
|
||||
@@ -644,7 +646,7 @@ install: all install_docs
|
||||
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
|
||||
$(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \
|
||||
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \
|
||||
fi \
|
||||
fi; \
|
||||
done
|
||||
@if [ -n "$(SHARED_LIBS)" ]; then \
|
||||
tmp="$(SHARED_LIBS)"; \
|
||||
@@ -662,7 +664,7 @@ install: all install_docs
|
||||
cp $$i.a $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a; \
|
||||
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a; \
|
||||
fi ); \
|
||||
fi \
|
||||
fi; \
|
||||
done; \
|
||||
( here="`pwd`"; \
|
||||
cd $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
|
||||
|
||||
9
NEWS
9
NEWS
@@ -5,7 +5,12 @@
|
||||
This file gives a brief overview of the major changes between each OpenSSL
|
||||
release. For more details please read the CHANGES file.
|
||||
|
||||
Changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c:
|
||||
Major changes between OpenSSL 0.9.6c and OpenSSL 0.9.6d:
|
||||
|
||||
o Various SSL/TLS library bugfixes.
|
||||
o Fix DH parameter generation for 'non-standard' generators.
|
||||
|
||||
Major changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c:
|
||||
|
||||
o Various SSL/TLS library bugfixes.
|
||||
o BIGNUM library fixes.
|
||||
@@ -18,7 +23,7 @@
|
||||
Broadcom and Cryptographic Appliance's keyserver
|
||||
[in 0.9.6c-engine release].
|
||||
|
||||
Changes between OpenSSL 0.9.6a and OpenSSL 0.9.6b:
|
||||
Major changes between OpenSSL 0.9.6a and OpenSSL 0.9.6b:
|
||||
|
||||
o Security fix: PRNG improvements.
|
||||
o Security fix: RSA OAEP check.
|
||||
|
||||
2
README
2
README
@@ -1,5 +1,5 @@
|
||||
|
||||
OpenSSL 0.9.6d-dev [engine] XX xxx XXXX
|
||||
OpenSSL 0.9.6d [engine] 9 May 2002
|
||||
|
||||
Copyright (c) 1998-2002 The OpenSSL Project
|
||||
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
|
||||
|
||||
7
STATUS
7
STATUS
@@ -1,10 +1,11 @@
|
||||
|
||||
OpenSSL STATUS Last modified at
|
||||
______________ $Date: 2001/12/21 03:23:29 $
|
||||
______________ $Date: 2002/05/08 15:53:53 $
|
||||
|
||||
DEVELOPMENT STATE
|
||||
|
||||
o OpenSSL 0.9.7: Under development...
|
||||
o OpenSSL 0.9.6d: Feature freeze, beta1 April 17th, 2002
|
||||
o OpenSSL 0.9.6c: Released on December 21st, 2001
|
||||
o OpenSSL 0.9.6b: Released on July 9th, 2001
|
||||
o OpenSSL 0.9.6a: Released on April 5th, 2001
|
||||
@@ -48,10 +49,6 @@
|
||||
|
||||
o apps/ca.c: "Sign the certificate?" - "n" creates empty certificate file
|
||||
|
||||
o OpenSSL_0_9_6-stable:
|
||||
#include <openssl/e_os.h> in exported header files is illegal since
|
||||
e_os.h is suitable only for library-internal use.
|
||||
|
||||
o Whenever strncpy is used, make sure the resulting string is NULL-terminated
|
||||
or an error is reported
|
||||
|
||||
|
||||
58
TABLE
58
TABLE
@@ -1,4 +1,3 @@
|
||||
Output of `Configure TABLE':
|
||||
|
||||
*** BC-16
|
||||
$cc = bcc
|
||||
@@ -1035,13 +1034,13 @@ $shared_ldflag =
|
||||
$shared_extension =
|
||||
$ranlib =
|
||||
|
||||
*** cray-t3e
|
||||
*** cray-j90
|
||||
$cc = cc
|
||||
$cflags = -DBIT_FIELD_LIMITS -DTERMIOS
|
||||
$unistd =
|
||||
$thread_cflag = (unknown)
|
||||
$lflags =
|
||||
$bn_ops = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT
|
||||
$bn_ops = SIXTY_FOUR_BIT_LONG DES_INT
|
||||
$bn_obj =
|
||||
$des_obj =
|
||||
$bf_obj =
|
||||
@@ -1058,13 +1057,13 @@ $shared_ldflag =
|
||||
$shared_extension =
|
||||
$ranlib =
|
||||
|
||||
*** cray-t90-cc
|
||||
*** cray-t3e
|
||||
$cc = cc
|
||||
$cflags = -DBIT_FIELD_LIMITS -DTERMIOS
|
||||
$unistd =
|
||||
$thread_cflag = (unknown)
|
||||
$lflags =
|
||||
$bn_ops = SIXTY_FOUR_BIT_LONG DES_INT
|
||||
$bn_ops = SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT
|
||||
$bn_obj =
|
||||
$des_obj =
|
||||
$bf_obj =
|
||||
@@ -2477,10 +2476,10 @@ $cast_obj =
|
||||
$rc4_obj =
|
||||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$dso_scheme =
|
||||
$shared_target=
|
||||
$shared_cflag =
|
||||
$shared_ldflag =
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= linux-shared
|
||||
$shared_cflag = -fPIC
|
||||
$shared_ldflag = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
|
||||
$shared_extension =
|
||||
$ranlib =
|
||||
|
||||
@@ -2790,15 +2789,15 @@ $unistd =
|
||||
$thread_cflag =
|
||||
$lflags = -lsocket -lresolv -lnsl
|
||||
$bn_ops = BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT
|
||||
$bn_obj = asm/bn86-elf.o asm/co86-elf.o
|
||||
$des_obj = asm/dx86-elf.o asm/yx86-elf.o
|
||||
$bf_obj = asm/bx86-elf.o
|
||||
$md5_obj = asm/mx86-elf.o
|
||||
$sha1_obj = asm/sx86-elf.o
|
||||
$cast_obj = asm/cx86-elf.o
|
||||
$rc4_obj = asm/rx86-elf.o
|
||||
$rmd160_obj = asm/rm86-elf.o
|
||||
$rc5_obj = asm/r586-elf.o
|
||||
$bn_obj =
|
||||
$des_obj =
|
||||
$bf_obj =
|
||||
$md5_obj =
|
||||
$sha1_obj =
|
||||
$cast_obj =
|
||||
$rc4_obj =
|
||||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$dso_scheme = dlfcn
|
||||
$shared_target= svr3-shared
|
||||
$shared_cflag = -fPIC
|
||||
@@ -3334,3 +3333,26 @@ $shared_cflag =
|
||||
$shared_ldflag =
|
||||
$shared_extension =
|
||||
$ranlib =
|
||||
|
||||
*** vxworks-ppc405
|
||||
$cc = ccppc
|
||||
$cflags = -g -msoft-float -mlongcall -DVXWORKS -DCPU=PPC405 -I$(WIND_BASE)/target/h
|
||||
$unistd =
|
||||
$thread_cflag =
|
||||
$lflags = -r
|
||||
$bn_ops =
|
||||
$bn_obj =
|
||||
$des_obj =
|
||||
$bf_obj =
|
||||
$md5_obj =
|
||||
$sha1_obj =
|
||||
$cast_obj =
|
||||
$rc4_obj =
|
||||
$rmd160_obj =
|
||||
$rc5_obj =
|
||||
$dso_scheme =
|
||||
$shared_target=
|
||||
$shared_cflag =
|
||||
$shared_ldflag =
|
||||
$shared_extension =
|
||||
$ranlib =
|
||||
|
||||
1169
apps/Makefile.ssl
1169
apps/Makefile.ssl
File diff suppressed because it is too large
Load Diff
@@ -83,7 +83,7 @@
|
||||
# else
|
||||
# include <unixlib.h>
|
||||
# endif
|
||||
# else
|
||||
# elif !defined(VXWORKS)
|
||||
# include <sys/file.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -89,8 +89,8 @@ int MAIN(int argc, char **argv)
|
||||
BIO *bmd=NULL;
|
||||
BIO *out = NULL;
|
||||
const char *name;
|
||||
#define PROG_NAME_SIZE 16
|
||||
char pname[PROG_NAME_SIZE];
|
||||
#define PROG_NAME_SIZE 39
|
||||
char pname[PROG_NAME_SIZE+1];
|
||||
int separator=0;
|
||||
int debug=0;
|
||||
const char *outfile = NULL, *keyfile = NULL;
|
||||
|
||||
@@ -176,7 +176,7 @@ bad:
|
||||
BIO_printf(bio_err," -outform arg output format - DER or PEM\n");
|
||||
BIO_printf(bio_err," -in arg input file\n");
|
||||
BIO_printf(bio_err," -out arg output file\n");
|
||||
BIO_printf(bio_err," -text print the key in text\n");
|
||||
BIO_printf(bio_err," -text print as text\n");
|
||||
BIO_printf(bio_err," -C Output C code\n");
|
||||
BIO_printf(bio_err," -noout no output\n");
|
||||
BIO_printf(bio_err," -rand files to use for random number input\n");
|
||||
|
||||
@@ -101,8 +101,8 @@ int MAIN(int argc, char **argv)
|
||||
const EVP_CIPHER *cipher=NULL,*c;
|
||||
char *inf=NULL,*outf=NULL;
|
||||
BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL;
|
||||
#define PROG_NAME_SIZE 16
|
||||
char pname[PROG_NAME_SIZE];
|
||||
#define PROG_NAME_SIZE 39
|
||||
char pname[PROG_NAME_SIZE+1];
|
||||
char *engine = NULL;
|
||||
|
||||
apps_startup();
|
||||
|
||||
@@ -88,8 +88,8 @@ BIO *bio_err=NULL;
|
||||
int main(int Argc, char *Argv[])
|
||||
{
|
||||
ARGS arg;
|
||||
#define PROG_NAME_SIZE 16
|
||||
char pname[PROG_NAME_SIZE];
|
||||
#define PROG_NAME_SIZE 39
|
||||
char pname[PROG_NAME_SIZE+1];
|
||||
FUNCTION f,*fp;
|
||||
MS_STATIC char *prompt,buf[1024],config_name[256];
|
||||
int n,i,ret=0;
|
||||
|
||||
@@ -772,7 +772,10 @@ int dump_certs_pkeys_bag (BIO *out, PKCS12_SAFEBAG *bag, char *pass,
|
||||
print_attribs (out, bag->attrib, "Bag Attributes");
|
||||
if (!(p8 = M_PKCS12_decrypt_skey (bag, pass, passlen)))
|
||||
return 0;
|
||||
if (!(pkey = EVP_PKCS82PKEY (p8))) return 0;
|
||||
if (!(pkey = EVP_PKCS82PKEY (p8))) {
|
||||
PKCS8_PRIV_KEY_INFO_free(p8);
|
||||
return 0;
|
||||
}
|
||||
print_attribs (out, p8->attributes, "Key Attributes");
|
||||
PKCS8_PRIV_KEY_INFO_free(p8);
|
||||
PEM_write_bio_PrivateKey (out, pkey, enc, NULL, 0, NULL, pempass);
|
||||
|
||||
19
apps/req.c
19
apps/req.c
@@ -291,7 +291,7 @@ int MAIN(int argc, char **argv)
|
||||
goto end;
|
||||
}
|
||||
|
||||
dtmp=X509_get_pubkey(xtmp);
|
||||
if ((dtmp=X509_get_pubkey(xtmp)) == NULL) goto end;
|
||||
if (dtmp->type == EVP_PKEY_DSA)
|
||||
dsa_params=DSAparams_dup(dtmp->pkey.dsa);
|
||||
EVP_PKEY_free(dtmp);
|
||||
@@ -758,17 +758,14 @@ loop:
|
||||
|
||||
/* Set version to V3 */
|
||||
if(!X509_set_version(x509ss, 2)) goto end;
|
||||
ASN1_INTEGER_set(X509_get_serialNumber(x509ss),0L);
|
||||
if (!ASN1_INTEGER_set(X509_get_serialNumber(x509ss),0L)) goto end;
|
||||
|
||||
X509_set_issuer_name(x509ss,
|
||||
X509_REQ_get_subject_name(req));
|
||||
X509_gmtime_adj(X509_get_notBefore(x509ss),0);
|
||||
X509_gmtime_adj(X509_get_notAfter(x509ss),
|
||||
(long)60*60*24*days);
|
||||
X509_set_subject_name(x509ss,
|
||||
X509_REQ_get_subject_name(req));
|
||||
if (!X509_set_issuer_name(x509ss, X509_REQ_get_subject_name(req))) goto end;
|
||||
if (!X509_gmtime_adj(X509_get_notBefore(x509ss),0)) goto end;
|
||||
if (!X509_gmtime_adj(X509_get_notAfter(x509ss), (long)60*60*24*days)) goto end;
|
||||
if (!X509_set_subject_name(x509ss, X509_REQ_get_subject_name(req))) goto end;
|
||||
tmppkey = X509_REQ_get_pubkey(req);
|
||||
X509_set_pubkey(x509ss,tmppkey);
|
||||
if (!tmppkey || !X509_set_pubkey(x509ss,tmppkey)) goto end;
|
||||
EVP_PKEY_free(tmppkey);
|
||||
|
||||
/* Set up V3 context struct */
|
||||
@@ -999,7 +996,7 @@ static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, int attribs)
|
||||
else i = prompt_info(req, dn_sk, dn_sect, attr_sk, attr_sect, attribs);
|
||||
if(!i) goto err;
|
||||
|
||||
X509_REQ_set_pubkey(req,pkey);
|
||||
if (!X509_REQ_set_pubkey(req,pkey)) goto err;
|
||||
|
||||
ret=1;
|
||||
err:
|
||||
|
||||
@@ -91,7 +91,7 @@ int MAIN(int, char **);
|
||||
|
||||
int MAIN(int argc, char **argv)
|
||||
{
|
||||
ENGINE *e = NULL;
|
||||
ENGINE *eng = NULL;
|
||||
int ret=1;
|
||||
RSA *rsa=NULL;
|
||||
int i,badops=0, sgckey=0;
|
||||
@@ -211,20 +211,20 @@ bad:
|
||||
|
||||
if (engine != NULL)
|
||||
{
|
||||
if((e = ENGINE_by_id(engine)) == NULL)
|
||||
if((eng = ENGINE_by_id(engine)) == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"invalid engine \"%s\"\n",
|
||||
engine);
|
||||
goto end;
|
||||
}
|
||||
if(!ENGINE_set_default(e, ENGINE_METHOD_ALL))
|
||||
if(!ENGINE_set_default(eng, ENGINE_METHOD_ALL))
|
||||
{
|
||||
BIO_printf(bio_err,"can't use that engine\n");
|
||||
goto end;
|
||||
}
|
||||
BIO_printf(bio_err,"engine \"%s\" set.\n", engine);
|
||||
/* Free our "structural" reference. */
|
||||
ENGINE_free(e);
|
||||
ENGINE_free(eng);
|
||||
}
|
||||
|
||||
if(!app_passwd(bio_err, passargin, passargout, &passin, &passout)) {
|
||||
|
||||
@@ -418,7 +418,7 @@ int MAIN(int argc, char *argv[])
|
||||
int state=0;
|
||||
SSL_METHOD *meth=NULL;
|
||||
char *inrand=NULL;
|
||||
char *engine_id=NULL;
|
||||
char *engine=NULL;
|
||||
ENGINE *e=NULL;
|
||||
#ifndef NO_DH
|
||||
DH *dh=NULL;
|
||||
@@ -582,7 +582,7 @@ int MAIN(int argc, char *argv[])
|
||||
else if (strcmp(*argv,"-engine") == 0)
|
||||
{
|
||||
if (--argc < 1) goto bad;
|
||||
engine_id= *(++argv);
|
||||
engine = *(++argv);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -635,9 +635,9 @@ bad:
|
||||
SSL_load_error_strings();
|
||||
OpenSSL_add_ssl_algorithms();
|
||||
|
||||
if (engine_id != NULL)
|
||||
if (engine != NULL)
|
||||
{
|
||||
if((e = ENGINE_by_id(engine_id)) == NULL)
|
||||
if((e = ENGINE_by_id(engine)) == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"invalid engine\n");
|
||||
ERR_print_errors(bio_err);
|
||||
@@ -654,7 +654,7 @@ bad:
|
||||
ERR_print_errors(bio_err);
|
||||
goto end;
|
||||
}
|
||||
BIO_printf(bio_err,"engine \"%s\" set.\n", engine_id);
|
||||
BIO_printf(bio_err,"engine \"%s\" set.\n", engine);
|
||||
ENGINE_free(e);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
#include "wintext.h"
|
||||
#endif
|
||||
|
||||
#if !defined(MSDOS) && (!defined(VMS) || defined(__DECC)) || defined (_DARWIN)
|
||||
#if !defined(MSDOS) && !defined(VXWORKS) && (!defined(VMS) || defined(__DECC)) || defined (_DARWIN)
|
||||
#define TIMES
|
||||
#endif
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
#undef TIMES
|
||||
#endif
|
||||
|
||||
#ifndef TIMES
|
||||
#if !defined(TIMES) && !defined(VXWORKS)
|
||||
#include <sys/timeb.h>
|
||||
#endif
|
||||
|
||||
@@ -139,6 +139,8 @@
|
||||
#undef BUFSIZZ
|
||||
#define BUFSIZZ 1024*10
|
||||
|
||||
#undef min
|
||||
#undef max
|
||||
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
||||
#define max(a,b) (((a) > (b)) ? (a) : (b))
|
||||
|
||||
@@ -368,6 +370,22 @@ static double tm_Time_F(int s)
|
||||
ret=((double)(tend.tms_utime-tstart.tms_utime))/HZ;
|
||||
return((ret == 0.0)?1e-6:ret);
|
||||
}
|
||||
#elif defined(VXWORKS)
|
||||
{
|
||||
static unsigned long tick_start, tick_end;
|
||||
|
||||
if( s == START )
|
||||
{
|
||||
tick_start = tickGet();
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
tick_end = tickGet();
|
||||
ret = (double)(tick_end - tick_start) / (double)sysClkRateGet();
|
||||
return((ret == 0.0)?1e-6:ret);
|
||||
}
|
||||
}
|
||||
#else /* !times() */
|
||||
static struct timeb tstart,tend;
|
||||
long i;
|
||||
|
||||
@@ -441,7 +441,10 @@ int MAIN(int argc, char **argv)
|
||||
p7 = PKCS7_encrypt(encerts, in, cipher, flags);
|
||||
} else if(operation == SMIME_SIGN) {
|
||||
p7 = PKCS7_sign(signer, key, other, in, flags);
|
||||
BIO_reset(in);
|
||||
if (BIO_reset(in) != 0 && (flags & PKCS7_DETACHED)) {
|
||||
BIO_printf(bio_err, "Can't rewind input file\n");
|
||||
goto end;
|
||||
}
|
||||
} else {
|
||||
if(informat == FORMAT_SMIME)
|
||||
p7 = SMIME_read_PKCS7(in, &indata);
|
||||
@@ -481,9 +484,9 @@ int MAIN(int argc, char **argv)
|
||||
} else if(operation == SMIME_VERIFY) {
|
||||
STACK_OF(X509) *signers;
|
||||
if(PKCS7_verify(p7, other, store, indata, out, flags)) {
|
||||
BIO_printf(bio_err, "Verification Successful\n");
|
||||
BIO_printf(bio_err, "Verification successful\n");
|
||||
} else {
|
||||
BIO_printf(bio_err, "Verification Failure\n");
|
||||
BIO_printf(bio_err, "Verification failure\n");
|
||||
goto end;
|
||||
}
|
||||
signers = PKCS7_get0_signers(p7, other, flags);
|
||||
|
||||
29
apps/speed.c
29
apps/speed.c
@@ -85,10 +85,10 @@
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(_DARWIN)
|
||||
# define USE_TOD
|
||||
#elif !defined(MSDOS) && (!defined(VMS) || defined(__DECC))
|
||||
#elif !defined(MSDOS) && !defined(VXWORKS) && (!defined(VMS) || defined(__DECC))
|
||||
# define TIMES
|
||||
#endif
|
||||
#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(MPE) && !defined(__NetBSD__) && !defined(_DARWIN)
|
||||
#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(MPE) && !defined(__NetBSD__) && !defined(_DARWIN) && !defined(VXWORKS)
|
||||
# define TIMEB
|
||||
#endif
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
#include <sys/timeb.h>
|
||||
#endif
|
||||
|
||||
#if !defined(TIMES) && !defined(TIMEB) && !defined(USE_TOD)
|
||||
#if !defined(TIMES) && !defined(TIMEB) && !defined(USE_TOD) && !defined(VXWORKS)
|
||||
#error "It seems neither struct tms nor struct timeb is supported in this platform!"
|
||||
#endif
|
||||
|
||||
@@ -225,7 +225,7 @@ static double Time_F(int s, int usertime)
|
||||
|
||||
#ifdef USE_TOD
|
||||
if(usertime)
|
||||
{
|
||||
{
|
||||
static struct rusage tstart,tend;
|
||||
|
||||
if (s == START)
|
||||
@@ -285,7 +285,23 @@ static double Time_F(int s, int usertime)
|
||||
# if defined(TIMES) && defined(TIMEB)
|
||||
else
|
||||
# endif
|
||||
# ifdef TIMEB
|
||||
# ifdef VXWORKS
|
||||
{
|
||||
static unsigned long tick_start, tick_end;
|
||||
|
||||
if( s == START )
|
||||
{
|
||||
tick_start = tickGet();
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
tick_end = tickGet();
|
||||
ret = (double)(tick_end - tick_start) / (double)sysClkRateGet();
|
||||
return((ret < 0.001)?0.001:ret);
|
||||
}
|
||||
}
|
||||
# elif defined(TIMEB)
|
||||
{
|
||||
static struct timeb tstart,tend;
|
||||
long i;
|
||||
@@ -304,6 +320,7 @@ static double Time_F(int s, int usertime)
|
||||
}
|
||||
}
|
||||
# endif
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -320,7 +337,9 @@ int MAIN(int argc, char **argv)
|
||||
#define DSA_NUM 3
|
||||
long count,rsa_count;
|
||||
int i,j,k;
|
||||
#ifndef NO_RSA
|
||||
unsigned rsa_num;
|
||||
#endif
|
||||
#ifndef NO_MD2
|
||||
unsigned char md2[MD2_DIGEST_LENGTH];
|
||||
#endif
|
||||
|
||||
9
config
9
config
@@ -310,6 +310,13 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
|
||||
exit 0
|
||||
;;
|
||||
|
||||
*"CRAY T3E")
|
||||
echo "t3e-cray-unicosmk"; exit 0;
|
||||
;;
|
||||
|
||||
*CRAY*)
|
||||
echo "j90-cray-unicos"; exit 0;
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
@@ -591,6 +598,8 @@ EOF
|
||||
mips-sony-newsos4) OUT="newsos4-gcc" ;;
|
||||
*-*-cygwin_pre1.3) OUT="Cygwin-pre1.3" ;;
|
||||
*-*-cygwin) OUT="Cygwin" ;;
|
||||
t3e-cray-unicosmk) OUT="cray-t3e" ;;
|
||||
j90-cray-unicos) OUT="cray-j90" ;;
|
||||
*) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ DIR= crypto
|
||||
TOP= ..
|
||||
CC= cc
|
||||
INCLUDE= -I. -I../include
|
||||
INCLUDES= -I.. -I../../include
|
||||
INCLUDES= -I.. -I../.. -I../../include
|
||||
CFLAG= -g
|
||||
INSTALL_PREFIX=
|
||||
OPENSSLDIR= /usr/local/ssl
|
||||
@@ -54,7 +54,7 @@ buildinf.h: ../Makefile.ssl
|
||||
echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
|
||||
echo " #define CFLAGS \"$(CC) $(CFLAG)\""; \
|
||||
echo " #define PLATFORM \"$(PLATFORM)\""; \
|
||||
echo " #define DATE \"`date`\""; \
|
||||
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
|
||||
echo "#endif" ) >buildinf.h
|
||||
|
||||
testapps:
|
||||
|
||||
@@ -936,40 +936,40 @@ t_bitst.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
t_bitst.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
t_bitst.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
t_bitst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
t_bitst.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
t_bitst.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
t_bitst.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
t_bitst.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
t_bitst.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
t_bitst.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
t_bitst.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
t_bitst.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
t_bitst.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
t_bitst.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
t_bitst.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
t_bitst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
t_bitst.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
t_bitst.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
t_bitst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
t_bitst.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
t_bitst.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
t_bitst.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
t_bitst.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
t_bitst.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
t_bitst.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
t_bitst.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
t_bitst.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
t_bitst.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
t_bitst.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
t_bitst.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
t_bitst.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
t_bitst.o: ../cryptlib.h
|
||||
t_crl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
t_crl.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
t_crl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
t_crl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
t_crl.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
t_crl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
t_crl.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
t_crl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
t_crl.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
t_crl.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
t_crl.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
t_crl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
t_crl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
t_crl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
t_crl.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
t_crl.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
t_crl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
t_crl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
t_crl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
t_crl.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
t_crl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
t_crl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
t_crl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
t_crl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
t_crl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
t_crl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
t_crl.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
t_crl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
t_crl.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
t_crl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
t_crl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
t_crl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
t_crl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
t_crl.o: ../cryptlib.h
|
||||
t_pkey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
|
||||
t_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
||||
t_pkey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
@@ -985,20 +985,20 @@ t_req.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
t_req.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
t_req.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
t_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
t_req.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
t_req.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
t_req.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
t_req.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
t_req.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
t_req.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
t_req.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
t_req.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
t_req.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
t_req.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
t_req.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
t_req.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
t_req.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
t_req.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
t_req.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
t_req.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
t_req.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
t_req.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
t_req.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
t_req.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
t_req.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
t_req.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
t_req.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
t_req.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
t_req.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
t_req.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
t_req.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
t_req.o: ../cryptlib.h
|
||||
t_spki.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
t_spki.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
t_spki.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
@@ -1024,20 +1024,20 @@ t_x509.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
t_x509.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
t_x509.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
t_x509.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
t_x509.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
t_x509.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
t_x509.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
t_x509.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
t_x509.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
t_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
t_x509.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
t_x509.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
t_x509.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
t_x509.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
t_x509.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
t_x509.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
t_x509.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
t_x509.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
t_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
t_x509.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
t_x509.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
t_x509.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
t_x509.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
t_x509.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
t_x509.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
t_x509.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
t_x509.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
t_x509.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
t_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
t_x509.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
t_x509.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
t_x509.o: ../cryptlib.h
|
||||
t_x509a.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
t_x509a.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
t_x509a.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
@@ -1310,21 +1310,20 @@ x_x509.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
x_x509.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
x_x509.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
x_x509.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
x_x509.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
x_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
x_x509.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
x_x509.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
x_x509.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
x_x509.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
x_x509.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
x_x509.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
x_x509.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
x_x509.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
x_x509.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
x_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
x_x509.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
x_x509.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
x_x509.o: ../cryptlib.h
|
||||
x_x509.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
x_x509.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
x_x509.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
x_x509.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
x_x509.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
x_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
x_x509.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
x_x509.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
x_x509.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
x_x509.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
x_x509.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
x_x509.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
x_x509.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
x_x509.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
x_x509a.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
x_x509a.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
x_x509a.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
|
||||
@@ -55,6 +55,59 @@
|
||||
* copied and put under another distribution licence
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* 3. All advertising materials mentioning features or use of this
|
||||
* software must display the following acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
||||
*
|
||||
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
||||
* endorse or promote products derived from this software without
|
||||
* prior written permission. For written permission, please contact
|
||||
* openssl-core@openssl.org.
|
||||
*
|
||||
* 5. Products derived from this software may not be called "OpenSSL"
|
||||
* nor may "OpenSSL" appear in their names without prior written
|
||||
* permission of the OpenSSL Project.
|
||||
*
|
||||
* 6. Redistributions of any form whatsoever must retain the following
|
||||
* acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
||||
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
||||
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* ====================================================================
|
||||
*
|
||||
* This product includes cryptographic software written by Eric Young
|
||||
* (eay@cryptsoft.com). This product includes software written by Tim
|
||||
* Hudson (tjh@cryptsoft.com).
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
@@ -87,7 +140,14 @@ int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2,
|
||||
else
|
||||
a=algor2;
|
||||
if (a == NULL) continue;
|
||||
if ( (a->parameter == NULL) ||
|
||||
if (type->pkey_type == NID_dsaWithSHA1)
|
||||
{
|
||||
/* special case: RFC 2459 tells us to omit 'parameters'
|
||||
* with id-dsa-with-sha1 */
|
||||
ASN1_TYPE_free(a->parameter);
|
||||
a->parameter = NULL;
|
||||
}
|
||||
else if ((a->parameter == NULL) ||
|
||||
(a->parameter->type != V_ASN1_NULL))
|
||||
{
|
||||
ASN1_TYPE_free(a->parameter);
|
||||
|
||||
@@ -716,12 +716,13 @@ doapr_outch(
|
||||
if (buffer) {
|
||||
while (*currlen >= *maxlen) {
|
||||
if (*buffer == NULL) {
|
||||
assert(*sbuffer != NULL);
|
||||
if (*maxlen == 0)
|
||||
*maxlen = 1024;
|
||||
*buffer = OPENSSL_malloc(*maxlen);
|
||||
if (*currlen > 0)
|
||||
if (*currlen > 0) {
|
||||
assert(*sbuffer != NULL);
|
||||
memcpy(*buffer, *sbuffer, *currlen);
|
||||
}
|
||||
*sbuffer = NULL;
|
||||
} else {
|
||||
*maxlen += 1024;
|
||||
@@ -761,7 +762,9 @@ int BIO_vprintf (BIO *bio, const char *format, va_list args)
|
||||
{
|
||||
int ret;
|
||||
size_t retlen;
|
||||
MS_STATIC char hugebuf[1024*10];
|
||||
char hugebuf[1024*2]; /* Was previously 10k, which is unreasonable
|
||||
in small-stack environments, like threads
|
||||
or DOS programs. */
|
||||
char *hugebufp = hugebuf;
|
||||
size_t hugebufsize = sizeof(hugebuf);
|
||||
char *dynbuf = NULL;
|
||||
|
||||
@@ -72,9 +72,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef SO_MAXCONN
|
||||
#define MAX_LISTEN SOMAXCONN
|
||||
#elif defined(SO_MAXCONN)
|
||||
#define MAX_LISTEN SO_MAXCONN
|
||||
#elif defined(SOMAXCONN)
|
||||
#define MAX_LISTEN SOMAXCONN
|
||||
#else
|
||||
#define MAX_LISTEN 32
|
||||
#endif
|
||||
|
||||
@@ -200,7 +200,7 @@ static int linebuffer_write(BIO *b, const char *in, int inl)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
BIO_write(b->next_bio, "<*<", 3);
|
||||
#endif
|
||||
i=BIO_write(b->next_bio,
|
||||
@@ -210,13 +210,13 @@ BIO_write(b->next_bio, "<*<", 3);
|
||||
ctx->obuf_len = orig_olen;
|
||||
BIO_copy_next_retry(b);
|
||||
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
BIO_write(b->next_bio, ">*>", 3);
|
||||
#endif
|
||||
if (i < 0) return((num > 0)?num:i);
|
||||
if (i == 0) return(num);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
BIO_write(b->next_bio, ">*>", 3);
|
||||
#endif
|
||||
if (i < ctx->obuf_len)
|
||||
@@ -229,20 +229,20 @@ BIO_write(b->next_bio, ">*>", 3);
|
||||
buffer if a NL was found and there is anything to write. */
|
||||
if ((foundnl || p - in > ctx->obuf_size) && p - in > 0)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
BIO_write(b->next_bio, "<*<", 3);
|
||||
#endif
|
||||
i=BIO_write(b->next_bio,in,p - in);
|
||||
if (i <= 0)
|
||||
{
|
||||
BIO_copy_next_retry(b);
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
BIO_write(b->next_bio, ">*>", 3);
|
||||
#endif
|
||||
if (i < 0) return((num > 0)?num:i);
|
||||
if (i == 0) return(num);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
BIO_write(b->next_bio, ">*>", 3);
|
||||
#endif
|
||||
num+=i;
|
||||
|
||||
@@ -23,7 +23,12 @@
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
#include "openssl/e_os.h"
|
||||
#ifndef SSIZE_MAX
|
||||
|
||||
/* VxWorks defines SSiZE_MAX with an empty value causing compile errors */
|
||||
#if defined(VXWORKS)
|
||||
# undef SSIZE_MAX
|
||||
# define SSIZE_MAX INT_MAX
|
||||
#elif !defined(SSIZE_MAX)
|
||||
# define SSIZE_MAX INT_MAX
|
||||
#endif
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
# include <starlet.h>
|
||||
#elif defined(__ultrix)
|
||||
# include <sys/syslog.h>
|
||||
#elif !defined(MSDOS) /* Unix */
|
||||
#elif !defined(MSDOS) && !defined(VXWORKS) /* Unix */
|
||||
# include <syslog.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -88,22 +88,17 @@ conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
||||
conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
conf_def.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
||||
conf_def.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
|
||||
conf_def.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
|
||||
conf_def.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
||||
conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
||||
conf_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
conf_def.o: conf_def.h
|
||||
conf_def.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
|
||||
conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslv.h
|
||||
conf_def.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
||||
conf_def.o: ../../include/openssl/symhacks.h conf_def.h
|
||||
conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
|
||||
conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
|
||||
conf_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
conf_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
||||
conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
||||
conf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
|
||||
conf_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslv.h
|
||||
conf_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
||||
conf_err.o: ../../include/openssl/symhacks.h
|
||||
conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
|
||||
conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
|
||||
conf_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
conf_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
||||
conf_lib.o: ../../include/openssl/opensslconf.h
|
||||
conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
||||
conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
|
||||
@@ -56,14 +56,13 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
#ifndef HEADER_CONF_H
|
||||
#ifndef HEADER_CONF_H
|
||||
#define HEADER_CONF_H
|
||||
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/lhash.h>
|
||||
#include <openssl/stack.h>
|
||||
#include <openssl/safestack.h>
|
||||
#include <openssl/e_os.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -86,14 +85,14 @@ typedef struct conf_method_st CONF_METHOD;
|
||||
struct conf_method_st
|
||||
{
|
||||
const char *name;
|
||||
CONF *(MS_FAR *create)(CONF_METHOD *meth);
|
||||
int (MS_FAR *init)(CONF *conf);
|
||||
int (MS_FAR *destroy)(CONF *conf);
|
||||
int (MS_FAR *destroy_data)(CONF *conf);
|
||||
int (MS_FAR *load)(CONF *conf, BIO *bp, long *eline);
|
||||
int (MS_FAR *dump)(CONF *conf, BIO *bp);
|
||||
int (MS_FAR *is_number)(CONF *conf, char c);
|
||||
int (MS_FAR *to_int)(CONF *conf, char c);
|
||||
CONF *(*create)(CONF_METHOD *meth);
|
||||
int (*init)(CONF *conf);
|
||||
int (*destroy)(CONF *conf);
|
||||
int (*destroy_data)(CONF *conf);
|
||||
int (*load)(CONF *conf, BIO *bp, long *eline);
|
||||
int (*dump)(CONF *conf, BIO *bp);
|
||||
int (*is_number)(CONF *conf, char c);
|
||||
int (*to_int)(CONF *conf, char c);
|
||||
};
|
||||
|
||||
int CONF_set_default_method(CONF_METHOD *meth);
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
#include <string.h>
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/conf_api.h>
|
||||
#include "openssl/e_os.h"
|
||||
|
||||
static void value_free_hash(CONF_VALUE *a, LHASH *conf);
|
||||
static void value_free_stack(CONF_VALUE *a,LHASH *conf);
|
||||
|
||||
@@ -208,7 +208,7 @@ $ LIB_DSO = "dso_dl,dso_dlfcn,dso_err,dso_lib,dso_null,"+ -
|
||||
"dso_openssl,dso_win32,dso_vms"
|
||||
$ LIB_ENGINE = "engine_err,engine_lib,engine_list,engine_openssl,"+ -
|
||||
"hw_atalla,hw_cswift,hw_ncipher,hw_aep,hw_sureware,"+ -
|
||||
"hw_ubsec"
|
||||
"hw_ubsec,hw_keyclient"
|
||||
$ LIB_BUFFER = "buffer,buf_err"
|
||||
$ LIB_BIO = "bio_lib,bio_cb,bio_err,"+ -
|
||||
"bss_mem,bss_null,bss_fd,"+ -
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32)
|
||||
#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32) && !defined(VXWORKS)
|
||||
#include <openssl/opensslconf.h>
|
||||
#ifdef OPENSSL_UNISTD
|
||||
# include OPENSSL_UNISTD
|
||||
@@ -133,6 +133,12 @@
|
||||
#define SGTTY
|
||||
#endif
|
||||
|
||||
#if defined(VXWORKS)
|
||||
#undef TERMIOS
|
||||
#undef TERMIO
|
||||
#undef SGTTY
|
||||
#endif
|
||||
|
||||
#ifdef TERMIOS
|
||||
#include <termios.h>
|
||||
#define TTY_STRUCT struct termios
|
||||
@@ -240,7 +246,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
|
||||
long status;
|
||||
unsigned short channel = 0;
|
||||
#else
|
||||
#ifndef MSDOS
|
||||
#if !defined(MSDOS) && !defined(VXWORKS)
|
||||
TTY_STRUCT tty_orig,tty_new;
|
||||
#endif
|
||||
#endif
|
||||
@@ -268,7 +274,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
|
||||
#ifdef MSDOS
|
||||
if ((tty=fopen("con","r")) == NULL)
|
||||
tty=stdin;
|
||||
#elif defined(MAC_OS_pre_X)
|
||||
#elif defined(MAC_OS_pre_X) || defined(VXWORKS)
|
||||
tty=stdin;
|
||||
#else
|
||||
#ifndef MPE
|
||||
@@ -366,7 +372,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt,
|
||||
|
||||
error:
|
||||
fprintf(stderr,"\n");
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
perror("fgets(tty)");
|
||||
#endif
|
||||
/* What can we do if there is an error? */
|
||||
|
||||
@@ -204,6 +204,7 @@ void ERR_load_DH_strings(void);
|
||||
#define DH_F_DH_NEW 105
|
||||
|
||||
/* Reason codes. */
|
||||
#define DH_R_BAD_GENERATOR 101
|
||||
#define DH_R_NO_PRIVATE_VALUE 100
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* crypto/dh/dh_err.c */
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
|
||||
* Copyright (c) 1999-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -77,6 +77,7 @@ static ERR_STRING_DATA DH_str_functs[]=
|
||||
|
||||
static ERR_STRING_DATA DH_str_reasons[]=
|
||||
{
|
||||
{DH_R_BAD_GENERATOR ,"bad generator"},
|
||||
{DH_R_NO_PRIVATE_VALUE ,"no private value"},
|
||||
{0,NULL}
|
||||
};
|
||||
|
||||
@@ -82,7 +82,10 @@
|
||||
* Since DH should be using a safe prime (both p and q are prime),
|
||||
* this generator function can take a very very long time to run.
|
||||
*/
|
||||
|
||||
/* Actually there is no reason to insist that 'generator' be a generator.
|
||||
* It's just as OK (and in some sense better) to use a generator of the
|
||||
* order-q subgroup.
|
||||
*/
|
||||
DH *DH_generate_parameters(int prime_len, int generator,
|
||||
void (*callback)(int,int,void *), void *cb_arg)
|
||||
{
|
||||
@@ -100,30 +103,43 @@ DH *DH_generate_parameters(int prime_len, int generator,
|
||||
t2 = BN_CTX_get(ctx);
|
||||
if (t1 == NULL || t2 == NULL) goto err;
|
||||
|
||||
if (generator <= 1)
|
||||
{
|
||||
DHerr(DH_F_DH_GENERATE_PARAMETERS, DH_R_BAD_GENERATOR);
|
||||
goto err;
|
||||
}
|
||||
if (generator == DH_GENERATOR_2)
|
||||
{
|
||||
BN_set_word(t1,24);
|
||||
BN_set_word(t2,11);
|
||||
if (!BN_set_word(t1,24)) goto err;
|
||||
if (!BN_set_word(t2,11)) goto err;
|
||||
g=2;
|
||||
}
|
||||
#ifdef undef /* does not work for safe primes */
|
||||
#if 0 /* does not work for safe primes */
|
||||
else if (generator == DH_GENERATOR_3)
|
||||
{
|
||||
BN_set_word(t1,12);
|
||||
BN_set_word(t2,5);
|
||||
if (!BN_set_word(t1,12)) goto err;
|
||||
if (!BN_set_word(t2,5)) goto err;
|
||||
g=3;
|
||||
}
|
||||
#endif
|
||||
else if (generator == DH_GENERATOR_5)
|
||||
{
|
||||
BN_set_word(t1,10);
|
||||
BN_set_word(t2,3);
|
||||
if (!BN_set_word(t1,10)) goto err;
|
||||
if (!BN_set_word(t2,3)) goto err;
|
||||
/* BN_set_word(t3,7); just have to miss
|
||||
* out on these ones :-( */
|
||||
g=5;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* in the general case, don't worry if 'generator' is a
|
||||
* generator or not: since we are using safe primes,
|
||||
* it will generate either an order-q or an order-2q group,
|
||||
* which both is OK */
|
||||
if (!BN_set_word(t1,2)) goto err;
|
||||
if (!BN_set_word(t2,1)) goto err;
|
||||
g=generator;
|
||||
}
|
||||
|
||||
p=BN_generate_prime(NULL,prime_len,1,t1,t2,callback,cb_arg);
|
||||
if (p == NULL) goto err;
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
#ifdef NO_DH
|
||||
int main(int argc, char *argv[])
|
||||
@@ -112,6 +113,16 @@ int main(int argc, char *argv[])
|
||||
a=DH_generate_parameters(64,DH_GENERATOR_5,cb,out);
|
||||
if (a == NULL) goto err;
|
||||
|
||||
if (!DH_check(a, &i)) goto err;
|
||||
if (i & DH_CHECK_P_NOT_PRIME)
|
||||
BIO_puts(out, "p value is not prime\n");
|
||||
if (i & DH_CHECK_P_NOT_SAFE_PRIME)
|
||||
BIO_puts(out, "p value is not a safe prime\n");
|
||||
if (i & DH_UNABLE_TO_CHECK_GENERATOR)
|
||||
BIO_puts(out, "unable to check the generator value\n");
|
||||
if (i & DH_NOT_SUITABLE_GENERATOR)
|
||||
BIO_puts(out, "the g value is not a generator\n");
|
||||
|
||||
BIO_puts(out,"\np =");
|
||||
BN_print(out,a->p);
|
||||
BIO_puts(out,"\ng =");
|
||||
@@ -170,6 +181,8 @@ int main(int argc, char *argv[])
|
||||
else
|
||||
ret=0;
|
||||
err:
|
||||
ERR_print_errors_fp(stderr);
|
||||
|
||||
if (abuf != NULL) OPENSSL_free(abuf);
|
||||
if (bbuf != NULL) OPENSSL_free(bbuf);
|
||||
if(b != NULL) DH_free(b);
|
||||
|
||||
@@ -56,6 +56,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define _XOPEN_SOURCE_EXTENDED /* to get a proper declaration of strdup() */
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <openssl/engine.h>
|
||||
|
||||
@@ -81,17 +81,18 @@ typedef int pid_t;
|
||||
#include "vendor_defns/aep.h"
|
||||
#endif
|
||||
|
||||
static int aep_init(void);
|
||||
static int aep_finish(void);
|
||||
|
||||
static int aep_init();
|
||||
static int aep_finish();
|
||||
static AEP_RV aep_get_connection(AEP_CONNECTION_HNDL_PTR hConnection);
|
||||
static AEP_RV aep_return_connection(AEP_CONNECTION_HNDL hConnection);
|
||||
static AEP_RV aep_close_connection(AEP_CONNECTION_HNDL hConnection);
|
||||
static AEP_RV aep_close_all_connections(int use_engine_lock, int *in_use);
|
||||
|
||||
/* BIGNUM stuff */
|
||||
static int aep_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
const BIGNUM *m, BN_CTX *ctx);
|
||||
static AEP_RV aep_mod_exp_crt(BIGNUM *r, const BIGNUM *a,
|
||||
static AEP_RV aep_mod_exp_crt(BIGNUM *r, BIGNUM *a,
|
||||
const BIGNUM *p, const BIGNUM *q,
|
||||
const BIGNUM *dmp1, const BIGNUM *dmq1,
|
||||
const BIGNUM *iqmp, BN_CTX *ctx);
|
||||
@@ -239,6 +240,8 @@ static AEP_U8 rand_block[RAND_BLK_SIZE];
|
||||
static AEP_U32 rand_block_bytes = 0;
|
||||
#endif
|
||||
|
||||
static int max_key_len = 2176;
|
||||
|
||||
|
||||
/* As this is only ever called once, there's no need for locking
|
||||
* (indeed - the lock will already be held by our caller!!!) */
|
||||
@@ -331,7 +334,7 @@ static t_AEP_Finalize *p_AEP_Finalize = NULL;
|
||||
static t_AEP_SetBNCallBacks *p_AEP_SetBNCallBacks = NULL;
|
||||
|
||||
/* (de)initialisation functions. */
|
||||
static int aep_init()
|
||||
static int aep_init(void)
|
||||
{
|
||||
t_AEP_ModExp *p1;
|
||||
t_AEP_ModExpCrt *p2;
|
||||
@@ -416,7 +419,7 @@ static int aep_init()
|
||||
|
||||
}
|
||||
|
||||
static int aep_finish()
|
||||
static int aep_finish(void)
|
||||
{
|
||||
int to_return = 0, in_use;
|
||||
AEP_RV rv;
|
||||
@@ -474,15 +477,31 @@ static int aep_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
const BIGNUM *m, BN_CTX *ctx)
|
||||
{
|
||||
int to_return = 0;
|
||||
|
||||
int r_len = 0;
|
||||
AEP_CONNECTION_HNDL hConnection;
|
||||
AEP_RV rv;
|
||||
|
||||
r_len = BN_num_bits(m);
|
||||
|
||||
/* Perform in software if modulus is too large for hardware. */
|
||||
|
||||
if (r_len > max_key_len)
|
||||
{
|
||||
ENGINE *e;
|
||||
e = ENGINE_openssl();
|
||||
to_return = e->bn_mod_exp(r, a, p, m, ctx);
|
||||
goto err;
|
||||
}
|
||||
|
||||
/*Grab a connection from the pool*/
|
||||
rv = aep_get_connection(&hConnection);
|
||||
if (rv != AEP_R_OK)
|
||||
{
|
||||
{
|
||||
ENGINE *e;
|
||||
ENGINEerr(ENGINE_F_AEP_MOD_EXP,ENGINE_R_GET_HANDLE_FAILED);
|
||||
|
||||
e = ENGINE_openssl();
|
||||
to_return = e->bn_mod_exp(r, a, p, m, ctx);
|
||||
goto err;
|
||||
}
|
||||
|
||||
@@ -491,8 +510,15 @@ static int aep_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
|
||||
if (rv != AEP_R_OK)
|
||||
{
|
||||
ENGINE *e;
|
||||
|
||||
aep_close_connection(hConnection);
|
||||
|
||||
ENGINEerr(ENGINE_F_AEP_MOD_EXP,ENGINE_R_MOD_EXP_FAILED);
|
||||
rv = aep_return_connection(hConnection);
|
||||
|
||||
e = ENGINE_openssl();
|
||||
to_return = e->bn_mod_exp(r, a, p, m, ctx);
|
||||
|
||||
goto err;
|
||||
}
|
||||
|
||||
@@ -501,7 +527,7 @@ static int aep_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
if (rv != AEP_R_OK)
|
||||
{
|
||||
ENGINEerr(ENGINE_F_AEP_RAND,ENGINE_R_RETURN_CONNECTION_FAILED);
|
||||
goto err;
|
||||
goto err;
|
||||
}
|
||||
|
||||
to_return = 1;
|
||||
@@ -509,7 +535,7 @@ static int aep_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
return to_return;
|
||||
}
|
||||
|
||||
static AEP_RV aep_mod_exp_crt(BIGNUM *r, const BIGNUM *a,
|
||||
static AEP_RV aep_mod_exp_crt(BIGNUM *r, BIGNUM *a,
|
||||
const BIGNUM *p, const BIGNUM *q ,
|
||||
const BIGNUM *dmp1,const BIGNUM *dmq1,
|
||||
const BIGNUM *iqmp, BN_CTX *ctx)
|
||||
@@ -517,11 +543,30 @@ static AEP_RV aep_mod_exp_crt(BIGNUM *r, const BIGNUM *a,
|
||||
AEP_RV rv = AEP_R_OK;
|
||||
AEP_CONNECTION_HNDL hConnection;
|
||||
|
||||
/* Perform in software if modulus is too large for hardware. */
|
||||
|
||||
if (BN_num_bits(p) > max_key_len || BN_num_bits(q) > max_key_len){
|
||||
ENGINE *e;
|
||||
e = ENGINE_openssl();
|
||||
rv = e->bn_mod_exp_crt(r, a, p, q, dmp1, dmq1, iqmp, ctx);
|
||||
goto err;
|
||||
}
|
||||
|
||||
/*Grab a connection from the pool*/
|
||||
rv = aep_get_connection(&hConnection);
|
||||
if (rv != AEP_R_OK)
|
||||
{
|
||||
ENGINE *e;
|
||||
|
||||
ENGINEerr(ENGINE_F_AEP_MOD_EXP_CRT,ENGINE_R_GET_HANDLE_FAILED);
|
||||
|
||||
e = ENGINE_openssl();
|
||||
|
||||
if (e->bn_mod_exp_crt(r, a, p, q, dmp1, dmq1, iqmp, ctx) > 0)
|
||||
rv = AEP_R_OK;
|
||||
else
|
||||
rv = AEP_R_GENERAL_ERROR;
|
||||
|
||||
goto err;
|
||||
}
|
||||
|
||||
@@ -529,11 +574,22 @@ static AEP_RV aep_mod_exp_crt(BIGNUM *r, const BIGNUM *a,
|
||||
rv = p_AEP_ModExpCrt(hConnection,(void*)a, (void*)p, (void*)q, (void*)dmp1,(void*)dmq1,
|
||||
(void*)iqmp,(void*)r,NULL);
|
||||
if (rv != AEP_R_OK)
|
||||
{
|
||||
{
|
||||
ENGINE *e;
|
||||
|
||||
aep_close_connection(hConnection);
|
||||
|
||||
ENGINEerr(ENGINE_F_AEP_MOD_EXP_CRT,ENGINE_R_MOD_EXP_CRT_FAILED);
|
||||
rv = aep_return_connection(hConnection);
|
||||
|
||||
e = ENGINE_openssl();
|
||||
|
||||
if (e->bn_mod_exp_crt(r, a, p, q, dmp1, dmq1, iqmp, ctx) > 0)
|
||||
rv = AEP_R_OK;
|
||||
else
|
||||
rv = AEP_R_GENERAL_ERROR;
|
||||
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
||||
/*Return the connection to the pool*/
|
||||
rv = aep_return_connection(hConnection);
|
||||
@@ -546,7 +602,6 @@ static AEP_RV aep_mod_exp_crt(BIGNUM *r, const BIGNUM *a,
|
||||
err:
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
#ifdef AEPRAND
|
||||
static int aep_rand(unsigned char *buf,int len )
|
||||
@@ -646,7 +701,7 @@ static int aep_rsa_mod_exp(BIGNUM *r0, BIGNUM *I, RSA *rsa)
|
||||
{
|
||||
rv = aep_mod_exp_crt(r0,I,rsa->p,rsa->q, rsa->dmp1,rsa->dmq1,rsa->iqmp,ctx);
|
||||
if (rv != AEP_R_OK)
|
||||
goto err;
|
||||
goto err;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -837,7 +892,6 @@ static AEP_RV aep_return_connection(AEP_CONNECTION_HNDL hConnection)
|
||||
/*Find the connection item that matches this connection handle*/
|
||||
for(count = 0;count < MAX_PROCESS_CONNECTIONS;count ++)
|
||||
{
|
||||
|
||||
if (aep_app_conn_table[count].conn_hndl == hConnection)
|
||||
{
|
||||
aep_app_conn_table[count].conn_state = Connected;
|
||||
@@ -850,10 +904,36 @@ static AEP_RV aep_return_connection(AEP_CONNECTION_HNDL hConnection)
|
||||
return AEP_R_OK;
|
||||
}
|
||||
|
||||
static AEP_RV aep_close_connection(AEP_CONNECTION_HNDL hConnection)
|
||||
{
|
||||
int count;
|
||||
AEP_RV rv = AEP_R_OK;
|
||||
|
||||
CRYPTO_w_lock(CRYPTO_LOCK_ENGINE);
|
||||
|
||||
/*Find the connection item that matches this connection handle*/
|
||||
for(count = 0;count < MAX_PROCESS_CONNECTIONS;count ++)
|
||||
{
|
||||
if (aep_app_conn_table[count].conn_hndl == hConnection)
|
||||
{
|
||||
rv = p_AEP_CloseConnection(aep_app_conn_table[count].conn_hndl);
|
||||
if (rv != AEP_R_OK)
|
||||
goto end;
|
||||
aep_app_conn_table[count].conn_state = NotConnected;
|
||||
aep_app_conn_table[count].conn_hndl = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
end:
|
||||
CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE);
|
||||
return AEP_R_OK;
|
||||
}
|
||||
|
||||
static AEP_RV aep_close_all_connections(int use_engine_lock, int *in_use)
|
||||
{
|
||||
int count;
|
||||
AEP_RV rv;
|
||||
AEP_RV rv = AEP_R_OK;
|
||||
|
||||
*in_use = 0;
|
||||
if (use_engine_lock) CRYPTO_w_lock(CRYPTO_LOCK_ENGINE);
|
||||
@@ -864,7 +944,7 @@ static AEP_RV aep_close_all_connections(int use_engine_lock, int *in_use)
|
||||
case Connected:
|
||||
rv = p_AEP_CloseConnection(aep_app_conn_table[count].conn_hndl);
|
||||
if (rv != AEP_R_OK)
|
||||
return rv;
|
||||
goto end;
|
||||
aep_app_conn_table[count].conn_state = NotConnected;
|
||||
aep_app_conn_table[count].conn_hndl = 0;
|
||||
break;
|
||||
@@ -875,12 +955,13 @@ static AEP_RV aep_close_all_connections(int use_engine_lock, int *in_use)
|
||||
break;
|
||||
}
|
||||
}
|
||||
end:
|
||||
if (use_engine_lock) CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE);
|
||||
return AEP_R_OK;
|
||||
}
|
||||
|
||||
/*BigNum call back functions, used to convert OpenSSL bignums into AEP bignums.
|
||||
Note only 32bit Openssl build support*/
|
||||
Note only 32bit Openssl build support*/
|
||||
|
||||
static AEP_RV GetBigNumSize(AEP_VOID_PTR ArbBigNum, AEP_U32* BigNumSize)
|
||||
{
|
||||
@@ -892,7 +973,8 @@ static AEP_RV GetBigNumSize(AEP_VOID_PTR ArbBigNum, AEP_U32* BigNumSize)
|
||||
#ifdef SIXTY_FOUR_BIT_LONG
|
||||
*BigNumSize = bn->top << 3;
|
||||
#else
|
||||
/*Size of the bignum in bytes is equal to the bn->top (no of 32 bit words) multiplies by 4*/
|
||||
/*Size of the bignum in bytes is equal to the bn->top (no of 32 bit
|
||||
words) multiplies by 4*/
|
||||
*BigNumSize = bn->top << 2;
|
||||
#endif
|
||||
|
||||
@@ -921,7 +1003,8 @@ static AEP_RV MakeAEPBigNum(AEP_VOID_PTR ArbBigNum, AEP_U32 BigNumSize,
|
||||
{
|
||||
buf = (unsigned char*)&bn->d[i];
|
||||
|
||||
*((AEP_U32*)AEP_BigNum) = (AEP_U32) ((unsigned) buf[1] << 8 | buf[0]) |
|
||||
*((AEP_U32*)AEP_BigNum) = (AEP_U32)
|
||||
((unsigned) buf[1] << 8 | buf[0]) |
|
||||
((unsigned) buf[3] << 8 | buf[2]) << 16;
|
||||
|
||||
AEP_BigNum += 4;
|
||||
@@ -959,7 +1042,8 @@ static AEP_RV ConvertAEPBigNum(void* ArbBigNum, AEP_U32 BigNumSize,
|
||||
|
||||
for(i=0;i<bn->top;i++)
|
||||
{
|
||||
bn->d[i] = (AEP_U32) ((unsigned) AEP_BigNum[3] << 8 | AEP_BigNum[2]) << 16 |
|
||||
bn->d[i] = (AEP_U32)
|
||||
((unsigned) AEP_BigNum[3] << 8 | AEP_BigNum[2]) << 16 |
|
||||
((unsigned) AEP_BigNum[1] << 8 | AEP_BigNum[0]);
|
||||
AEP_BigNum += 4;
|
||||
}
|
||||
|
||||
@@ -1005,13 +1005,13 @@ static int hwcrhk_get_pass(const char *prompt_info,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void hwcrhk_log_message(void *logstream, const char *message)
|
||||
static void hwcrhk_log_message(void *_logstream, const char *message)
|
||||
{
|
||||
BIO *lstream = NULL;
|
||||
|
||||
CRYPTO_w_lock(CRYPTO_LOCK_BIO);
|
||||
if (logstream)
|
||||
lstream=*(BIO **)logstream;
|
||||
if (_logstream)
|
||||
lstream=*(BIO **)_logstream;
|
||||
if (lstream)
|
||||
{
|
||||
BIO_write(lstream, message, strlen(message));
|
||||
|
||||
@@ -92,8 +92,10 @@ static EVP_PKEY *surewarehk_load_pubkey(const char *key_id,
|
||||
const char *passphrase);
|
||||
static void surewarehk_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad,
|
||||
int index,long argl, void *argp);
|
||||
#if 0
|
||||
static void surewarehk_dh_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad,
|
||||
int index,long argl, void *argp);
|
||||
#endif
|
||||
|
||||
/* This function is aliased to mod_exp (with the mont stuff dropped). */
|
||||
static int surewarehk_mod_exp_mont(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
@@ -570,7 +572,9 @@ static EVP_PKEY* sureware_load_public(const char *key_id,char *hptr,unsigned lon
|
||||
if (!rsatmp->e || rsatmp->e->dmax!=(int)(el/sizeof(BN_ULONG))||
|
||||
!rsatmp->n || rsatmp->n->dmax!=(int)(el/sizeof(BN_ULONG)))
|
||||
goto err;
|
||||
ret=p_surewarehk_Load_Rsa_Pubkey(msg,key_id,el,rsatmp->n->d, rsatmp->e->d);
|
||||
ret=p_surewarehk_Load_Rsa_Pubkey(msg,key_id,el,
|
||||
(unsigned long *)rsatmp->n->d,
|
||||
(unsigned long *)rsatmp->e->d);
|
||||
surewarehk_error_handling(msg,ENGINE_F_SUREWAREHK_LOAD_PUBLIC_KEY,ret);
|
||||
if (ret!=1)
|
||||
{
|
||||
@@ -608,10 +612,10 @@ static EVP_PKEY* sureware_load_public(const char *key_id,char *hptr,unsigned lon
|
||||
goto err;
|
||||
|
||||
ret=p_surewarehk_Load_Dsa_Pubkey(msg,key_id,el,
|
||||
dsatmp->pub_key->d,
|
||||
dsatmp->p->d,
|
||||
dsatmp->q->d,
|
||||
dsatmp->g->d);
|
||||
(unsigned long *)dsatmp->pub_key->d,
|
||||
(unsigned long *)dsatmp->p->d,
|
||||
(unsigned long *)dsatmp->q->d,
|
||||
(unsigned long *)dsatmp->g->d);
|
||||
surewarehk_error_handling(msg,ENGINE_F_SUREWAREHK_LOAD_PUBLIC_KEY,ret);
|
||||
if (ret!=1)
|
||||
{
|
||||
@@ -715,6 +719,8 @@ static void surewarehk_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad,
|
||||
else
|
||||
p_surewarehk_Free((char *)item,0);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* This cleans up an DH KM key (destroys the key into hardware),
|
||||
called when ex_data is freed */
|
||||
static void surewarehk_dh_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad,
|
||||
@@ -727,6 +733,8 @@ static void surewarehk_dh_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad,
|
||||
else
|
||||
p_surewarehk_Free((char *)item,1);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* return number of decrypted bytes
|
||||
*/
|
||||
@@ -860,7 +868,10 @@ static DSA_SIG * surewarehk_dsa_do_sign(const unsigned char *from, int flen, DSA
|
||||
if (!psign->r || psign->r->dmax!=20/sizeof(BN_ULONG) ||
|
||||
!psign->s || psign->s->dmax!=20/sizeof(BN_ULONG))
|
||||
goto err;
|
||||
ret=p_surewarehk_Dsa_Sign(msg,flen,from,psign->r->d,psign->s->d,hptr);
|
||||
ret=p_surewarehk_Dsa_Sign(msg,flen,from,
|
||||
(unsigned long *)psign->r->d,
|
||||
(unsigned long *)psign->s->d,
|
||||
hptr);
|
||||
surewarehk_error_handling(msg,ENGINE_F_SUREWAREHK_DSA_DO_SIGN,ret);
|
||||
}
|
||||
psign->r->top=20/sizeof(BN_ULONG);
|
||||
@@ -891,8 +902,14 @@ static int surewarehk_modexp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
if (r && r->dmax==m->top)
|
||||
{
|
||||
/* do it*/
|
||||
ret=p_surewarehk_Mod_Exp(msg,m->top*sizeof(BN_ULONG),m->d,p->top*sizeof(BN_ULONG),
|
||||
p->d,a->top*sizeof(BN_ULONG),a->d,r->d);
|
||||
ret=p_surewarehk_Mod_Exp(msg,
|
||||
m->top*sizeof(BN_ULONG),
|
||||
(unsigned long *)m->d,
|
||||
p->top*sizeof(BN_ULONG),
|
||||
(unsigned long *)p->d,
|
||||
a->top*sizeof(BN_ULONG),
|
||||
(unsigned long *)a->d,
|
||||
(unsigned long *)r->d);
|
||||
surewarehk_error_handling(msg,ENGINE_F_SUREWAREHK_MOD_EXP,ret);
|
||||
if (ret==1)
|
||||
{
|
||||
|
||||
@@ -92,22 +92,21 @@ err_all.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
err_all.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
err_all.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
err_all.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h
|
||||
err_all.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
err_all.o: ../../include/openssl/engine.h ../../include/openssl/err.h
|
||||
err_all.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
err_all.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
err_all.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
err_all.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
err_all.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
err_all.o: ../../include/openssl/opensslv.h ../../include/openssl/pem2.h
|
||||
err_all.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
|
||||
err_all.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
|
||||
err_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
err_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
err_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
err_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
err_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
err_all.o: ../../include/openssl/x509v3.h
|
||||
err_all.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
|
||||
err_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
err_all.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
err_all.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
err_all.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
err_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
err_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h
|
||||
err_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
|
||||
err_all.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
err_all.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
err_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
err_all.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
err_all.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
err_all.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
err_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
||||
err_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
|
||||
err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
|
||||
@@ -277,6 +277,13 @@ int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
|
||||
eof++;
|
||||
}
|
||||
|
||||
if (v == B64_CR)
|
||||
{
|
||||
ln = 0;
|
||||
if (exp_nl)
|
||||
continue;
|
||||
}
|
||||
|
||||
/* eoln */
|
||||
if (v == B64_EOLN)
|
||||
{
|
||||
|
||||
@@ -75,7 +75,6 @@ main()
|
||||
buf[0]='\0';
|
||||
fgets(buf,256,stdin);
|
||||
if (buf[0] == '\0') break;
|
||||
buf[256]='\0';
|
||||
i=strlen(buf);
|
||||
p=OPENSSL_malloc(i+1);
|
||||
memcpy(p,buf,i+1);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# SSLeay/crypto/md/Makefile
|
||||
#
|
||||
|
||||
DIR= md
|
||||
DIR= md2
|
||||
TOP= ../..
|
||||
CC= cc
|
||||
INCLUDES=
|
||||
|
||||
@@ -437,8 +437,7 @@ int OBJ_obj2txt(char *buf, int buf_len, ASN1_OBJECT *a, int no_name)
|
||||
return(0);
|
||||
}
|
||||
|
||||
nid=OBJ_obj2nid(a);
|
||||
if ((nid == NID_undef) || no_name) {
|
||||
if (no_name || (nid=OBJ_obj2nid(a)) == NID_undef) {
|
||||
len=a->length;
|
||||
p=a->data;
|
||||
|
||||
@@ -645,6 +644,8 @@ int OBJ_create(char *oid, char *sn, char *ln)
|
||||
return(0);
|
||||
}
|
||||
i=a2d_ASN1_OBJECT(buf,i,oid,-1);
|
||||
if (i == 0)
|
||||
goto err;
|
||||
op=(ASN1_OBJECT *)ASN1_OBJECT_create(OBJ_new_nid(1),buf,i,sn,ln);
|
||||
if (op == NULL)
|
||||
goto err;
|
||||
|
||||
@@ -63,11 +63,11 @@
|
||||
*/
|
||||
|
||||
#define NUM_NID 404
|
||||
#define NUM_SN 403
|
||||
#define NUM_LN 403
|
||||
#define NUM_OBJ 377
|
||||
#define NUM_SN 402
|
||||
#define NUM_LN 402
|
||||
#define NUM_OBJ 376
|
||||
|
||||
static unsigned char lvalues[2949]={
|
||||
static unsigned char lvalues[2951]={
|
||||
0x00, /* [ 0] OBJ_undef */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */
|
||||
@@ -391,60 +391,59 @@ static unsigned char lvalues[2949]={
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x08,0x01, /* [2583] OBJ_id_on_personalData */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x01, /* [2591] OBJ_id_pda_dateOfBirth */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x02, /* [2599] OBJ_id_pda_placeOfBirth */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x03, /* [2607] OBJ_id_pda_pseudonym */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x04, /* [2615] OBJ_id_pda_gender */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x05, /* [2623] OBJ_id_pda_countryOfCitizenship */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x06, /* [2631] OBJ_id_pda_countryOfResidence */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x01, /* [2639] OBJ_id_aca_authenticationInfo */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x02, /* [2647] OBJ_id_aca_accessIdentity */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x03, /* [2655] OBJ_id_aca_chargingIdentity */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x04, /* [2663] OBJ_id_aca_group */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x05, /* [2671] OBJ_id_aca_role */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0B,0x01, /* [2679] OBJ_id_qcs_pkixQCSyntax_v1 */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0C,0x01, /* [2687] OBJ_id_cct_crs */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0C,0x02, /* [2695] OBJ_id_cct_PKIData */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0C,0x03, /* [2703] OBJ_id_cct_PKIResponse */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x03, /* [2711] OBJ_ad_timeStamping */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x04, /* [2719] OBJ_ad_dvcs */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x01,/* [2727] OBJ_id_pkix_OCSP_basic */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x02,/* [2736] OBJ_id_pkix_OCSP_Nonce */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x03,/* [2745] OBJ_id_pkix_OCSP_CrlID */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x04,/* [2754] OBJ_id_pkix_OCSP_acceptableResponses */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x05,/* [2763] OBJ_id_pkix_OCSP_noCheck */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x06,/* [2772] OBJ_id_pkix_OCSP_archiveCutoff */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x07,/* [2781] OBJ_id_pkix_OCSP_serviceLocator */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x08,/* [2790] OBJ_id_pkix_OCSP_extendedStatus */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x09,/* [2799] OBJ_id_pkix_OCSP_valid */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x0A,/* [2808] OBJ_id_pkix_OCSP_path */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x0B,/* [2817] OBJ_id_pkix_OCSP_trustRoot */
|
||||
0x2B,0x0E,0x03,0x02, /* [2826] OBJ_algorithm */
|
||||
0x2B,0x0E,0x03,0x02,0x0B, /* [2830] OBJ_rsaSignature */
|
||||
0x55,0x08, /* [2835] OBJ_X500algorithms */
|
||||
0x2B, /* [2837] OBJ_org */
|
||||
0x2B,0x06, /* [2838] OBJ_dod */
|
||||
0x2B,0x06,0x01, /* [2840] OBJ_iana */
|
||||
0x2B,0x06,0x01,0x01, /* [2843] OBJ_Directory */
|
||||
0x2B,0x06,0x01,0x02, /* [2847] OBJ_Management */
|
||||
0x2B,0x06,0x01,0x03, /* [2851] OBJ_Experimental */
|
||||
0x2B,0x06,0x01,0x04, /* [2855] OBJ_Private */
|
||||
0x2B,0x06,0x01,0x05, /* [2859] OBJ_Security */
|
||||
0x2B,0x06,0x01,0x06, /* [2863] OBJ_SNMPv2 */
|
||||
0x2B,0x06,0x01,0x07, /* [2867] OBJ_Mail */
|
||||
0x01, /* [2871] OBJ_Enterprises */
|
||||
0xBA,0x82,0x58, /* [2872] OBJ_dcObject */
|
||||
0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x19,/* [2875] OBJ_domainComponent */
|
||||
0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x04,0x0D,/* [2885] OBJ_Domain */
|
||||
0x50, /* [2895] OBJ_joint_iso_ccitt */
|
||||
0x55,0x01,0x05, /* [2896] OBJ_selected_attribute_types */
|
||||
0x55,0x01,0x05,0x37, /* [2899] OBJ_clearance */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x03,/* [2903] OBJ_md4WithRSAEncryption */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x0A, /* [2912] OBJ_ac_proxying */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x0B, /* [2920] OBJ_sinfo_access */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x06, /* [2928] OBJ_id_aca_encAttrs */
|
||||
0x55,0x04,0x48, /* [2936] OBJ_role */
|
||||
0x55,0x1D,0x24, /* [2939] OBJ_policy_constraints */
|
||||
0x55,0x1D,0x37, /* [2942] OBJ_target_information */
|
||||
0x55,0x1D,0x38, /* [2945] OBJ_no_rev_avail */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x03, /* [2607] OBJ_id_pda_gender */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x04, /* [2615] OBJ_id_pda_countryOfCitizenship */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x09,0x05, /* [2623] OBJ_id_pda_countryOfResidence */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x01, /* [2631] OBJ_id_aca_authenticationInfo */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x02, /* [2639] OBJ_id_aca_accessIdentity */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x03, /* [2647] OBJ_id_aca_chargingIdentity */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x04, /* [2655] OBJ_id_aca_group */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x05, /* [2663] OBJ_id_aca_role */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0B,0x01, /* [2671] OBJ_id_qcs_pkixQCSyntax_v1 */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0C,0x01, /* [2679] OBJ_id_cct_crs */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0C,0x02, /* [2687] OBJ_id_cct_PKIData */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0C,0x03, /* [2695] OBJ_id_cct_PKIResponse */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x03, /* [2703] OBJ_ad_timeStamping */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x04, /* [2711] OBJ_ad_dvcs */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x01,/* [2719] OBJ_id_pkix_OCSP_basic */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x02,/* [2728] OBJ_id_pkix_OCSP_Nonce */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x03,/* [2737] OBJ_id_pkix_OCSP_CrlID */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x04,/* [2746] OBJ_id_pkix_OCSP_acceptableResponses */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x05,/* [2755] OBJ_id_pkix_OCSP_noCheck */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x06,/* [2764] OBJ_id_pkix_OCSP_archiveCutoff */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x07,/* [2773] OBJ_id_pkix_OCSP_serviceLocator */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x08,/* [2782] OBJ_id_pkix_OCSP_extendedStatus */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x09,/* [2791] OBJ_id_pkix_OCSP_valid */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x0A,/* [2800] OBJ_id_pkix_OCSP_path */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x0B,/* [2809] OBJ_id_pkix_OCSP_trustRoot */
|
||||
0x2B,0x0E,0x03,0x02, /* [2818] OBJ_algorithm */
|
||||
0x2B,0x0E,0x03,0x02,0x0B, /* [2822] OBJ_rsaSignature */
|
||||
0x55,0x08, /* [2827] OBJ_X500algorithms */
|
||||
0x2B, /* [2829] OBJ_org */
|
||||
0x2B,0x06, /* [2830] OBJ_dod */
|
||||
0x2B,0x06,0x01, /* [2832] OBJ_iana */
|
||||
0x2B,0x06,0x01,0x01, /* [2835] OBJ_Directory */
|
||||
0x2B,0x06,0x01,0x02, /* [2839] OBJ_Management */
|
||||
0x2B,0x06,0x01,0x03, /* [2843] OBJ_Experimental */
|
||||
0x2B,0x06,0x01,0x04, /* [2847] OBJ_Private */
|
||||
0x2B,0x06,0x01,0x05, /* [2851] OBJ_Security */
|
||||
0x2B,0x06,0x01,0x06, /* [2855] OBJ_SNMPv2 */
|
||||
0x2B,0x06,0x01,0x07, /* [2859] OBJ_Mail */
|
||||
0x2B,0x06,0x01,0x04,0x01, /* [2863] OBJ_Enterprises */
|
||||
0x2B,0x06,0x01,0x04,0x01,0x8B,0x3A,0x82,0x58,/* [2868] OBJ_dcObject */
|
||||
0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x19,/* [2877] OBJ_domainComponent */
|
||||
0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x04,0x0D,/* [2887] OBJ_Domain */
|
||||
0x50, /* [2897] OBJ_joint_iso_ccitt */
|
||||
0x55,0x01,0x05, /* [2898] OBJ_selected_attribute_types */
|
||||
0x55,0x01,0x05,0x37, /* [2901] OBJ_clearance */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x03,/* [2905] OBJ_md4WithRSAEncryption */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x0A, /* [2914] OBJ_ac_proxying */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x0B, /* [2922] OBJ_sinfo_access */
|
||||
0x2B,0x06,0x01,0x05,0x05,0x07,0x0A,0x06, /* [2930] OBJ_id_aca_encAttrs */
|
||||
0x55,0x04,0x48, /* [2938] OBJ_role */
|
||||
0x55,0x1D,0x24, /* [2941] OBJ_policy_constraints */
|
||||
0x55,0x1D,0x37, /* [2944] OBJ_target_information */
|
||||
0x55,0x1D,0x38, /* [2947] OBJ_no_rev_avail */
|
||||
};
|
||||
|
||||
static ASN1_OBJECT nid_objs[NUM_NID]={
|
||||
@@ -998,85 +997,84 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
|
||||
&(lvalues[2591]),0},
|
||||
{"id-pda-placeOfBirth","id-pda-placeOfBirth",NID_id_pda_placeOfBirth,
|
||||
8,&(lvalues[2599]),0},
|
||||
{"id-pda-pseudonym","id-pda-pseudonym",NID_id_pda_pseudonym,8,
|
||||
&(lvalues[2607]),0},
|
||||
{"id-pda-gender","id-pda-gender",NID_id_pda_gender,8,&(lvalues[2615]),0},
|
||||
{NULL,NULL,NID_undef,0,NULL},
|
||||
{"id-pda-gender","id-pda-gender",NID_id_pda_gender,8,&(lvalues[2607]),0},
|
||||
{"id-pda-countryOfCitizenship","id-pda-countryOfCitizenship",
|
||||
NID_id_pda_countryOfCitizenship,8,&(lvalues[2623]),0},
|
||||
NID_id_pda_countryOfCitizenship,8,&(lvalues[2615]),0},
|
||||
{"id-pda-countryOfResidence","id-pda-countryOfResidence",
|
||||
NID_id_pda_countryOfResidence,8,&(lvalues[2631]),0},
|
||||
NID_id_pda_countryOfResidence,8,&(lvalues[2623]),0},
|
||||
{"id-aca-authenticationInfo","id-aca-authenticationInfo",
|
||||
NID_id_aca_authenticationInfo,8,&(lvalues[2639]),0},
|
||||
NID_id_aca_authenticationInfo,8,&(lvalues[2631]),0},
|
||||
{"id-aca-accessIdentity","id-aca-accessIdentity",
|
||||
NID_id_aca_accessIdentity,8,&(lvalues[2647]),0},
|
||||
NID_id_aca_accessIdentity,8,&(lvalues[2639]),0},
|
||||
{"id-aca-chargingIdentity","id-aca-chargingIdentity",
|
||||
NID_id_aca_chargingIdentity,8,&(lvalues[2655]),0},
|
||||
{"id-aca-group","id-aca-group",NID_id_aca_group,8,&(lvalues[2663]),0},
|
||||
{"id-aca-role","id-aca-role",NID_id_aca_role,8,&(lvalues[2671]),0},
|
||||
NID_id_aca_chargingIdentity,8,&(lvalues[2647]),0},
|
||||
{"id-aca-group","id-aca-group",NID_id_aca_group,8,&(lvalues[2655]),0},
|
||||
{"id-aca-role","id-aca-role",NID_id_aca_role,8,&(lvalues[2663]),0},
|
||||
{"id-qcs-pkixQCSyntax-v1","id-qcs-pkixQCSyntax-v1",
|
||||
NID_id_qcs_pkixQCSyntax_v1,8,&(lvalues[2679]),0},
|
||||
{"id-cct-crs","id-cct-crs",NID_id_cct_crs,8,&(lvalues[2687]),0},
|
||||
NID_id_qcs_pkixQCSyntax_v1,8,&(lvalues[2671]),0},
|
||||
{"id-cct-crs","id-cct-crs",NID_id_cct_crs,8,&(lvalues[2679]),0},
|
||||
{"id-cct-PKIData","id-cct-PKIData",NID_id_cct_PKIData,8,
|
||||
&(lvalues[2695]),0},
|
||||
&(lvalues[2687]),0},
|
||||
{"id-cct-PKIResponse","id-cct-PKIResponse",NID_id_cct_PKIResponse,8,
|
||||
&(lvalues[2703]),0},
|
||||
&(lvalues[2695]),0},
|
||||
{"ad_timestamping","AD Time Stamping",NID_ad_timeStamping,8,
|
||||
&(lvalues[2711]),0},
|
||||
{"AD_DVCS","ad dvcs",NID_ad_dvcs,8,&(lvalues[2719]),0},
|
||||
&(lvalues[2703]),0},
|
||||
{"AD_DVCS","ad dvcs",NID_ad_dvcs,8,&(lvalues[2711]),0},
|
||||
{"basicOCSPResponse","Basic OCSP Response",NID_id_pkix_OCSP_basic,9,
|
||||
&(lvalues[2727]),0},
|
||||
{"Nonce","OCSP Nonce",NID_id_pkix_OCSP_Nonce,9,&(lvalues[2736]),0},
|
||||
{"CrlID","OCSP CRL ID",NID_id_pkix_OCSP_CrlID,9,&(lvalues[2745]),0},
|
||||
&(lvalues[2719]),0},
|
||||
{"Nonce","OCSP Nonce",NID_id_pkix_OCSP_Nonce,9,&(lvalues[2728]),0},
|
||||
{"CrlID","OCSP CRL ID",NID_id_pkix_OCSP_CrlID,9,&(lvalues[2737]),0},
|
||||
{"acceptableResponses","Acceptable OCSP Responses",
|
||||
NID_id_pkix_OCSP_acceptableResponses,9,&(lvalues[2754]),0},
|
||||
{"noCheck","noCheck",NID_id_pkix_OCSP_noCheck,9,&(lvalues[2763]),0},
|
||||
NID_id_pkix_OCSP_acceptableResponses,9,&(lvalues[2746]),0},
|
||||
{"noCheck","noCheck",NID_id_pkix_OCSP_noCheck,9,&(lvalues[2755]),0},
|
||||
{"archiveCutoff","OCSP Archive Cutoff",NID_id_pkix_OCSP_archiveCutoff,
|
||||
9,&(lvalues[2772]),0},
|
||||
9,&(lvalues[2764]),0},
|
||||
{"serviceLocator","OCSP Service Locator",
|
||||
NID_id_pkix_OCSP_serviceLocator,9,&(lvalues[2781]),0},
|
||||
NID_id_pkix_OCSP_serviceLocator,9,&(lvalues[2773]),0},
|
||||
{"extendedStatus","Extended OCSP Status",
|
||||
NID_id_pkix_OCSP_extendedStatus,9,&(lvalues[2790]),0},
|
||||
{"valid","valid",NID_id_pkix_OCSP_valid,9,&(lvalues[2799]),0},
|
||||
{"path","path",NID_id_pkix_OCSP_path,9,&(lvalues[2808]),0},
|
||||
NID_id_pkix_OCSP_extendedStatus,9,&(lvalues[2782]),0},
|
||||
{"valid","valid",NID_id_pkix_OCSP_valid,9,&(lvalues[2791]),0},
|
||||
{"path","path",NID_id_pkix_OCSP_path,9,&(lvalues[2800]),0},
|
||||
{"trustRoot","Trust Root",NID_id_pkix_OCSP_trustRoot,9,
|
||||
&(lvalues[2817]),0},
|
||||
{"algorithm","algorithm",NID_algorithm,4,&(lvalues[2826]),0},
|
||||
{"rsaSignature","rsaSignature",NID_rsaSignature,5,&(lvalues[2830]),0},
|
||||
&(lvalues[2809]),0},
|
||||
{"algorithm","algorithm",NID_algorithm,4,&(lvalues[2818]),0},
|
||||
{"rsaSignature","rsaSignature",NID_rsaSignature,5,&(lvalues[2822]),0},
|
||||
{"X500algorithms","directory services - algorithms",
|
||||
NID_X500algorithms,2,&(lvalues[2835]),0},
|
||||
{"ORG","org",NID_org,1,&(lvalues[2837]),0},
|
||||
{"DOD","dod",NID_dod,2,&(lvalues[2838]),0},
|
||||
{"IANA","iana",NID_iana,3,&(lvalues[2840]),0},
|
||||
{"directory","Directory",NID_Directory,4,&(lvalues[2843]),0},
|
||||
{"mgmt","Management",NID_Management,4,&(lvalues[2847]),0},
|
||||
{"experimental","Experimental",NID_Experimental,4,&(lvalues[2851]),0},
|
||||
{"private","Private",NID_Private,4,&(lvalues[2855]),0},
|
||||
{"security","Security",NID_Security,4,&(lvalues[2859]),0},
|
||||
{"snmpv2","SNMPv2",NID_SNMPv2,4,&(lvalues[2863]),0},
|
||||
{"mail","Mail",NID_Mail,4,&(lvalues[2867]),0},
|
||||
{"enterprises","Enterprises",NID_Enterprises,1,&(lvalues[2871]),0},
|
||||
{"dcobject","dcObject",NID_dcObject,3,&(lvalues[2872]),0},
|
||||
{"DC","domainComponent",NID_domainComponent,10,&(lvalues[2875]),0},
|
||||
{"domain","Domain",NID_Domain,10,&(lvalues[2885]),0},
|
||||
NID_X500algorithms,2,&(lvalues[2827]),0},
|
||||
{"ORG","org",NID_org,1,&(lvalues[2829]),0},
|
||||
{"DOD","dod",NID_dod,2,&(lvalues[2830]),0},
|
||||
{"IANA","iana",NID_iana,3,&(lvalues[2832]),0},
|
||||
{"directory","Directory",NID_Directory,4,&(lvalues[2835]),0},
|
||||
{"mgmt","Management",NID_Management,4,&(lvalues[2839]),0},
|
||||
{"experimental","Experimental",NID_Experimental,4,&(lvalues[2843]),0},
|
||||
{"private","Private",NID_Private,4,&(lvalues[2847]),0},
|
||||
{"security","Security",NID_Security,4,&(lvalues[2851]),0},
|
||||
{"snmpv2","SNMPv2",NID_SNMPv2,4,&(lvalues[2855]),0},
|
||||
{"mail","Mail",NID_Mail,4,&(lvalues[2859]),0},
|
||||
{"enterprises","Enterprises",NID_Enterprises,5,&(lvalues[2863]),0},
|
||||
{"dcobject","dcObject",NID_dcObject,9,&(lvalues[2868]),0},
|
||||
{"DC","domainComponent",NID_domainComponent,10,&(lvalues[2877]),0},
|
||||
{"domain","Domain",NID_Domain,10,&(lvalues[2887]),0},
|
||||
{"JOINT-ISO-CCITT","joint-iso-ccitt",NID_joint_iso_ccitt,1,
|
||||
&(lvalues[2895]),0},
|
||||
&(lvalues[2897]),0},
|
||||
{"selected-attribute-types","Selected Attribute Types",
|
||||
NID_selected_attribute_types,3,&(lvalues[2896]),0},
|
||||
{"clearance","clearance",NID_clearance,4,&(lvalues[2899]),0},
|
||||
NID_selected_attribute_types,3,&(lvalues[2898]),0},
|
||||
{"clearance","clearance",NID_clearance,4,&(lvalues[2901]),0},
|
||||
{"RSA-MD4","md4WithRSAEncryption",NID_md4WithRSAEncryption,9,
|
||||
&(lvalues[2903]),0},
|
||||
{"ac-proxying","ac-proxying",NID_ac_proxying,8,&(lvalues[2912]),0},
|
||||
&(lvalues[2905]),0},
|
||||
{"ac-proxying","ac-proxying",NID_ac_proxying,8,&(lvalues[2914]),0},
|
||||
{"subjectInfoAccess","Subject Information Access",NID_sinfo_access,8,
|
||||
&(lvalues[2920]),0},
|
||||
&(lvalues[2922]),0},
|
||||
{"id-aca-encAttrs","id-aca-encAttrs",NID_id_aca_encAttrs,8,
|
||||
&(lvalues[2928]),0},
|
||||
{"role","role",NID_role,3,&(lvalues[2936]),0},
|
||||
&(lvalues[2930]),0},
|
||||
{"role","role",NID_role,3,&(lvalues[2938]),0},
|
||||
{"policyConstraints","X509v3 Policy Constraints",
|
||||
NID_policy_constraints,3,&(lvalues[2939]),0},
|
||||
NID_policy_constraints,3,&(lvalues[2941]),0},
|
||||
{"targetInformation","X509v3 AC Targeting",NID_target_information,3,
|
||||
&(lvalues[2942]),0},
|
||||
&(lvalues[2944]),0},
|
||||
{"noRevAvail","X509v3 No Revocation Available",NID_no_rev_avail,3,
|
||||
&(lvalues[2945]),0},
|
||||
&(lvalues[2947]),0},
|
||||
};
|
||||
|
||||
static ASN1_OBJECT *sn_objs[NUM_SN]={
|
||||
@@ -1311,7 +1309,6 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
||||
&(nid_objs[348]),/* "id-pda-dateOfBirth" */
|
||||
&(nid_objs[351]),/* "id-pda-gender" */
|
||||
&(nid_objs[349]),/* "id-pda-placeOfBirth" */
|
||||
&(nid_objs[350]),/* "id-pda-pseudonym" */
|
||||
&(nid_objs[175]),/* "id-pe" */
|
||||
&(nid_objs[261]),/* "id-pkip" */
|
||||
&(nid_objs[258]),/* "id-pkix-mod" */
|
||||
@@ -1703,7 +1700,6 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
||||
&(nid_objs[348]),/* "id-pda-dateOfBirth" */
|
||||
&(nid_objs[351]),/* "id-pda-gender" */
|
||||
&(nid_objs[349]),/* "id-pda-placeOfBirth" */
|
||||
&(nid_objs[350]),/* "id-pda-pseudonym" */
|
||||
&(nid_objs[175]),/* "id-pe" */
|
||||
&(nid_objs[261]),/* "id-pkip" */
|
||||
&(nid_objs[258]),/* "id-pkix-mod" */
|
||||
@@ -1893,7 +1889,6 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
||||
|
||||
static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
||||
&(nid_objs[ 0]),/* OBJ_undef 0 */
|
||||
&(nid_objs[389]),/* OBJ_Enterprises 1 */
|
||||
&(nid_objs[181]),/* OBJ_iso 1 */
|
||||
&(nid_objs[182]),/* OBJ_member_body 1 2 */
|
||||
&(nid_objs[379]),/* OBJ_org 1 3 */
|
||||
@@ -1939,7 +1934,6 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
||||
&(nid_objs[126]),/* OBJ_ext_key_usage 2 5 29 37 */
|
||||
&(nid_objs[402]),/* OBJ_target_information 2 5 29 55 */
|
||||
&(nid_objs[403]),/* OBJ_no_rev_avail 2 5 29 56 */
|
||||
&(nid_objs[390]),/* OBJ_dcObject 1466 344 */
|
||||
&(nid_objs[382]),/* OBJ_Directory 1 3 6 1 1 */
|
||||
&(nid_objs[383]),/* OBJ_Management 1 3 6 1 2 */
|
||||
&(nid_objs[384]),/* OBJ_Experimental 1 3 6 1 3 */
|
||||
@@ -1953,6 +1947,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
||||
&(nid_objs[96]),/* OBJ_mdc2WithRSA 2 5 8 3 100 */
|
||||
&(nid_objs[95]),/* OBJ_mdc2 2 5 8 3 101 */
|
||||
&(nid_objs[184]),/* OBJ_X9_57 1 2 840 10040 */
|
||||
&(nid_objs[389]),/* OBJ_Enterprises 1 3 6 1 4 1 */
|
||||
&(nid_objs[104]),/* OBJ_md5WithRSA 1 3 14 3 2 3 */
|
||||
&(nid_objs[29]),/* OBJ_des_ecb 1 3 14 3 2 6 */
|
||||
&(nid_objs[31]),/* OBJ_des_cbc 1 3 14 3 2 7 */
|
||||
@@ -2090,10 +2085,9 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
||||
&(nid_objs[347]),/* OBJ_id_on_personalData 1 3 6 1 5 5 7 8 1 */
|
||||
&(nid_objs[348]),/* OBJ_id_pda_dateOfBirth 1 3 6 1 5 5 7 9 1 */
|
||||
&(nid_objs[349]),/* OBJ_id_pda_placeOfBirth 1 3 6 1 5 5 7 9 2 */
|
||||
&(nid_objs[350]),/* OBJ_id_pda_pseudonym 1 3 6 1 5 5 7 9 3 */
|
||||
&(nid_objs[351]),/* OBJ_id_pda_gender 1 3 6 1 5 5 7 9 4 */
|
||||
&(nid_objs[352]),/* OBJ_id_pda_countryOfCitizenship 1 3 6 1 5 5 7 9 5 */
|
||||
&(nid_objs[353]),/* OBJ_id_pda_countryOfResidence 1 3 6 1 5 5 7 9 6 */
|
||||
&(nid_objs[351]),/* OBJ_id_pda_gender 1 3 6 1 5 5 7 9 3 */
|
||||
&(nid_objs[352]),/* OBJ_id_pda_countryOfCitizenship 1 3 6 1 5 5 7 9 4 */
|
||||
&(nid_objs[353]),/* OBJ_id_pda_countryOfResidence 1 3 6 1 5 5 7 9 5 */
|
||||
&(nid_objs[354]),/* OBJ_id_aca_authenticationInfo 1 3 6 1 5 5 7 10 1 */
|
||||
&(nid_objs[355]),/* OBJ_id_aca_accessIdentity 1 3 6 1 5 5 7 10 2 */
|
||||
&(nid_objs[356]),/* OBJ_id_aca_chargingIdentity 1 3 6 1 5 5 7 10 3 */
|
||||
@@ -2147,6 +2141,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
||||
&(nid_objs[188]),/* OBJ_SMIME 1 2 840 113549 1 9 16 */
|
||||
&(nid_objs[156]),/* OBJ_friendlyName 1 2 840 113549 1 9 20 */
|
||||
&(nid_objs[157]),/* OBJ_localKeyID 1 2 840 113549 1 9 21 */
|
||||
&(nid_objs[390]),/* OBJ_dcObject 1 3 6 1 4 1 1466 344 */
|
||||
&(nid_objs[91]),/* OBJ_bf_cbc 1 3 6 1 4 1 3029 1 2 */
|
||||
&(nid_objs[315]),/* OBJ_id_regCtrl_regToken 1 3 6 1 5 5 7 5 1 1 */
|
||||
&(nid_objs[316]),/* OBJ_id_regCtrl_authenticator 1 3 6 1 5 5 7 5 1 2 */
|
||||
|
||||
@@ -1257,21 +1257,17 @@
|
||||
#define NID_id_pda_placeOfBirth 349
|
||||
#define OBJ_id_pda_placeOfBirth OBJ_id_pda,2L
|
||||
|
||||
#define SN_id_pda_pseudonym "id-pda-pseudonym"
|
||||
#define NID_id_pda_pseudonym 350
|
||||
#define OBJ_id_pda_pseudonym OBJ_id_pda,3L
|
||||
|
||||
#define SN_id_pda_gender "id-pda-gender"
|
||||
#define NID_id_pda_gender 351
|
||||
#define OBJ_id_pda_gender OBJ_id_pda,4L
|
||||
#define OBJ_id_pda_gender OBJ_id_pda,3L
|
||||
|
||||
#define SN_id_pda_countryOfCitizenship "id-pda-countryOfCitizenship"
|
||||
#define NID_id_pda_countryOfCitizenship 352
|
||||
#define OBJ_id_pda_countryOfCitizenship OBJ_id_pda,5L
|
||||
#define OBJ_id_pda_countryOfCitizenship OBJ_id_pda,4L
|
||||
|
||||
#define SN_id_pda_countryOfResidence "id-pda-countryOfResidence"
|
||||
#define NID_id_pda_countryOfResidence 353
|
||||
#define OBJ_id_pda_countryOfResidence OBJ_id_pda,6L
|
||||
#define OBJ_id_pda_countryOfResidence OBJ_id_pda,5L
|
||||
|
||||
#define SN_id_aca_authenticationInfo "id-aca-authenticationInfo"
|
||||
#define NID_id_aca_authenticationInfo 354
|
||||
@@ -1821,12 +1817,12 @@
|
||||
#define SN_Enterprises "enterprises"
|
||||
#define LN_Enterprises "Enterprises"
|
||||
#define NID_Enterprises 389
|
||||
#define OBJ_Enterprises OBJ_private,1L
|
||||
#define OBJ_Enterprises OBJ_Private,1L
|
||||
|
||||
#define SN_dcObject "dcobject"
|
||||
#define LN_dcObject "dcObject"
|
||||
#define NID_dcObject 390
|
||||
#define OBJ_dcObject OBJ_enterprises,1466L,344L
|
||||
#define OBJ_dcObject OBJ_Enterprises,1466L,344L
|
||||
|
||||
#define SN_domainComponent "DC"
|
||||
#define LN_domainComponent "domainComponent"
|
||||
|
||||
@@ -208,6 +208,8 @@ sub process_oid
|
||||
if (!($a[0] =~ /^[0-9]+$/))
|
||||
{
|
||||
$a[0] =~ s/-/_/g;
|
||||
if (!defined($obj{$a[0]}))
|
||||
{ die "$ARGV[0]:$o:Undefined identifier ",$a[0],"\n"; }
|
||||
$pref_oid = "OBJ_" . $a[0];
|
||||
$pref_sep = ",";
|
||||
shift @a;
|
||||
|
||||
@@ -593,10 +593,10 @@ internet 5 : security : Security
|
||||
internet 6 : snmpv2 : SNMPv2
|
||||
internet 7 : mail : Mail
|
||||
|
||||
private 1 : enterprises : Enterprises
|
||||
Private 1 : enterprises : Enterprises
|
||||
|
||||
# RFC 2247
|
||||
enterprises 1466 344 : dcobject : dcObject
|
||||
Enterprises 1466 344 : dcobject : dcObject
|
||||
|
||||
# Stray OIDs we don't know the full name of each step for
|
||||
# RFC 2247
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
||||
* major minor fix final patch/beta)
|
||||
*/
|
||||
#define OPENSSL_VERSION_NUMBER 0x00906040L
|
||||
#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.6d-dev [engine] XX xxx XXXX"
|
||||
#define OPENSSL_VERSION_NUMBER 0x0090604fL
|
||||
#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.6d [engine] 9 May 2002"
|
||||
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
|
||||
|
||||
|
||||
|
||||
@@ -326,7 +326,7 @@ int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc,
|
||||
/* create the right magic header stuff */
|
||||
buf[0]='\0';
|
||||
PEM_proc_type(buf,PEM_TYPE_ENCRYPTED);
|
||||
PEM_dek_info(buf,objstr,8,(char *)iv);
|
||||
PEM_dek_info(buf,objstr,enc->iv_len,(char *)iv);
|
||||
|
||||
/* use the normal code to write things out */
|
||||
i=PEM_write_bio(bp,PEM_STRING_RSA,buf,data,i);
|
||||
@@ -346,7 +346,7 @@ int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc,
|
||||
}
|
||||
|
||||
/* if we have a certificate then write it out now */
|
||||
if ((xi->x509 != NULL) || (PEM_write_bio_X509(bp,xi->x509) <= 0))
|
||||
if ((xi->x509 != NULL) && (PEM_write_bio_X509(bp,xi->x509) <= 0))
|
||||
goto err;
|
||||
|
||||
/* we are ignoring anything else that is loaded into the X509_INFO
|
||||
|
||||
@@ -373,7 +373,7 @@ int PEM_ASN1_write_bio(int (*i2d)(), const char *name, BIO *bp, char *x,
|
||||
kstr=(unsigned char *)buf;
|
||||
}
|
||||
RAND_add(data,i,0);/* put in the RSA key. */
|
||||
if (RAND_pseudo_bytes(iv,8) < 0) /* Generate a salt */
|
||||
if (RAND_pseudo_bytes(iv,enc->iv_len) < 0) /* Generate a salt */
|
||||
goto err;
|
||||
/* The 'iv' is used as the iv and as a salt. It is
|
||||
* NOT taken from the BytesToKey function */
|
||||
@@ -383,7 +383,7 @@ int PEM_ASN1_write_bio(int (*i2d)(), const char *name, BIO *bp, char *x,
|
||||
|
||||
buf[0]='\0';
|
||||
PEM_proc_type(buf,PEM_TYPE_ENCRYPTED);
|
||||
PEM_dek_info(buf,objstr,8,(char *)iv);
|
||||
PEM_dek_info(buf,objstr,enc->iv_len,(char *)iv);
|
||||
/* k=strlen(buf); */
|
||||
|
||||
EVP_EncryptInit(&ctx,enc,key,iv);
|
||||
@@ -506,7 +506,7 @@ int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher)
|
||||
PEMerr(PEM_F_PEM_GET_EVP_CIPHER_INFO,PEM_R_UNSUPPORTED_ENCRYPTION);
|
||||
return(0);
|
||||
}
|
||||
if (!load_iv((unsigned char **)&header,&(cipher->iv[0]),8)) return(0);
|
||||
if (!load_iv((unsigned char **)&header,&(cipher->iv[0]),enc->iv_len)) return(0);
|
||||
|
||||
return(1);
|
||||
}
|
||||
|
||||
@@ -123,13 +123,12 @@ pk7_doit.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
pk7_doit.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
pk7_doit.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
pk7_doit.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
pk7_doit.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
pk7_doit.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
pk7_doit.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
pk7_doit.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
pk7_doit.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
pk7_doit.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
pk7_doit.o: ../../include/openssl/opensslconf.h
|
||||
pk7_doit.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
pk7_doit.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
pk7_doit.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
pk7_doit.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
pk7_doit.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
pk7_doit.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
pk7_doit.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
pk7_doit.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
|
||||
pk7_doit.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
@@ -183,12 +182,12 @@ pk7_smime.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
pk7_smime.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
pk7_smime.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
pk7_smime.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
pk7_smime.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
pk7_smime.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
pk7_smime.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
pk7_smime.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
pk7_smime.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
pk7_smime.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
pk7_smime.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
pk7_smime.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
pk7_smime.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
pk7_smime.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
pk7_smime.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
pk7_smime.o: ../../include/openssl/objects.h
|
||||
pk7_smime.o: ../../include/openssl/opensslconf.h
|
||||
pk7_smime.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
pk7_smime.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
|
||||
@@ -75,7 +75,11 @@ int RAND_egd_bytes(const char *path,int bytes)
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef NO_SYS_UN_H
|
||||
#include <sys/un.h>
|
||||
# ifdef VXWORKS
|
||||
# include <streams/un.h>
|
||||
# else
|
||||
# include <sys/un.h>
|
||||
# endif
|
||||
#else
|
||||
struct sockaddr_un {
|
||||
short sun_family; /* AF_UNIX */
|
||||
|
||||
@@ -311,7 +311,7 @@ int RAND_poll(void)
|
||||
if (gen(hProvider, sizeof(buf), buf) != 0)
|
||||
{
|
||||
RAND_add(buf, sizeof(buf), sizeof(buf));
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
printf("randomness from PROV_RSA_FULL\n");
|
||||
#endif
|
||||
}
|
||||
@@ -324,7 +324,7 @@ int RAND_poll(void)
|
||||
if (gen(hProvider, sizeof(buf), buf) != 0)
|
||||
{
|
||||
RAND_add(buf, sizeof(buf), sizeof(buf));
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
printf("randomness from PROV_INTEL_SEC\n");
|
||||
#endif
|
||||
}
|
||||
@@ -510,7 +510,7 @@ int RAND_poll(void)
|
||||
FreeLibrary(kernel);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
printf("Exiting RAND_poll\n");
|
||||
#endif
|
||||
|
||||
|
||||
@@ -101,9 +101,14 @@ typedef struct rsa_meth_st
|
||||
* compatibility this functionality is only enabled if the RSA_FLAG_SIGN_VER
|
||||
* option is set in 'flags'.
|
||||
*/
|
||||
int (*rsa_sign)(int type, unsigned char *m, unsigned int m_len,
|
||||
|
||||
/* changed m_len to m_length to avoid a conflict with a #define in
|
||||
vxworks for m_len for the mbuf code. This only shows up in apps
|
||||
that have USE_SOCKETS defined */
|
||||
|
||||
int (*rsa_sign)(int type, unsigned char *m, unsigned int m_length,
|
||||
unsigned char *sigret, unsigned int *siglen, RSA *rsa);
|
||||
int (*rsa_verify)(int dtype, unsigned char *m, unsigned int m_len,
|
||||
int (*rsa_verify)(int dtype, unsigned char *m, unsigned int m_length,
|
||||
unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
|
||||
|
||||
} RSA_METHOD;
|
||||
@@ -238,16 +243,16 @@ RSA *d2i_Netscape_RSA_2(RSA **a, unsigned char **pp, long length, int (*cb)());
|
||||
|
||||
/* The following 2 functions sign and verify a X509_SIG ASN1 object
|
||||
* inside PKCS#1 padded RSA encryption */
|
||||
int RSA_sign(int type, unsigned char *m, unsigned int m_len,
|
||||
int RSA_sign(int type, unsigned char *m, unsigned int m_length,
|
||||
unsigned char *sigret, unsigned int *siglen, RSA *rsa);
|
||||
int RSA_verify(int type, unsigned char *m, unsigned int m_len,
|
||||
int RSA_verify(int type, unsigned char *m, unsigned int m_length,
|
||||
unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
|
||||
|
||||
/* The following 2 function sign and verify a ASN1_OCTET_STRING
|
||||
* object inside PKCS#1 padded RSA encryption */
|
||||
int RSA_sign_ASN1_OCTET_STRING(int type, unsigned char *m, unsigned int m_len,
|
||||
int RSA_sign_ASN1_OCTET_STRING(int type, unsigned char *m, unsigned int m_length,
|
||||
unsigned char *sigret, unsigned int *siglen, RSA *rsa);
|
||||
int RSA_verify_ASN1_OCTET_STRING(int type, unsigned char *m, unsigned int m_len,
|
||||
int RSA_verify_ASN1_OCTET_STRING(int type, unsigned char *m, unsigned int m_length,
|
||||
unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
|
||||
|
||||
int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
|
||||
|
||||
@@ -67,9 +67,11 @@
|
||||
|
||||
#ifndef MSDOS
|
||||
# ifndef WIN32
|
||||
# ifndef VXWORKS
|
||||
# if !defined(VMS) || defined(__DECC)
|
||||
# define TIMES
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -95,7 +97,7 @@
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#ifndef TIMES
|
||||
#if !defined(TIMES) && !defined(VXWORKS)
|
||||
#include <sys/timeb.h>
|
||||
#endif
|
||||
|
||||
@@ -125,7 +127,11 @@ typedef struct ms_tm
|
||||
HANDLE thread_id;
|
||||
FILETIME ms_win32;
|
||||
# else
|
||||
# ifdef VXWORKS
|
||||
unsigned long ticks;
|
||||
# else
|
||||
struct timeb ms_timeb;
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
} MS_TM;
|
||||
@@ -163,7 +169,11 @@ void ms_time_get(char *a)
|
||||
# ifdef WIN32
|
||||
GetThreadTimes(tm->thread_id,&tmpa,&tmpb,&tmpc,&(tm->ms_win32));
|
||||
# else
|
||||
# ifdef VXWORKS
|
||||
tm->ticks = tickGet();
|
||||
# else
|
||||
ftime(&tm->ms_timeb);
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
@@ -193,10 +203,14 @@ double ms_time_diff(char *ap, char *bp)
|
||||
ret=((double)(lb-la))/1e7;
|
||||
}
|
||||
# else
|
||||
# ifdef VXWORKS
|
||||
ret = (double)(b->ticks - a->ticks) / (double)sysClkRateGet();
|
||||
# else
|
||||
ret= (double)(b->ms_timeb.time-a->ms_timeb.time)+
|
||||
(((double)b->ms_timeb.millitm)-
|
||||
((double)a->ms_timeb.millitm))/1000.0;
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
return((ret < 0.0000001)?0.0000001:ret);
|
||||
}
|
||||
@@ -214,9 +228,13 @@ int ms_time_cmp(char *ap, char *bp)
|
||||
d =(b->ms_win32.dwHighDateTime&0x000fffff)*10+b->ms_win32.dwLowDateTime/1e7;
|
||||
d-=(a->ms_win32.dwHighDateTime&0x000fffff)*10+a->ms_win32.dwLowDateTime/1e7;
|
||||
# else
|
||||
# ifdef VXWORKS
|
||||
d = (b->ticks - a->ticks);
|
||||
# else
|
||||
d= (double)(b->ms_timeb.time-a->ms_timeb.time)+
|
||||
(((double)b->ms_timeb.millitm)-(double)a->ms_timeb.millitm)/1000.0;
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
if (d == 0.0)
|
||||
ret=0;
|
||||
|
||||
@@ -134,13 +134,12 @@ x509_att.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
x509_att.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
x509_att.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
x509_att.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
x509_att.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
x509_att.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
x509_att.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
x509_att.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
x509_att.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
x509_att.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
x509_att.o: ../../include/openssl/opensslconf.h
|
||||
x509_att.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
x509_att.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
x509_att.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
x509_att.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
x509_att.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
x509_att.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
x509_att.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
x509_att.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
x509_att.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -155,13 +154,12 @@ x509_cmp.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
x509_cmp.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
x509_cmp.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
x509_cmp.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
x509_cmp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
x509_cmp.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
x509_cmp.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
x509_cmp.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
x509_cmp.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
x509_cmp.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
x509_cmp.o: ../../include/openssl/opensslconf.h
|
||||
x509_cmp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
x509_cmp.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
x509_cmp.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
x509_cmp.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
x509_cmp.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
x509_cmp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
x509_cmp.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
x509_cmp.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
x509_cmp.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -232,13 +230,12 @@ x509_ext.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
x509_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
x509_ext.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
x509_ext.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
x509_ext.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
x509_ext.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
x509_ext.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
x509_ext.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
x509_ext.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
x509_ext.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
x509_ext.o: ../../include/openssl/opensslconf.h
|
||||
x509_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
x509_ext.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
x509_ext.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
x509_ext.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
x509_ext.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
x509_ext.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
x509_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
x509_ext.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
x509_ext.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -349,13 +346,12 @@ x509_trs.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
x509_trs.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
x509_trs.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
x509_trs.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
x509_trs.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
x509_trs.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
x509_trs.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
x509_trs.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
x509_trs.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
x509_trs.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
x509_trs.o: ../../include/openssl/opensslconf.h
|
||||
x509_trs.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
x509_trs.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
x509_trs.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
x509_trs.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
x509_trs.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
x509_trs.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
x509_trs.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
x509_trs.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
x509_trs.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -389,33 +385,32 @@ x509_v3.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
x509_v3.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
x509_v3.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
x509_v3.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
x509_v3.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
x509_v3.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
x509_v3.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
x509_v3.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
x509_v3.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
x509_v3.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
x509_v3.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
x509_v3.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
x509_v3.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
x509_v3.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
x509_v3.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
x509_v3.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
x509_v3.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
x509_v3.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
x509_v3.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
x509_v3.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
x509_v3.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
x509_v3.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
x509_v3.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
x509_v3.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
x509_v3.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
x509_v3.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
x509_v3.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
x509_v3.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
x509_v3.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
x509_v3.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
x509_v3.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
x509_v3.o: ../cryptlib.h
|
||||
x509_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
x509_vfy.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
x509_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
x509_vfy.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
x509_vfy.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
x509_vfy.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
x509_vfy.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
x509_vfy.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
x509_vfy.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
x509_vfy.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
x509_vfy.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
x509_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
x509_vfy.o: ../../include/openssl/opensslconf.h
|
||||
x509_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
x509_vfy.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
x509_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
x509_vfy.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
x509_vfy.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
x509_vfy.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
x509_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
x509_vfy.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
x509_vfy.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
|
||||
@@ -89,54 +89,53 @@ v3_akey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_akey.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_akey.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_akey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_akey.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_akey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_akey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_akey.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_akey.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_akey.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_akey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_akey.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_akey.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_akey.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_akey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_akey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_akey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_akey.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_akey.o: ../cryptlib.h
|
||||
v3_akey.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_akey.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_akey.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_akey.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_akey.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_akey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_akey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_akey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_akey.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_akey.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_akey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_akey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_akey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_akey.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_alt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_alt.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_alt.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_alt.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_alt.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_alt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_alt.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_alt.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_alt.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_alt.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_alt.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_alt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_alt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_alt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_alt.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_alt.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_alt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_alt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_alt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_alt.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_alt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_alt.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_alt.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_alt.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_alt.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_alt.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_alt.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_alt.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_alt.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_alt.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_alt.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_alt.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_alt.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_alt.o: ../cryptlib.h
|
||||
v3_bcons.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
v3_bcons.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
v3_bcons.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_bcons.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_bcons.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_bcons.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_bcons.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_bcons.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_bcons.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_bcons.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_bcons.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_bcons.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_bcons.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_bcons.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_bcons.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_bcons.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_bcons.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_bcons.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_bcons.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_bcons.o: ../../include/openssl/opensslconf.h
|
||||
v3_bcons.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_bcons.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_bcons.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -151,13 +150,12 @@ v3_bitst.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_bitst.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_bitst.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_bitst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_bitst.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_bitst.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_bitst.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_bitst.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_bitst.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_bitst.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_bitst.o: ../../include/openssl/opensslconf.h
|
||||
v3_bitst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_bitst.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_bitst.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_bitst.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_bitst.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_bitst.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_bitst.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_bitst.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_bitst.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -172,33 +170,33 @@ v3_conf.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_conf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_conf.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_conf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_conf.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_conf.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_conf.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_conf.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_conf.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_conf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_conf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_conf.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_conf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_conf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_conf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_conf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_conf.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_conf.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_conf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_conf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_conf.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_conf.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_conf.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_conf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_conf.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_conf.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_conf.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_conf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_conf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_conf.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_conf.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_conf.o: ../cryptlib.h
|
||||
v3_cpols.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
v3_cpols.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
v3_cpols.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_cpols.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_cpols.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_cpols.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_cpols.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_cpols.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_cpols.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_cpols.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_cpols.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_cpols.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_cpols.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_cpols.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_cpols.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_cpols.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_cpols.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_cpols.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_cpols.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_cpols.o: ../../include/openssl/opensslconf.h
|
||||
v3_cpols.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_cpols.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_cpols.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -213,54 +211,52 @@ v3_crld.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_crld.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_crld.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_crld.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_crld.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_crld.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_crld.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_crld.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_crld.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_crld.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_crld.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_crld.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_crld.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_crld.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_crld.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_crld.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_crld.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_crld.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_crld.o: ../cryptlib.h
|
||||
v3_crld.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_crld.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_crld.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_crld.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_crld.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_crld.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_crld.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_crld.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_crld.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_crld.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_crld.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_crld.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_crld.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_crld.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_enum.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_enum.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_enum.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_enum.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_enum.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_enum.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_enum.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_enum.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_enum.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_enum.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_enum.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_enum.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_enum.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_enum.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_enum.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_enum.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_enum.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_enum.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_enum.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_enum.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_enum.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_enum.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_enum.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_enum.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_enum.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_enum.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_enum.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_enum.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_enum.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_enum.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_enum.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_enum.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_enum.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_enum.o: ../cryptlib.h
|
||||
v3_extku.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_extku.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_extku.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_extku.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_extku.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_extku.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_extku.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_extku.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_extku.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_extku.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_extku.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_extku.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_extku.o: ../../include/openssl/opensslconf.h
|
||||
v3_extku.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_extku.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_extku.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_extku.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_extku.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_extku.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_extku.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_extku.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_extku.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -275,196 +271,193 @@ v3_genn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_genn.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_genn.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_genn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_genn.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_genn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_genn.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_genn.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_genn.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_genn.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_genn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_genn.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_genn.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_genn.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_genn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_genn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_genn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_genn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_genn.o: ../cryptlib.h
|
||||
v3_genn.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_genn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_genn.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_genn.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_genn.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_genn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_genn.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_genn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_genn.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_genn.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_genn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_genn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_genn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_genn.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_ia5.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_ia5.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_ia5.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_ia5.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_ia5.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_ia5.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_ia5.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_ia5.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_ia5.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_ia5.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_ia5.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_ia5.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_ia5.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_ia5.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_ia5.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_ia5.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_ia5.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_ia5.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_ia5.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_ia5.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_ia5.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_ia5.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_ia5.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_ia5.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_ia5.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_ia5.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_ia5.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_ia5.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_ia5.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_ia5.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_ia5.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_ia5.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_ia5.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_ia5.o: ../cryptlib.h
|
||||
v3_info.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
v3_info.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
v3_info.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_info.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_info.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_info.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_info.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_info.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_info.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_info.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_info.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_info.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_info.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_info.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_info.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_info.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_info.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_info.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_info.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_info.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_info.o: ../cryptlib.h
|
||||
v3_info.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_info.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_info.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_info.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_info.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_info.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_info.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_info.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_info.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_info.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_info.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_info.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_info.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_info.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_int.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_int.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_int.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_int.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_int.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_int.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_int.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_int.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_int.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_int.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_int.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_int.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_int.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_int.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_int.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_int.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_int.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_int.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_int.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_int.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_int.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_int.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_int.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_int.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_int.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_int.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_int.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_int.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_int.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_int.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_int.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_int.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_int.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_int.o: ../cryptlib.h
|
||||
v3_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_lib.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_lib.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_lib.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_lib.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ext_dat.h
|
||||
v3_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_lib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_lib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_lib.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_lib.o: ../cryptlib.h ext_dat.h
|
||||
v3_pku.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
v3_pku.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
v3_pku.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_pku.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_pku.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_pku.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_pku.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_pku.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_pku.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_pku.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_pku.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_pku.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_pku.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_pku.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_pku.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_pku.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_pku.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_pku.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_pku.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_pku.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_pku.o: ../cryptlib.h
|
||||
v3_pku.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_pku.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_pku.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_pku.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_pku.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_pku.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_pku.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_pku.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_pku.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_pku.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_pku.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_pku.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_pku.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_pku.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_prn.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_prn.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_prn.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_prn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_prn.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_prn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_prn.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_prn.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_prn.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_prn.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_prn.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_prn.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_prn.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_prn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_prn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_prn.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_prn.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_prn.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_prn.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_prn.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_prn.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_prn.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_prn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_prn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_prn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_prn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_prn.o: ../cryptlib.h
|
||||
v3_purp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_purp.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_purp.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_purp.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_purp.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_purp.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_purp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_purp.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_purp.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_purp.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_purp.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_purp.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_purp.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_purp.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_purp.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_purp.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_purp.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_purp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_purp.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_purp.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_purp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_purp.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_purp.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_purp.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_purp.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_purp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_purp.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_purp.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_purp.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_purp.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_purp.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_purp.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_purp.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_purp.o: ../cryptlib.h
|
||||
v3_skey.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3_skey.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3_skey.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_skey.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_skey.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_skey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_skey.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_skey.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_skey.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_skey.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_skey.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_skey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_skey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_skey.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_skey.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_skey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_skey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_skey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_skey.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_skey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_skey.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_skey.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_skey.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_skey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_skey.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_skey.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_skey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_skey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_skey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_skey.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_skey.o: ../cryptlib.h
|
||||
v3_sxnet.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
|
||||
v3_sxnet.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
||||
v3_sxnet.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
||||
v3_sxnet.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
|
||||
v3_sxnet.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
||||
v3_sxnet.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
||||
v3_sxnet.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h
|
||||
v3_sxnet.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_sxnet.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_sxnet.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_sxnet.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_sxnet.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_sxnet.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_sxnet.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_sxnet.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_sxnet.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_sxnet.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_sxnet.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_sxnet.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_sxnet.o: ../../include/openssl/opensslconf.h
|
||||
v3_sxnet.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_sxnet.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_sxnet.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
@@ -479,36 +472,36 @@ v3_utl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3_utl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3_utl.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3_utl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3_utl.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
||||
v3_utl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3_utl.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3_utl.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3_utl.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3_utl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3_utl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3_utl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3_utl.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3_utl.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3_utl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3_utl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3_utl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3_utl.o: ../../include/openssl/x509v3.h ../cryptlib.h
|
||||
v3_utl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3_utl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3_utl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3_utl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3_utl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3_utl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3_utl.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3_utl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3_utl.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3_utl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3_utl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3_utl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3_utl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3_utl.o: ../cryptlib.h
|
||||
v3err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
v3err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
||||
v3err.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
||||
v3err.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
v3err.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
||||
v3err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
|
||||
v3err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
||||
v3err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
||||
v3err.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
||||
v3err.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
||||
v3err.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
||||
v3err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
||||
v3err.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
||||
v3err.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
||||
v3err.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
||||
v3err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
||||
v3err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
v3err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
v3err.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
v3err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
||||
v3err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
v3err.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
||||
v3err.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
||||
v3err.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
||||
v3err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
v3err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
v3err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
||||
v3err.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
||||
v3err.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
||||
v3err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
v3err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
v3err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
v3err.o: ../../include/openssl/x509v3.h
|
||||
|
||||
@@ -250,7 +250,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
|
||||
*p = 0;
|
||||
ntmp = strip_spaces(q);
|
||||
q = p + 1;
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
printf("%s\n", ntmp);
|
||||
#endif
|
||||
if(!ntmp) {
|
||||
@@ -266,7 +266,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
|
||||
state = HDR_NAME;
|
||||
*p = 0;
|
||||
vtmp = strip_spaces(q);
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
printf("%s\n", ntmp);
|
||||
#endif
|
||||
if(!vtmp) {
|
||||
@@ -283,7 +283,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
|
||||
|
||||
if(state == HDR_VALUE) {
|
||||
vtmp = strip_spaces(q);
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
printf("%s=%s\n", ntmp, vtmp);
|
||||
#endif
|
||||
if(!vtmp) {
|
||||
@@ -293,7 +293,7 @@ STACK_OF(CONF_VALUE) *X509V3_parse_list(char *line)
|
||||
X509V3_add_value(ntmp, vtmp, &values);
|
||||
} else {
|
||||
ntmp = strip_spaces(q);
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
printf("%s\n", ntmp);
|
||||
#endif
|
||||
if(!ntmp) {
|
||||
|
||||
@@ -91,8 +91,8 @@ char **argv;
|
||||
EVP_CIPHER *cipher=NULL,*c;
|
||||
char *inf=NULL,*outf=NULL;
|
||||
BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL;
|
||||
#define PROG_NAME_SIZE 16
|
||||
char pname[PROG_NAME_SIZE];
|
||||
#define PROG_NAME_SIZE 39
|
||||
char pname[PROG_NAME_SIZE+1];
|
||||
|
||||
|
||||
apps_startup();
|
||||
|
||||
@@ -72,7 +72,7 @@ void main_encrypt(void)
|
||||
|
||||
pubKey[0] = ReadPublicKey(PUBFILE);
|
||||
|
||||
if(!pubKey)
|
||||
if(!pubKey[0])
|
||||
{
|
||||
fprintf(stderr,"Error: can't load public key");
|
||||
exit(1);
|
||||
|
||||
@@ -49,7 +49,7 @@ with a leading '-' for negative numbers, to the B<BIO> or B<FILE>
|
||||
B<fp>.
|
||||
|
||||
BN_bn2mpi() and BN_mpi2bn() convert B<BIGNUM>s from and to a format
|
||||
that consists of the number's length in bytes represented as a 3-byte
|
||||
that consists of the number's length in bytes represented as a 4-byte
|
||||
big-endian number, and the number itself in big-endian format, where
|
||||
the most significant bit signals a negative number (the representation
|
||||
of numbers with the MSB set is prefixed with null byte).
|
||||
|
||||
@@ -192,7 +192,7 @@ EVP_DecryptInit() and EVP_DecryptUpdate() return 1 for success and 0 for failure
|
||||
EVP_DecryptFinal() returns 0 if the decrypt failed or 1 for success.
|
||||
|
||||
EVP_CipherInit() and EVP_CipherUpdate() return 1 for success and 0 for failure.
|
||||
EVP_CipherFinal() returns 1 for a decryption failure or 1 for success.
|
||||
EVP_CipherFinal() returns 0 for a decryption failure or 1 for success.
|
||||
|
||||
EVP_CIPHER_CTX_cleanup() returns 1 for success and 0 for failure.
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ be seeded prior to calling RSA_generate_key().
|
||||
|
||||
The modulus size will be B<num> bits, and the public exponent will be
|
||||
B<e>. Key sizes with B<num> E<lt> 1024 should be considered insecure.
|
||||
The exponent is an odd number, typically 3 or 65535.
|
||||
The exponent is an odd number, typically 3, 17 or 65537.
|
||||
|
||||
A callback function may be used to provide feedback about the
|
||||
progress of the key generation. If B<callback> is not B<NULL>, it
|
||||
|
||||
@@ -204,8 +204,8 @@ just one key.
|
||||
=item *
|
||||
|
||||
If the first and last key are the same, the key length is 112 bits.
|
||||
There are attacks that could reduce the key space to 55 bit's but it
|
||||
requires 2^56 blocks of memory.
|
||||
There are attacks that could reduce the effective key strength
|
||||
to only slightly more than 56 bits, but these require a lot of memory.
|
||||
|
||||
=item *
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ error stack to find out the reason for failure otherwise.
|
||||
|
||||
L<ssl(3)|ssl(3)>,
|
||||
L<SSL_CTX_use_certificate(3)|SSL_CTX_use_certificate(3)>,
|
||||
L<SSL_CTX_set_client_cert_cb(3)|SSL_CTX_set_client_cert_cb(3)>,
|
||||
L<SSL_CTX_load_verify_locations(3)|SSL_CTX_load_verify_locations(3)>
|
||||
|
||||
=cut
|
||||
|
||||
@@ -149,6 +149,7 @@ L<ssl(3)|ssl(3)>, L<SSL_new(3)|SSL_new(3)>, L<SSL_clear(3)|SSL_clear(3)>,
|
||||
L<SSL_CTX_load_verify_locations(3)|SSL_CTX_load_verify_locations(3)>,
|
||||
L<SSL_CTX_set_default_passwd_cb(3)|SSL_CTX_set_default_passwd_cb(3)>,
|
||||
L<SSL_CTX_set_cipher_list(3)|SSL_CTX_set_cipher_list(3)>,
|
||||
L<SSL_CTX_set_client_cert_cb(3)|SSL_CTX_set_client_cert_cb(3)>,
|
||||
L<SSL_CTX_add_extra_chain_cert(3)|SSL_CTX_add_extra_chain_cert(3)>
|
||||
|
||||
=cut
|
||||
|
||||
@@ -25,6 +25,25 @@ if L<SSL_shutdown(3)|SSL_shutdown(3)> was not called for the connection
|
||||
or at least L<SSL_set_shutdown(3)|SSL_set_shutdown(3)> was used to
|
||||
set the SSL_SENT_SHUTDOWN state.
|
||||
|
||||
If a session was closed cleanly, the session object will be kept and all
|
||||
settings corresponding. This explicitly means, that e.g. the special method
|
||||
used during the session will be kept for the next handshake. So if the
|
||||
session was a TLSv1 session, a SSL client object will use a TLSv1 client
|
||||
method for the next handshake and a SSL server object will use a TLSv1
|
||||
server method, even if SSLv23_*_methods were chosen on startup. This
|
||||
will might lead to connection failures (see L<SSL_new(3)|SSL_new(3)>)
|
||||
for a description of the method's properties.
|
||||
|
||||
=head1 WARNINGS
|
||||
|
||||
SSL_clear() resets the SSL object to allow for another connection. The
|
||||
reset operation however keeps several settings of the last sessions
|
||||
(some of these settings were made automatically during the last
|
||||
handshake). It only makes sense when opening a new session (or reusing
|
||||
an old one) with the same peer that shares these settings.
|
||||
SSL_clear() is not a short form for the sequence
|
||||
L<SSL_free(3)|SSL_free(3)>; L<SSL_new(3)|SSL_new(3)>; .
|
||||
|
||||
=head1 RETURN VALUES
|
||||
|
||||
The following return values can occur:
|
||||
@@ -44,6 +63,7 @@ The SSL_clear() operation was successful.
|
||||
|
||||
L<SSL_new(3)|SSL_new(3)>, L<SSL_free(3)|SSL_free(3)>,
|
||||
L<SSL_shutdown(3)|SSL_shutdown(3)>, L<SSL_set_shutdown(3)|SSL_set_shutdown(3)>,
|
||||
L<SSL_CTX_set_options(3)|SSL_CTX_set_options(3)>, L<ssl(3)|ssl(3)>
|
||||
L<SSL_CTX_set_options(3)|SSL_CTX_set_options(3)>, L<ssl(3)|ssl(3)>,
|
||||
L<SSL_CTX_set_client_cert_cb(3)|SSL_CTX_set_client_cert_cb(3)>
|
||||
|
||||
=cut
|
||||
|
||||
@@ -47,6 +47,7 @@ the server did not send a list of CAs (client mode).
|
||||
=head1 SEE ALSO
|
||||
|
||||
L<ssl(3)|ssl(3)>,
|
||||
L<SSL_CTX_set_client_CA_list(3)|SSL_CTX_set_client_CA_list(3)>
|
||||
L<SSL_CTX_set_client_CA_list(3)|SSL_CTX_set_client_CA_list(3)>,
|
||||
L<SSL_CTX_set_client_cert_cb(3)|SSL_CTX_set_client_cert_cb(3)>
|
||||
|
||||
=cut
|
||||
|
||||
@@ -667,6 +667,7 @@ L<SSL_CTX_set_cert_store(3)|SSL_CTX_set_cert_store(3)>,
|
||||
L<SSL_CTX_set_cert_verify_callback(3)|SSL_CTX_set_cert_verify_callback(3)>,
|
||||
L<SSL_CTX_set_cipher_list(3)|SSL_CTX_set_cipher_list(3)>,
|
||||
L<SSL_CTX_set_client_CA_list(3)|SSL_CTX_set_client_CA_list(3)>,
|
||||
L<SSL_CTX_set_client_cert_cb(3)|SSL_CTX_set_client_cert_cb(3)>,
|
||||
L<SSL_CTX_set_default_passwd_cb(3)|SSL_CTX_set_default_passwd_cb(3)>,
|
||||
L<SSL_CTX_set_info_callback(3)|SSL_CTX_set_info_callback(3)>,
|
||||
L<SSL_CTX_set_mode(3)|SSL_CTX_set_mode(3)>,
|
||||
|
||||
17
e_os.h
17
e_os.h
@@ -82,6 +82,12 @@ extern "C" {
|
||||
#define DEVRANDOM "/dev/urandom"
|
||||
#endif
|
||||
|
||||
#if defined(VXWORKS)
|
||||
# define NO_SYS_PARAM_H
|
||||
# define NO_CHMOD
|
||||
# define NO_SYSLOG
|
||||
#endif
|
||||
|
||||
#if defined(__MWERKS__) && defined(macintosh)
|
||||
# if macintosh==1
|
||||
# ifndef MAC_OS_GUSI_SOURCE
|
||||
@@ -148,6 +154,13 @@ extern "C" {
|
||||
#define closesocket(s) MacSocket_close(s)
|
||||
#define readsocket(s,b,n) MacSocket_recv((s),(b),(n),true)
|
||||
#define writesocket(s,b,n) MacSocket_send((s),(b),(n))
|
||||
#elif defined(VMS)
|
||||
#define get_last_socket_error() errno
|
||||
#define clear_socket_error() errno=0
|
||||
#define ioctlsocket(a,b,c) ioctl(a,b,c)
|
||||
#define closesocket(s) close(s)
|
||||
#define readsocket(s,b,n) recv((s),(b),(n),0)
|
||||
#define writesocket(s,b,n) send((s),(b),(n),0)
|
||||
#else
|
||||
#define get_last_socket_error() errno
|
||||
#define clear_socket_error() errno=0
|
||||
@@ -348,7 +361,9 @@ extern HINSTANCE _hInstance;
|
||||
# ifndef NO_SYS_PARAM_H
|
||||
# include <sys/param.h>
|
||||
# endif
|
||||
# ifndef MPE
|
||||
# ifdef VXWORKS
|
||||
# include <time.h>
|
||||
# elif !defined(MPE)
|
||||
# include <sys/time.h> /* Needed under linux for FD_XXX */
|
||||
# endif
|
||||
|
||||
|
||||
2
e_os2.h
2
e_os2.h
@@ -23,7 +23,7 @@ extern "C" {
|
||||
declared explicitely with globaldef and globalref. On other OS:es,
|
||||
these macros are defined with something sensible. */
|
||||
|
||||
#if defined(VMS) && !defined(__DECC)
|
||||
#if defined(VMS) && !defined(__DECC) && !defined(__DECCXX)
|
||||
# define OPENSSL_EXTERN globalref
|
||||
# define OPENSSL_GLOBAL globaldef
|
||||
#else
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define libmaj 0
|
||||
%define libmin 9
|
||||
%define librel 6
|
||||
%define librev c
|
||||
%define librev d
|
||||
Release: 1
|
||||
|
||||
%define openssldir /var/ssl
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# Makefile.hpux-cc
|
||||
|
||||
major=1
|
||||
major=0.9.6d
|
||||
|
||||
slib=libssl
|
||||
sh_slib=$(slib).so.$(major)
|
||||
sh_slib=$(slib).sl.$(major)
|
||||
|
||||
clib=libcrypto
|
||||
sh_clib=$(clib).so.$(major)
|
||||
sh_clib=$(clib).sl.$(major)
|
||||
|
||||
all : $(clib).sl $(slib).sl
|
||||
|
||||
@@ -20,31 +20,14 @@ $(slib)_pic.a : $(slib).a
|
||||
cp -p $? $@
|
||||
|
||||
$(sh_clib) : $(clib)_pic.a
|
||||
echo "collecting all object files for $@"
|
||||
find . -name \*.o -print > allobjs
|
||||
for obj in `ar t $(clib)_pic.a`; \
|
||||
do \
|
||||
grep /$$obj allobjs; \
|
||||
done >objlist
|
||||
echo "linking $@"
|
||||
ld -b -s -z +h $@ -o $@ `cat objlist` -lc
|
||||
rm allobjs objlist
|
||||
ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc
|
||||
|
||||
$(clib).sl : $(sh_clib)
|
||||
rm -f $@
|
||||
ln -s $? $@
|
||||
|
||||
$(sh_slib) : $(slib)_pic.a $(clib).sl
|
||||
echo "collecting all object files for $@"
|
||||
find . -name \*.o -print > allobjs
|
||||
for obj in `ar t $(slib)_pic.a`; \
|
||||
do \
|
||||
grep /$$obj allobjs; \
|
||||
done >objlist
|
||||
echo "linking $@"
|
||||
ld -b -s -z +h $@ +b /usr/local/ssl/lib:/usr/lib -o $@ `cat objlist` \
|
||||
-L. -lcrypto -lc
|
||||
rm -f allobjs objlist
|
||||
ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc
|
||||
|
||||
$(slib).sl : $(sh_slib)
|
||||
rm -f $@
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
# WARNING: At high optimization levels, HP's ANSI-C compiler can chew up
|
||||
# large amounts of memory and CPU time. Make sure to have at least
|
||||
# 128MB of RAM available and that your kernel is configured to allow
|
||||
# at least 128MB data size (maxdsiz parameter).
|
||||
# at least 128MB data size (maxdsiz parameter which can be obtained
|
||||
# by multiplying 'echo maxdsiz/D | adb -k /stand/vmunix /dev/kmem'
|
||||
# by 'getconf PAGE_SIZE').
|
||||
# The installation process can take several hours, even on fast
|
||||
# machines. +O4 optimization of the libcrypto.sl shared library may
|
||||
# take 1 hour on a C200 (200MHz PA8200 CPU), +O3 compilation of
|
||||
@@ -40,7 +42,7 @@ SITEFLAGS="+DAportable +w1"
|
||||
MYFLAGS="-D_REENTRANT +Oall $SITEFLAGS"
|
||||
|
||||
# Configure for pic and build the static pic libraries
|
||||
perl5 Configure hpux-parisc-cc-o4 +z ${MYFLAGS}
|
||||
perl5 Configure no-shared hpux-parisc-cc-o4 +Z ${MYFLAGS}
|
||||
make clean
|
||||
make DIRS="crypto ssl"
|
||||
# Rename the static pic libs and build dynamic libraries from them
|
||||
@@ -58,21 +60,21 @@ mkdir /usr/local
|
||||
mkdir /usr/local/ssl
|
||||
mkdir /usr/local/ssl/lib
|
||||
chmod 444 lib*_pic.a
|
||||
chmod 555 lib*.so.1
|
||||
cp -p lib*_pic.a lib*.so.1 /usr/local/ssl/lib
|
||||
(cd /usr/local/ssl/lib ; ln -sf libcrypto.so.1 libcrypto.sl ; ln -sf libssl.so.1 libssl.sl)
|
||||
chmod 555 lib*.sl.0.9.6d
|
||||
cp -p lib*_pic.a lib*.sl.0.9.6d /usr/local/ssl/lib
|
||||
(cd /usr/local/ssl/lib ; ln -sf libcrypto.sl.0.9.6d libcrypto.sl ; ln -sf libssl.sl.0.9.6d libssl.sl)
|
||||
|
||||
# Reconfigure without pic to compile the executables. Unfortunately, while
|
||||
# performing this task we have to recompile the library components, even
|
||||
# though we use the already installed shared libs anyway.
|
||||
#
|
||||
perl5 Configure hpux-parisc-cc-o4 ${MYFLAGS}
|
||||
perl5 Configure no-shared hpux-parisc-cc-o4 ${MYFLAGS}
|
||||
|
||||
make clean
|
||||
|
||||
# Hack the Makefiles to pick up the dynamic libraries during linking
|
||||
#
|
||||
sed 's/^PEX_LIBS=.*$/PEX_LIBS=-L\/usr\/local\/ssl\/lib -Wl,+b,\/usr\/local\/ssl\/lib:\/usr\/lib/' Makefile.ssl >xxx; mv xxx Makefile.ssl
|
||||
sed 's/^PEX_LIBS=.*$/PEX_LIBS=-L\/usr\/local\/ssl\/lib/' Makefile.ssl >xxx; mv xxx Makefile.ssl
|
||||
sed 's/-L\.\.//' apps/Makefile.ssl >xxx; mv xxx apps/Makefile.ssl
|
||||
sed 's/-L\.\.//' test/Makefile.ssl >xxx; mv xxx test/Makefile.ssl
|
||||
# Build the static libs and the executables in one make.
|
||||
@@ -83,7 +85,7 @@ make install
|
||||
# Finally build the static libs with +O3. This time we only need the libraries,
|
||||
# once created, they are simply copied into place.
|
||||
#
|
||||
perl5 Configure hpux-parisc-cc ${MYFLAGS}
|
||||
perl5 Configure no-shared hpux-parisc-cc ${MYFLAGS}
|
||||
make clean
|
||||
make DIRS="crypto ssl"
|
||||
chmod 644 libcrypto.a libssl.a
|
||||
|
||||
@@ -572,24 +572,23 @@ ssl_cert.o: ../include/openssl/comp.h ../include/openssl/conf.h
|
||||
ssl_cert.o: ../include/openssl/crypto.h ../include/openssl/des.h
|
||||
ssl_cert.o: ../include/openssl/dh.h ../include/openssl/dsa.h
|
||||
ssl_cert.o: ../include/openssl/e_os.h ../include/openssl/e_os.h
|
||||
ssl_cert.o: ../include/openssl/e_os.h ../include/openssl/e_os2.h
|
||||
ssl_cert.o: ../include/openssl/err.h ../include/openssl/evp.h
|
||||
ssl_cert.o: ../include/openssl/idea.h ../include/openssl/lhash.h
|
||||
ssl_cert.o: ../include/openssl/md2.h ../include/openssl/md4.h
|
||||
ssl_cert.o: ../include/openssl/md5.h ../include/openssl/mdc2.h
|
||||
ssl_cert.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
|
||||
ssl_cert.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
|
||||
ssl_cert.o: ../include/openssl/pem.h ../include/openssl/pem2.h
|
||||
ssl_cert.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h
|
||||
ssl_cert.o: ../include/openssl/rc4.h ../include/openssl/rc5.h
|
||||
ssl_cert.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
|
||||
ssl_cert.o: ../include/openssl/safestack.h ../include/openssl/sha.h
|
||||
ssl_cert.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
|
||||
ssl_cert.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h
|
||||
ssl_cert.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
|
||||
ssl_cert.o: ../include/openssl/tls1.h ../include/openssl/x509.h
|
||||
ssl_cert.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h
|
||||
ssl_cert.o: ssl_locl.h
|
||||
ssl_cert.o: ../include/openssl/e_os2.h ../include/openssl/err.h
|
||||
ssl_cert.o: ../include/openssl/evp.h ../include/openssl/idea.h
|
||||
ssl_cert.o: ../include/openssl/lhash.h ../include/openssl/md2.h
|
||||
ssl_cert.o: ../include/openssl/md4.h ../include/openssl/md5.h
|
||||
ssl_cert.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h
|
||||
ssl_cert.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
|
||||
ssl_cert.o: ../include/openssl/opensslv.h ../include/openssl/pem.h
|
||||
ssl_cert.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
|
||||
ssl_cert.o: ../include/openssl/rc2.h ../include/openssl/rc4.h
|
||||
ssl_cert.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h
|
||||
ssl_cert.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
|
||||
ssl_cert.o: ../include/openssl/sha.h ../include/openssl/ssl.h
|
||||
ssl_cert.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h
|
||||
ssl_cert.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
|
||||
ssl_cert.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
|
||||
ssl_cert.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
|
||||
ssl_cert.o: ../include/openssl/x509v3.h ssl_locl.h
|
||||
ssl_ciph.o: ../include/openssl/asn1.h ../include/openssl/bio.h
|
||||
ssl_ciph.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
|
||||
ssl_ciph.o: ../include/openssl/buffer.h ../include/openssl/cast.h
|
||||
@@ -662,24 +661,23 @@ ssl_lib.o: ../include/openssl/buffer.h ../include/openssl/cast.h
|
||||
ssl_lib.o: ../include/openssl/comp.h ../include/openssl/conf.h
|
||||
ssl_lib.o: ../include/openssl/crypto.h ../include/openssl/des.h
|
||||
ssl_lib.o: ../include/openssl/dh.h ../include/openssl/dsa.h
|
||||
ssl_lib.o: ../include/openssl/e_os.h ../include/openssl/e_os.h
|
||||
ssl_lib.o: ../include/openssl/e_os2.h ../include/openssl/err.h
|
||||
ssl_lib.o: ../include/openssl/evp.h ../include/openssl/idea.h
|
||||
ssl_lib.o: ../include/openssl/lhash.h ../include/openssl/md2.h
|
||||
ssl_lib.o: ../include/openssl/md4.h ../include/openssl/md5.h
|
||||
ssl_lib.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h
|
||||
ssl_lib.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
|
||||
ssl_lib.o: ../include/openssl/opensslv.h ../include/openssl/pem.h
|
||||
ssl_lib.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
|
||||
ssl_lib.o: ../include/openssl/rc2.h ../include/openssl/rc4.h
|
||||
ssl_lib.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h
|
||||
ssl_lib.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
|
||||
ssl_lib.o: ../include/openssl/sha.h ../include/openssl/ssl.h
|
||||
ssl_lib.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h
|
||||
ssl_lib.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
|
||||
ssl_lib.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
|
||||
ssl_lib.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
|
||||
ssl_lib.o: ../include/openssl/x509v3.h ssl_locl.h
|
||||
ssl_lib.o: ../include/openssl/e_os.h ../include/openssl/e_os2.h
|
||||
ssl_lib.o: ../include/openssl/err.h ../include/openssl/evp.h
|
||||
ssl_lib.o: ../include/openssl/idea.h ../include/openssl/lhash.h
|
||||
ssl_lib.o: ../include/openssl/md2.h ../include/openssl/md4.h
|
||||
ssl_lib.o: ../include/openssl/md5.h ../include/openssl/mdc2.h
|
||||
ssl_lib.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
|
||||
ssl_lib.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
|
||||
ssl_lib.o: ../include/openssl/pem.h ../include/openssl/pem2.h
|
||||
ssl_lib.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h
|
||||
ssl_lib.o: ../include/openssl/rc4.h ../include/openssl/rc5.h
|
||||
ssl_lib.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
|
||||
ssl_lib.o: ../include/openssl/safestack.h ../include/openssl/sha.h
|
||||
ssl_lib.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
|
||||
ssl_lib.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h
|
||||
ssl_lib.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
|
||||
ssl_lib.o: ../include/openssl/tls1.h ../include/openssl/x509.h
|
||||
ssl_lib.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h ssl_locl.h
|
||||
ssl_rsa.o: ../include/openssl/asn1.h ../include/openssl/bio.h
|
||||
ssl_rsa.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
|
||||
ssl_rsa.o: ../include/openssl/buffer.h ../include/openssl/cast.h
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -528,6 +528,8 @@ int ssl_verify_alarm_type(long type)
|
||||
case X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD:
|
||||
case X509_V_ERR_CERT_NOT_YET_VALID:
|
||||
case X509_V_ERR_CRL_NOT_YET_VALID:
|
||||
case X509_V_ERR_CERT_UNTRUSTED:
|
||||
case X509_V_ERR_CERT_REJECTED:
|
||||
al=SSL_AD_BAD_CERTIFICATE;
|
||||
break;
|
||||
case X509_V_ERR_CERT_SIGNATURE_FAILURE:
|
||||
@@ -549,11 +551,16 @@ int ssl_verify_alarm_type(long type)
|
||||
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY:
|
||||
case X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE:
|
||||
case X509_V_ERR_CERT_CHAIN_TOO_LONG:
|
||||
case X509_V_ERR_PATH_LENGTH_EXCEEDED:
|
||||
case X509_V_ERR_INVALID_CA:
|
||||
al=SSL_AD_UNKNOWN_CA;
|
||||
break;
|
||||
case X509_V_ERR_APPLICATION_VERIFICATION:
|
||||
al=SSL_AD_HANDSHAKE_FAILURE;
|
||||
break;
|
||||
case X509_V_ERR_INVALID_PURPOSE:
|
||||
al=SSL_AD_UNSUPPORTED_CERTIFICATE;
|
||||
break;
|
||||
default:
|
||||
al=SSL_AD_CERTIFICATE_UNKNOWN;
|
||||
break;
|
||||
@@ -565,6 +572,7 @@ int ssl3_setup_buffers(SSL *s)
|
||||
{
|
||||
unsigned char *p;
|
||||
unsigned int extra;
|
||||
size_t len;
|
||||
|
||||
if (s->s3->rbuf.buf == NULL)
|
||||
{
|
||||
@@ -572,18 +580,21 @@ int ssl3_setup_buffers(SSL *s)
|
||||
extra=SSL3_RT_MAX_EXTRA;
|
||||
else
|
||||
extra=0;
|
||||
if ((p=OPENSSL_malloc(SSL3_RT_MAX_PACKET_SIZE+extra))
|
||||
== NULL)
|
||||
len = SSL3_RT_MAX_PACKET_SIZE + extra;
|
||||
if ((p=OPENSSL_malloc(len)) == NULL)
|
||||
goto err;
|
||||
s->s3->rbuf.buf=p;
|
||||
s->s3->rbuf.buf = p;
|
||||
s->s3->rbuf_len = len;
|
||||
}
|
||||
|
||||
if (s->s3->wbuf.buf == NULL)
|
||||
{
|
||||
if ((p=OPENSSL_malloc(SSL3_RT_MAX_PACKET_SIZE))
|
||||
== NULL)
|
||||
len = SSL3_RT_MAX_PACKET_SIZE;
|
||||
len += SSL3_RT_HEADER_LENGTH + 256; /* extra space for empty fragment */
|
||||
if ((p=OPENSSL_malloc(len)) == NULL)
|
||||
goto err;
|
||||
s->s3->wbuf.buf=p;
|
||||
s->s3->wbuf.buf = p;
|
||||
s->s3->wbuf_len = len;
|
||||
}
|
||||
s->packet= &(s->s3->rbuf.buf[0]);
|
||||
return(1);
|
||||
|
||||
65
ssl/s3_enc.c
65
ssl/s3_enc.c
@@ -55,6 +55,59 @@
|
||||
* copied and put under another distribution licence
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* 3. All advertising materials mentioning features or use of this
|
||||
* software must display the following acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
||||
*
|
||||
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
||||
* endorse or promote products derived from this software without
|
||||
* prior written permission. For written permission, please contact
|
||||
* openssl-core@openssl.org.
|
||||
*
|
||||
* 5. Products derived from this software may not be called "OpenSSL"
|
||||
* nor may "OpenSSL" appear in their names without prior written
|
||||
* permission of the OpenSSL Project.
|
||||
*
|
||||
* 6. Redistributions of any form whatsoever must retain the following
|
||||
* acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
||||
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
||||
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* ====================================================================
|
||||
*
|
||||
* This product includes cryptographic software written by Eric Young
|
||||
* (eay@cryptsoft.com). This product includes software written by Tim
|
||||
* Hudson (tjh@cryptsoft.com).
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <openssl/md5.h>
|
||||
@@ -305,9 +358,17 @@ int ssl3_setup_key_block(SSL *s)
|
||||
|
||||
s->s3->tmp.key_block_length=num;
|
||||
s->s3->tmp.key_block=p;
|
||||
|
||||
|
||||
ssl3_generate_key_block(s,p,num);
|
||||
|
||||
|
||||
/* enable vulnerability countermeasure for CBC ciphers with
|
||||
* known-IV problem (http://www.openssl.org/~bodo/tls-cbc.txt) */
|
||||
s->s3->need_empty_fragments = 1;
|
||||
#ifndef NO_RC4
|
||||
if ((s->session->cipher != NULL) && ((s->session->cipher->algorithms & SSL_ENC_MASK) == SSL_RC4))
|
||||
s->s3->need_empty_fragments = 0;
|
||||
#endif
|
||||
|
||||
return(1);
|
||||
err:
|
||||
SSLerr(SSL_F_SSL3_SETUP_KEY_BLOCK,ERR_R_MALLOC_FAILURE);
|
||||
|
||||
33
ssl/s3_lib.c
33
ssl/s3_lib.c
@@ -56,7 +56,7 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -170,7 +170,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
|
||||
SSL3_TXT_ADH_RC4_128_MD5,
|
||||
SSL3_CK_ADH_RC4_128_MD5,
|
||||
SSL_kEDH |SSL_aNULL|SSL_RC4 |SSL_MD5 |SSL_SSLV3,
|
||||
SSL_NOT_EXP,
|
||||
SSL_NOT_EXP|SSL_MEDIUM,
|
||||
0,
|
||||
128,
|
||||
128,
|
||||
@@ -196,7 +196,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
|
||||
SSL3_TXT_ADH_DES_64_CBC_SHA,
|
||||
SSL3_CK_ADH_DES_64_CBC_SHA,
|
||||
SSL_kEDH |SSL_aNULL|SSL_DES |SSL_SHA1|SSL_SSLV3,
|
||||
SSL_NOT_EXP,
|
||||
SSL_NOT_EXP|SSL_LOW,
|
||||
0,
|
||||
56,
|
||||
56,
|
||||
@@ -209,7 +209,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
|
||||
SSL3_TXT_ADH_DES_192_CBC_SHA,
|
||||
SSL3_CK_ADH_DES_192_CBC_SHA,
|
||||
SSL_kEDH |SSL_aNULL|SSL_3DES |SSL_SHA1|SSL_SSLV3,
|
||||
SSL_NOT_EXP,
|
||||
SSL_NOT_EXP|SSL_HIGH,
|
||||
0,
|
||||
168,
|
||||
168,
|
||||
@@ -518,7 +518,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
|
||||
SSL3_TXT_FZA_DMS_RC4_SHA,
|
||||
SSL3_CK_FZA_DMS_RC4_SHA,
|
||||
SSL_kFZA|SSL_aFZA |SSL_RC4 |SSL_SHA1|SSL_SSLV3,
|
||||
SSL_NOT_EXP,
|
||||
SSL_NOT_EXP|SSL_MEDIUM,
|
||||
0,
|
||||
128,
|
||||
128,
|
||||
@@ -612,7 +612,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
|
||||
TLS1_TXT_DHE_DSS_WITH_RC4_128_SHA,
|
||||
TLS1_CK_DHE_DSS_WITH_RC4_128_SHA,
|
||||
SSL_kEDH|SSL_aDSS|SSL_RC4|SSL_SHA|SSL_TLSV1,
|
||||
SSL_NOT_EXP,
|
||||
SSL_NOT_EXP|SSL_MEDIUM,
|
||||
0,
|
||||
128,
|
||||
128,
|
||||
@@ -693,6 +693,9 @@ SSL_CIPHER *ssl3_get_cipher(unsigned int u)
|
||||
|
||||
int ssl3_pending(SSL *s)
|
||||
{
|
||||
if (s->rstate == SSL_ST_READ_BODY)
|
||||
return 0;
|
||||
|
||||
return (s->s3->rrec.type == SSL3_RT_APPLICATION_DATA) ? s->s3->rrec.length : 0;
|
||||
}
|
||||
|
||||
@@ -737,6 +740,7 @@ void ssl3_free(SSL *s)
|
||||
void ssl3_clear(SSL *s)
|
||||
{
|
||||
unsigned char *rp,*wp;
|
||||
size_t rlen, wlen;
|
||||
|
||||
ssl3_cleanup_key_block(s);
|
||||
if (s->s3->tmp.ca_names != NULL)
|
||||
@@ -752,12 +756,16 @@ void ssl3_clear(SSL *s)
|
||||
DH_free(s->s3->tmp.dh);
|
||||
#endif
|
||||
|
||||
rp=s->s3->rbuf.buf;
|
||||
wp=s->s3->wbuf.buf;
|
||||
rp = s->s3->rbuf.buf;
|
||||
wp = s->s3->wbuf.buf;
|
||||
rlen = s->s3->rbuf_len;
|
||||
wlen = s->s3->wbuf_len;
|
||||
|
||||
memset(s->s3,0,sizeof *s->s3);
|
||||
if (rp != NULL) s->s3->rbuf.buf=rp;
|
||||
if (wp != NULL) s->s3->wbuf.buf=wp;
|
||||
s->s3->rbuf.buf = rp;
|
||||
s->s3->wbuf.buf = wp;
|
||||
s->s3->rbuf_len = rlen;
|
||||
s->s3->wbuf_len = wlen;
|
||||
|
||||
ssl_free_wbio_buffer(s);
|
||||
|
||||
@@ -1312,13 +1320,12 @@ static int ssl3_read_internal(SSL *s, void *buf, int len, int peek)
|
||||
if (s->s3->renegotiate) ssl3_renegotiate_check(s);
|
||||
s->s3->in_read_app_data=1;
|
||||
ret=ssl3_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek);
|
||||
if ((ret == -1) && (s->s3->in_read_app_data == 0))
|
||||
if ((ret == -1) && (s->s3->in_read_app_data == 2))
|
||||
{
|
||||
/* ssl3_read_bytes decided to call s->handshake_func, which
|
||||
* called ssl3_read_bytes to read handshake data.
|
||||
* However, ssl3_read_bytes actually found application data
|
||||
* and thinks that application data makes sense here (signalled
|
||||
* by resetting 'in_read_app_data', strangely); so disable
|
||||
* and thinks that application data makes sense here; so disable
|
||||
* handshake processing and try to read application data again. */
|
||||
s->in_handshake++;
|
||||
ret=ssl3_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek);
|
||||
|
||||
108
ssl/s3_pkt.c
108
ssl/s3_pkt.c
@@ -56,7 +56,7 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -117,7 +117,7 @@
|
||||
#include "ssl_locl.h"
|
||||
|
||||
static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
|
||||
unsigned int len);
|
||||
unsigned int len, int create_empty_fragment);
|
||||
static int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
|
||||
unsigned int len);
|
||||
static int ssl3_get_record(SSL *s);
|
||||
@@ -162,9 +162,7 @@ static int ssl3_read_n(SSL *s, int n, int max, int extend)
|
||||
|
||||
{
|
||||
/* avoid buffer overflow */
|
||||
int max_max = SSL3_RT_MAX_PACKET_SIZE - s->packet_length;
|
||||
if (s->options & SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER)
|
||||
max_max += SSL3_RT_MAX_EXTRA;
|
||||
int max_max = s->s3->rbuf_len - s->packet_length;
|
||||
if (max > max_max)
|
||||
max = max_max;
|
||||
}
|
||||
@@ -238,7 +236,8 @@ static int ssl3_get_record(SSL *s)
|
||||
unsigned char md[EVP_MAX_MD_SIZE];
|
||||
short version;
|
||||
unsigned int mac_size;
|
||||
int clear=0,extra;
|
||||
int clear=0;
|
||||
size_t extra;
|
||||
|
||||
rr= &(s->s3->rrec);
|
||||
sess=s->session;
|
||||
@@ -247,14 +246,20 @@ static int ssl3_get_record(SSL *s)
|
||||
extra=SSL3_RT_MAX_EXTRA;
|
||||
else
|
||||
extra=0;
|
||||
if (extra != s->s3->rbuf_len - SSL3_RT_MAX_PACKET_SIZE)
|
||||
{
|
||||
/* actually likely an application error: SLS_OP_MICROSOFT_BIG_SSLV3_BUFFER
|
||||
* set after ssl3_setup_buffers() was done */
|
||||
SSLerr(SSL_F_SSL3_GET_RECORD, SSL_R_INTERNAL_ERROR);
|
||||
return -1;
|
||||
}
|
||||
|
||||
again:
|
||||
/* check if we have the header */
|
||||
if ( (s->rstate != SSL_ST_READ_BODY) ||
|
||||
(s->packet_length < SSL3_RT_HEADER_LENGTH))
|
||||
{
|
||||
n=ssl3_read_n(s,SSL3_RT_HEADER_LENGTH,
|
||||
SSL3_RT_MAX_PACKET_SIZE,0);
|
||||
n=ssl3_read_n(s, SSL3_RT_HEADER_LENGTH, s->s3->rbuf_len, 0);
|
||||
if (n <= 0) return(n); /* error or non-blocking */
|
||||
s->rstate=SSL_ST_READ_BODY;
|
||||
|
||||
@@ -291,8 +296,7 @@ again:
|
||||
goto err;
|
||||
}
|
||||
|
||||
if (rr->length >
|
||||
(unsigned int)SSL3_RT_MAX_ENCRYPTED_LENGTH+extra)
|
||||
if (rr->length > SSL3_RT_MAX_ENCRYPTED_LENGTH+extra)
|
||||
{
|
||||
al=SSL_AD_RECORD_OVERFLOW;
|
||||
SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_PACKET_LENGTH_TOO_LONG);
|
||||
@@ -304,7 +308,7 @@ again:
|
||||
|
||||
/* s->rstate == SSL_ST_READ_BODY, get and decode the data */
|
||||
|
||||
if (rr->length > (s->packet_length-SSL3_RT_HEADER_LENGTH))
|
||||
if (rr->length > s->packet_length-SSL3_RT_HEADER_LENGTH)
|
||||
{
|
||||
/* now s->packet_length == SSL3_RT_HEADER_LENGTH */
|
||||
i=rr->length;
|
||||
@@ -332,7 +336,7 @@ again:
|
||||
* rr->length bytes of encrypted compressed stuff. */
|
||||
|
||||
/* check is not needed I believe */
|
||||
if (rr->length > (unsigned int)SSL3_RT_MAX_ENCRYPTED_LENGTH+extra)
|
||||
if (rr->length > SSL3_RT_MAX_ENCRYPTED_LENGTH+extra)
|
||||
{
|
||||
al=SSL_AD_RECORD_OVERFLOW;
|
||||
SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_ENCRYPTED_LENGTH_TOO_LONG);
|
||||
@@ -401,8 +405,7 @@ printf("\n");
|
||||
/* r->length is now just compressed */
|
||||
if (s->expand != NULL)
|
||||
{
|
||||
if (rr->length >
|
||||
(unsigned int)SSL3_RT_MAX_COMPRESSED_LENGTH+extra)
|
||||
if (rr->length > SSL3_RT_MAX_COMPRESSED_LENGTH+extra)
|
||||
{
|
||||
al=SSL_AD_RECORD_OVERFLOW;
|
||||
SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_COMPRESSED_LENGTH_TOO_LONG);
|
||||
@@ -416,7 +419,7 @@ printf("\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (rr->length > (unsigned int)SSL3_RT_MAX_PLAIN_LENGTH+extra)
|
||||
if (rr->length > SSL3_RT_MAX_PLAIN_LENGTH+extra)
|
||||
{
|
||||
al=SSL_AD_RECORD_OVERFLOW;
|
||||
SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_DATA_LENGTH_TOO_LONG);
|
||||
@@ -509,7 +512,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
|
||||
if (i == 0)
|
||||
{
|
||||
SSLerr(SSL_F_SSL3_WRITE_BYTES,SSL_R_SSL_HANDSHAKE_FAILURE);
|
||||
return(-1);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -521,18 +524,22 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
|
||||
else
|
||||
nw=n;
|
||||
|
||||
i=do_ssl3_write(s,type,&(buf[tot]),nw);
|
||||
i=do_ssl3_write(s, type, &(buf[tot]), nw, 0);
|
||||
if (i <= 0)
|
||||
{
|
||||
s->s3->wnum=tot;
|
||||
return(i);
|
||||
return i;
|
||||
}
|
||||
|
||||
if ((i == (int)n) ||
|
||||
(type == SSL3_RT_APPLICATION_DATA &&
|
||||
(s->mode & SSL_MODE_ENABLE_PARTIAL_WRITE)))
|
||||
{
|
||||
return(tot+i);
|
||||
/* next chunk of data should get another prepended empty fragment
|
||||
* in ciphersuites with known-IV weakness: */
|
||||
s->s3->empty_fragment_done = 0;
|
||||
|
||||
return tot+i;
|
||||
}
|
||||
|
||||
n-=i;
|
||||
@@ -541,15 +548,16 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
|
||||
}
|
||||
|
||||
static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
|
||||
unsigned int len)
|
||||
unsigned int len, int create_empty_fragment)
|
||||
{
|
||||
unsigned char *p,*plen;
|
||||
int i,mac_size,clear=0;
|
||||
int prefix_len = 0;
|
||||
SSL3_RECORD *wr;
|
||||
SSL3_BUFFER *wb;
|
||||
SSL_SESSION *sess;
|
||||
|
||||
/* first check is there is a SSL3_RECORD still being written
|
||||
/* first check if there is a SSL3_BUFFER still being written
|
||||
* out. This will happen with non blocking IO */
|
||||
if (s->s3->wbuf.left != 0)
|
||||
return(ssl3_write_pending(s,type,buf,len));
|
||||
@@ -563,7 +571,8 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
|
||||
/* if it went, fall through and send more stuff */
|
||||
}
|
||||
|
||||
if (len == 0) return(len);
|
||||
if (len == 0 && !create_empty_fragment)
|
||||
return 0;
|
||||
|
||||
wr= &(s->s3->wrec);
|
||||
wb= &(s->s3->wbuf);
|
||||
@@ -579,16 +588,44 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
|
||||
else
|
||||
mac_size=EVP_MD_size(s->write_hash);
|
||||
|
||||
p=wb->buf;
|
||||
/* 'create_empty_fragment' is true only when this function calls itself */
|
||||
if (!clear && !create_empty_fragment && !s->s3->empty_fragment_done)
|
||||
{
|
||||
/* countermeasure against known-IV weakness in CBC ciphersuites
|
||||
* (see http://www.openssl.org/~bodo/tls-cbc.txt) */
|
||||
|
||||
if (s->s3->need_empty_fragments && type == SSL3_RT_APPLICATION_DATA)
|
||||
{
|
||||
/* recursive function call with 'create_empty_fragment' set;
|
||||
* this prepares and buffers the data for an empty fragment
|
||||
* (these 'prefix_len' bytes are sent out later
|
||||
* together with the actual payload) */
|
||||
prefix_len = do_ssl3_write(s, type, buf, 0, 1);
|
||||
if (prefix_len <= 0)
|
||||
goto err;
|
||||
|
||||
if (s->s3->wbuf_len < (size_t)prefix_len + SSL3_RT_MAX_PACKET_SIZE)
|
||||
{
|
||||
/* insufficient space */
|
||||
SSLerr(SSL_F_DO_SSL3_WRITE, SSL_R_INTERNAL_ERROR);
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
||||
s->s3->empty_fragment_done = 1;
|
||||
}
|
||||
|
||||
p = wb->buf + prefix_len;
|
||||
|
||||
/* write the header */
|
||||
|
||||
*(p++)=type&0xff;
|
||||
wr->type=type;
|
||||
|
||||
*(p++)=(s->version>>8);
|
||||
*(p++)=s->version&0xff;
|
||||
|
||||
/* record where we are to write out packet length */
|
||||
/* field where we are to write out packet length */
|
||||
plen=p;
|
||||
p+=2;
|
||||
|
||||
@@ -639,19 +676,28 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
|
||||
wr->type=type; /* not needed but helps for debugging */
|
||||
wr->length+=SSL3_RT_HEADER_LENGTH;
|
||||
|
||||
/* Now lets setup wb */
|
||||
wb->left=wr->length;
|
||||
wb->offset=0;
|
||||
if (create_empty_fragment)
|
||||
{
|
||||
/* we are in a recursive call;
|
||||
* just return the length, don't write out anything here
|
||||
*/
|
||||
return wr->length;
|
||||
}
|
||||
|
||||
/* now let's set up wb */
|
||||
wb->left = prefix_len + wr->length;
|
||||
wb->offset = 0;
|
||||
|
||||
/* memorize arguments so that ssl3_write_pending can detect bad write retries later */
|
||||
s->s3->wpend_tot=len;
|
||||
s->s3->wpend_buf=buf;
|
||||
s->s3->wpend_type=type;
|
||||
s->s3->wpend_ret=len;
|
||||
|
||||
/* we now just need to write the buffer */
|
||||
return(ssl3_write_pending(s,type,buf,len));
|
||||
return ssl3_write_pending(s,type,buf,len);
|
||||
err:
|
||||
return(-1);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* if s->s3->wbuf.left != 0, we need to call this */
|
||||
@@ -1114,7 +1160,7 @@ start:
|
||||
)
|
||||
))
|
||||
{
|
||||
s->s3->in_read_app_data=0;
|
||||
s->s3->in_read_app_data=2;
|
||||
return(-1);
|
||||
}
|
||||
else
|
||||
@@ -1200,7 +1246,7 @@ int ssl3_dispatch_alert(SSL *s)
|
||||
void (*cb)()=NULL;
|
||||
|
||||
s->s3->alert_dispatch=0;
|
||||
i=do_ssl3_write(s,SSL3_RT_ALERT,&s->s3->send_alert[0],2);
|
||||
i = do_ssl3_write(s, SSL3_RT_ALERT, &s->s3->send_alert[0], 2, 0);
|
||||
if (i <= 0)
|
||||
{
|
||||
s->s3->alert_dispatch=1;
|
||||
|
||||
@@ -711,7 +711,7 @@ static int ssl3_get_client_hello(SSL *s)
|
||||
SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO,SSL_R_NO_CIPHERS_SPECIFIED);
|
||||
goto f_err;
|
||||
}
|
||||
if ((i+p) > (d+n))
|
||||
if ((p+i) >= (d+n))
|
||||
{
|
||||
/* not enough data */
|
||||
al=SSL_AD_DECODE_ERROR;
|
||||
@@ -768,6 +768,13 @@ static int ssl3_get_client_hello(SSL *s)
|
||||
|
||||
/* compression */
|
||||
i= *(p++);
|
||||
if ((p+i) > (d+n))
|
||||
{
|
||||
/* not enough data */
|
||||
al=SSL_AD_DECODE_ERROR;
|
||||
SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO,SSL_R_LENGTH_MISMATCH);
|
||||
goto f_err;
|
||||
}
|
||||
q=p;
|
||||
for (j=0; j<i; j++)
|
||||
{
|
||||
@@ -815,7 +822,7 @@ static int ssl3_get_client_hello(SSL *s)
|
||||
/* TLS does not mind if there is extra stuff */
|
||||
if (s->version == SSL3_VERSION)
|
||||
{
|
||||
if (p > (d+n))
|
||||
if (p < (d+n))
|
||||
{
|
||||
/* wrong number of bytes,
|
||||
* there could be more to follow */
|
||||
|
||||
71
ssl/ssl3.h
71
ssl/ssl3.h
@@ -55,6 +55,59 @@
|
||||
* copied and put under another distribution licence
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* 3. All advertising materials mentioning features or use of this
|
||||
* software must display the following acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
||||
*
|
||||
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
||||
* endorse or promote products derived from this software without
|
||||
* prior written permission. For written permission, please contact
|
||||
* openssl-core@openssl.org.
|
||||
*
|
||||
* 5. Products derived from this software may not be called "OpenSSL"
|
||||
* nor may "OpenSSL" appear in their names without prior written
|
||||
* permission of the OpenSSL Project.
|
||||
*
|
||||
* 6. Redistributions of any form whatsoever must retain the following
|
||||
* acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
||||
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
||||
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* ====================================================================
|
||||
*
|
||||
* This product includes cryptographic software written by Eric Young
|
||||
* (eay@cryptsoft.com). This product includes software written by Tim
|
||||
* Hudson (tjh@cryptsoft.com).
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef HEADER_SSL3_H
|
||||
#define HEADER_SSL3_H
|
||||
@@ -201,10 +254,13 @@ typedef struct ssl3_record_st
|
||||
|
||||
typedef struct ssl3_buffer_st
|
||||
{
|
||||
unsigned char *buf; /* SSL3_RT_MAX_PACKET_SIZE bytes (more if
|
||||
* SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER is set) */
|
||||
int offset; /* where to 'copy from' */
|
||||
int left; /* how many bytes left */
|
||||
unsigned char *buf; /* at least SSL3_RT_MAX_PACKET_SIZE bytes,
|
||||
* see ssl3_setup_buffers() */
|
||||
#if 0 /* put directly into SSL3_STATE for best possible binary compatibility within 0.9.6 series */
|
||||
size_t len; /* buffer size */
|
||||
#endif
|
||||
int offset; /* where to 'copy from' */
|
||||
int left; /* how many bytes left */
|
||||
} SSL3_BUFFER;
|
||||
|
||||
#define SSL3_CT_RSA_SIGN 1
|
||||
@@ -321,6 +377,13 @@ typedef struct ssl3_state_st
|
||||
int cert_request;
|
||||
} tmp;
|
||||
|
||||
/* flags for countermeasure against known-IV weakness */
|
||||
int need_empty_fragments;
|
||||
int empty_fragment_done;
|
||||
|
||||
size_t rbuf_len; /* substitute for rbuf.len */
|
||||
size_t wbuf_len; /* substitute for wbuf.len */
|
||||
|
||||
} SSL3_STATE;
|
||||
|
||||
/* SSLv3 */
|
||||
|
||||
@@ -751,6 +751,7 @@ int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
|
||||
ret = 1;
|
||||
|
||||
err:
|
||||
if (d) closedir(d);
|
||||
CRYPTO_w_unlock(CRYPTO_LOCK_READDIR);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -85,7 +85,6 @@ OPENSSL_GLOBAL SSL3_ENC_METHOD ssl3_undef_enc_method={
|
||||
|
||||
int SSL_clear(SSL *s)
|
||||
{
|
||||
int state;
|
||||
|
||||
if (s->method == NULL)
|
||||
{
|
||||
@@ -93,6 +92,12 @@ int SSL_clear(SSL *s)
|
||||
return(0);
|
||||
}
|
||||
|
||||
if (ssl_clear_bad_session(s))
|
||||
{
|
||||
SSL_SESSION_free(s->session);
|
||||
s->session=NULL;
|
||||
}
|
||||
|
||||
s->error=0;
|
||||
s->hit=0;
|
||||
s->shutdown=0;
|
||||
@@ -110,7 +115,6 @@ int SSL_clear(SSL *s)
|
||||
}
|
||||
#endif
|
||||
|
||||
state=s->state; /* Keep to check if we throw away the session-id */
|
||||
s->type=0;
|
||||
|
||||
s->state=SSL_ST_BEFORE|((s->server)?SSL_ST_ACCEPT:SSL_ST_CONNECT);
|
||||
@@ -131,12 +135,6 @@ int SSL_clear(SSL *s)
|
||||
|
||||
ssl_clear_cipher_ctx(s);
|
||||
|
||||
if (ssl_clear_bad_session(s))
|
||||
{
|
||||
SSL_SESSION_free(s->session);
|
||||
s->session=NULL;
|
||||
}
|
||||
|
||||
s->first_packet=0;
|
||||
|
||||
#if 1
|
||||
|
||||
@@ -848,10 +848,10 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
|
||||
if (num > 1)
|
||||
--num; /* test restartability even more thoroughly */
|
||||
|
||||
r = BIO_nwrite(io1, &dataptr, (int)num);
|
||||
r = BIO_nwrite0(io1, &dataptr);
|
||||
assert(r > 0);
|
||||
assert(r <= (int)num);
|
||||
num = r;
|
||||
if (r < (int)num)
|
||||
num = r;
|
||||
r = BIO_read(io2, dataptr, (int)num);
|
||||
if (r != (int)num) /* can't happen */
|
||||
{
|
||||
@@ -860,6 +860,13 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
|
||||
goto err;
|
||||
}
|
||||
progress = 1;
|
||||
r = BIO_nwrite(io1, &dataptr, (int)num);
|
||||
if (r != (int)num) /* can't happen */
|
||||
{
|
||||
fprintf(stderr, "ERROR: BIO_nwrite() did not accept "
|
||||
"BIO_nwrite0() bytes");
|
||||
goto err;
|
||||
}
|
||||
|
||||
if (debug)
|
||||
printf((io2 == client_io) ?
|
||||
|
||||
61
ssl/t1_enc.c
61
ssl/t1_enc.c
@@ -55,6 +55,59 @@
|
||||
* copied and put under another distribution licence
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
/* ====================================================================
|
||||
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* 3. All advertising materials mentioning features or use of this
|
||||
* software must display the following acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
||||
*
|
||||
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
||||
* endorse or promote products derived from this software without
|
||||
* prior written permission. For written permission, please contact
|
||||
* openssl-core@openssl.org.
|
||||
*
|
||||
* 5. Products derived from this software may not be called "OpenSSL"
|
||||
* nor may "OpenSSL" appear in their names without prior written
|
||||
* permission of the OpenSSL Project.
|
||||
*
|
||||
* 6. Redistributions of any form whatsoever must retain the following
|
||||
* acknowledgment:
|
||||
* "This product includes software developed by the OpenSSL Project
|
||||
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
||||
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
||||
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* ====================================================================
|
||||
*
|
||||
* This product includes cryptographic software written by Eric Young
|
||||
* (eay@cryptsoft.com). This product includes software written by Tim
|
||||
* Hudson (tjh@cryptsoft.com).
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <openssl/comp.h>
|
||||
@@ -380,6 +433,14 @@ printf("\nkey block\n");
|
||||
{ int z; for (z=0; z<num; z++) printf("%02X%c",p1[z],((z+1)%16)?' ':'\n'); }
|
||||
#endif
|
||||
|
||||
/* enable vulnerability countermeasure for CBC ciphers with
|
||||
* known-IV problem (http://www.openssl.org/~bodo/tls-cbc.txt) */
|
||||
s->s3->need_empty_fragments = 1;
|
||||
#ifndef NO_RC4
|
||||
if ((s->session->cipher != NULL) && ((s->session->cipher->algorithms & SSL_ENC_MASK) == SSL_RC4))
|
||||
s->s3->need_empty_fragments = 0;
|
||||
#endif
|
||||
|
||||
return(1);
|
||||
err:
|
||||
SSLerr(SSL_F_TLS1_SETUP_KEY_BLOCK,ERR_R_MALLOC_FAILURE);
|
||||
|
||||
@@ -82,7 +82,7 @@ HEADER= $(EXHEADER)
|
||||
ALL= $(GENERAL) $(SRC) $(HEADER)
|
||||
|
||||
top:
|
||||
(cd ..; $(MAKE) DIRS=$(DIR) all)
|
||||
(cd ..; $(MAKE) DIRS=$(DIR) TESTS=$(TESTS) all)
|
||||
|
||||
all: exe
|
||||
|
||||
@@ -352,6 +352,7 @@ destest.o: ../include/openssl/des.h ../include/openssl/e_os2.h
|
||||
destest.o: ../include/openssl/opensslconf.h
|
||||
dhtest.o: ../include/openssl/bio.h ../include/openssl/bn.h
|
||||
dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
|
||||
dhtest.o: ../include/openssl/err.h ../include/openssl/lhash.h
|
||||
dhtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
|
||||
dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
|
||||
dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
|
||||
|
||||
125
util/cygwin.sh
Executable file
125
util/cygwin.sh
Executable file
@@ -0,0 +1,125 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This script configures, builds and packs the binary package for
|
||||
# the Cygwin net distribution version of OpenSSL
|
||||
#
|
||||
|
||||
# Uncomment when debugging
|
||||
#set -x
|
||||
|
||||
CONFIG_OPTIONS="--prefix=/usr shared no-idea no-rc5 no-mdc2"
|
||||
INSTALL_PREFIX=/tmp/install
|
||||
|
||||
VERSION=
|
||||
SUBVERSION=$1
|
||||
|
||||
function cleanup()
|
||||
{
|
||||
rm -rf ${INSTALL_PREFIX}/etc
|
||||
rm -rf ${INSTALL_PREFIX}/usr
|
||||
}
|
||||
|
||||
function get_openssl_version()
|
||||
{
|
||||
eval `grep '^VERSION=' Makefile.ssl`
|
||||
if [ -z "${VERSION}" ]
|
||||
then
|
||||
echo "Error: Couldn't retrieve OpenSSL version from Makefile.ssl."
|
||||
echo " Check value of variable VERSION in Makefile.ssl."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function base_install()
|
||||
{
|
||||
mkdir -p ${INSTALL_PREFIX}
|
||||
cleanup
|
||||
make install INSTALL_PREFIX="${INSTALL_PREFIX}"
|
||||
}
|
||||
|
||||
function doc_install()
|
||||
{
|
||||
DOC_DIR=${INSTALL_PREFIX}/usr/doc/openssl
|
||||
|
||||
mkdir -p ${DOC_DIR}
|
||||
cp CHANGES CHANGES.SSLeay INSTALL LICENSE NEWS README ${DOC_DIR}
|
||||
|
||||
create_cygwin_readme
|
||||
}
|
||||
|
||||
function create_cygwin_readme()
|
||||
{
|
||||
README_DIR=${INSTALL_PREFIX}/usr/doc/Cygwin
|
||||
README_FILE=${README_DIR}/openssl-${VERSION}.README
|
||||
|
||||
mkdir -p ${README_DIR}
|
||||
cat > ${README_FILE} <<- EOF
|
||||
The Cygwin version has been built using the following configure:
|
||||
|
||||
./config ${CONFIG_OPTIONS}
|
||||
|
||||
The IDEA, RC5 and MDC2 algorithms are disabled due to patent and/or
|
||||
licensing issues.
|
||||
EOF
|
||||
}
|
||||
|
||||
function create_profile_files()
|
||||
{
|
||||
PROFILE_DIR=${INSTALL_PREFIX}/etc/profile.d
|
||||
|
||||
mkdir -p $PROFILE_DIR
|
||||
cat > ${PROFILE_DIR}/openssl.sh <<- "EOF"
|
||||
export MANPATH="${MANPATH}:/usr/ssl/man"
|
||||
EOF
|
||||
cat > ${PROFILE_DIR}/openssl.csh <<- "EOF"
|
||||
if ( $?MANPATH ) then
|
||||
setenv MANPATH "${MANPATH}:/usr/ssl/man"
|
||||
else
|
||||
setenv MANPATH ":/usr/ssl/man"
|
||||
endif
|
||||
EOF
|
||||
}
|
||||
|
||||
if [ -z "${SUBVERSION}" ]
|
||||
then
|
||||
echo "Usage: $0 subversion"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f config ]
|
||||
then
|
||||
echo "You must start this script in the OpenSSL toplevel source dir."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
./config ${CONFIG_OPTIONS}
|
||||
|
||||
get_openssl_version
|
||||
|
||||
make || exit 1
|
||||
|
||||
base_install
|
||||
|
||||
doc_install
|
||||
|
||||
create_cygwin_readme
|
||||
|
||||
create_profile_files
|
||||
|
||||
cd ${INSTALL_PREFIX}
|
||||
strip usr/bin/*.exe usr/bin/*.dll
|
||||
|
||||
# Runtime package
|
||||
find etc usr/bin usr/doc usr/ssl/certs usr/ssl/man/man[157] usr/ssl/misc \
|
||||
usr/ssl/openssl.cnf usr/ssl/private -empty -o \! -type d |
|
||||
tar cjfT openssl-${VERSION}-${SUBVERSION}.tar.bz2 -
|
||||
# Development package
|
||||
find usr/include usr/lib usr/ssl/man/man3 -empty -o \! -type d |
|
||||
tar cjfT openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 -
|
||||
|
||||
ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2
|
||||
ls -l openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2
|
||||
|
||||
cleanup
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user