]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
Make all engines available in the openssl application.
[thirdparty/openssl.git] / CHANGES
CommitLineData
651d0aff 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
c5e8580e
RL
5 Changes between 0.9.6 and 0.9.7 [xx XXX 2000]
6
e7ef1a56
RL
7 *) Make it so the openssl application has all engines loaded by default.
8 [Richard Levitte]
9
020fc820
RL
10 *) Constify the BIGNUM routines a little more.
11 [Richard Levitte]
12
6b77e6d7
RL
13 *) Make sure that shared libraries get the internal name engine with
14 the full version number and not just 0. This should mark the
15 shared libraries as not backward compatible. Of course, this should
16 be changed again when we can guarantee backward binary compatibility.
17 [Richard Levitte]
18
11c0f120
RL
19 *) Add the following functions:
20
21 ENGINE_load_cswift()
22 ENGINE_load_chil()
23 ENGINE_load_atalla()
24 ENGINE_load_nuron()
25 ENGINE_load_builtin_engines()
26
27 That way, an application can itself choose if external engines that
28 are built-in in OpenSSL shall ever be used or not. The benefit is
29 that applications won't have to be linked with libdl or other dso
30 libraries unless it's really needed.
31
32 Changed 'openssl engine' to load all engines on demand.
33 Changed the engine header files to avoid the duplication of some
34 declarations (they differed!).
35 [Richard Levitte]
36
69e7805f
RL
37 *) 'openssl engine' can now list capabilities.
38 [Richard Levitte]
39
e264cfe1
RL
40 *) Better error reporting in 'openssl engine'.
41 [Richard Levitte]
42
15d52ddb
BM
43 *) Never call load_dh_param(NULL) in s_server.
44 [Bodo Moeller]
45
14c6d27d
RL
46 *) Add engine application. It can currently list engines by name and
47 identity, and test if they are actually available.
48 [Richard Levitte]
49
dcea8e12
RL
50 *) Add support for shared libraries under Irix.
51 [Albert Chin-A-Young <china@thewrittenword.com>]
52
501ebf16
RL
53 *) Improve RPM specification file by forcing symbolic linking and making
54 sure the installed documentation is also owned by root.root.
55 [Damien Miller <djm@mindrot.org>]
56
815c83f7
RL
57 *) Add configuration option to build on Linux on both big-endian and
58 little-endian MIPS.
59 [Ralf Baechle <ralf@uni-koblenz.de>]
60
3aba98e7
RL
61 *) Give the OpenSSL applications more possibilities to make use of
62 keys (public as well as private) handled by engines.
63 [Richard Levitte]
64
7c155330
RL
65 *) Add OCSP code that comes from CertCo.
66 [Richard Levitte]
67
34a14882 68 *) Add VMS support for the Rijndael code.
5270e702
RL
69 [Richard Levitte]
70
71 *) Added untested support for Nuron crypto accelerator.
72 [Ben Laurie]
73
74 *) Add support for external cryptographic devices. This code was
75 previously distributed separately as the "engine" branch.
76 [Geoff Thorpe, Richard Levitte]
77
1df586be
GT
78 *) Rework the filename-translation in the DSO code. It is now possible to
79 have far greater control over how a "name" is turned into a filename
80 depending on the operating environment and any oddities about the
81 different shared library filenames on each system.
82 [Geoff Thorpe]
83
53400da7
RL
84 *) Support threads on FreeBSD-elf in Configure.
85 [Richard Levitte]
86
0fd44e2d
RL
87 *) Add the possibility to create shared libraries on HP-UX
88 [Richard Levitte]
89
627ec355
DSH
90 *) Fix for SHA1 assembly problem with MASM: it produces
91 warnings about corrupt line number information when assembling
92 with debugging information. This is caused by the overlapping
93 of two sections.
94 [Bernd Matthes <mainbug@celocom.de>, Steve Henson]
95
567f17cf
RL
96 *) NCONF changes.
97 NCONF_get_number() has no error checking at all. As a replacement,
98 NCONF_get_number_e() is defined (_e for "error checking") and is
99 promoted strongly. The old NCONF_get_number is kept around for
100 binary backward compatibility.
101 Make it possible for methods to load from something other than a BIO,
102 by providing a function pointer that is given a name instead of a BIO.
103 For example, this could be used to load configuration data from an
104 LDAP server.
105 [Richard Levitte]
106
71d525c9
DSH
107 *) Fix typo in get_cert_by_subject() in by_dir.c
108 [Jean-Marc Desperrier <jean-marc.desperrier@certplus.com>]
109
a22fb399
RL
110 *) Rework the system to generate shared libraries:
111
112 - Make note of the expected extension for the shared libraries and
113 if there is a need for symbolic links from for example libcrypto.so.0
114 to libcrypto.so.0.9.7. There is extended info in Configure for
115 that.
116
117 - Make as few rebuilds of the shared libraries as possible.
118
119 - Still avoid linking the OpenSSL programs with the shared libraries.
120
121 - When installing, install the shared libraries separately from the
122 static ones.
123 [Richard Levitte]
124
924046ce
DSH
125 *) Fix for non blocking accept BIOs. Added new I/O special reason
126 BIO_RR_ACCEPT to cover this case. Previously use of accept BIOs
127 with non blocking I/O was not possible because no retry code was
128 implemented. Also added new SSL code SSL_WANT_ACCEPT to cover
129 this case.
130 [Steve Henson]
131
3ab56511
RL
132 *) Added the beginnings of Rijndael support.
133 [Ben Laurie]
134
d0c98589 135 *) Fix for bug in DirectoryString mask setting. Add support for
8ca533e3
DSH
136 X509_NAME_print_ex() in 'req' and X509_print_ex() function
137 to allow certificate printing to more controllable, additional
138 'certopt' option to 'x509' to allow new printing options to be
139 set.
d0c98589
DSH
140 [Steve Henson]
141
ef71cb6d
RL
142 *) Clean old EAY MD5 hack from e_os.h.
143 [Richard Levitte]
144
3a0afe1e
BM
145 *) Fix SSL_CTX_set_read_ahead macro to actually use its argument.
146
147 Copy SSL_CTX's read_ahead flag to SSL object directly in SSL_new
148 and not in SSL_clear because the latter is also used by the
149 accept/connect functions; previously, the settings made by
150 SSL_set_read_ahead would be lost during the handshake.
151 [Bodo Moeller; problems reported by Anders Gertz <gertz@epact.se>]
152
88aeb646
RL
153 *) Correct util/mkdef.pl to be selective about disabled algorithms.
154 Previously, it would create entries for disableed algorithms no
155 matter what.
156 [Richard Levitte]
c5e8580e 157
0e8f2fdf 158 Changes between 0.9.5a and 0.9.6 [24 Sep 2000]
bbb72003 159
f1192b7f
BM
160 *) In ssl23_get_client_hello, generate an error message when faced
161 with an initial SSL 3.0/TLS record that is too small to contain the
162 first two bytes of the ClientHello message, i.e. client_version.
163 (Note that this is a pathologic case that probably has never happened
164 in real life.) The previous approach was to use the version number
5a5accdd 165 from the record header as a substitute; but our protocol choice
f1192b7f
BM
166 should not depend on that one because it is not authenticated
167 by the Finished messages.
168 [Bodo Moeller]
169
d49da3aa
UM
170 *) More robust randomness gathering functions for Windows.
171 [Jeffrey Altman <jaltman@columbia.edu>]
172
dbba890c
DSH
173 *) For compatibility reasons if the flag X509_V_FLAG_ISSUER_CHECK is
174 not set then we don't setup the error code for issuer check errors
175 to avoid possibly overwriting other errors which the callback does
176 handle. If an application does set the flag then we assume it knows
177 what it is doing and can handle the new informational codes
178 appropriately.
179 [Steve Henson]
180
6cffb201
DSH
181 *) Fix for a nasty bug in ASN1_TYPE handling. ASN1_TYPE is used for
182 a general "ANY" type, as such it should be able to decode anything
183 including tagged types. However it didn't check the class so it would
184 wrongly interpret tagged types in the same way as their universal
185 counterpart and unknown types were just rejected. Changed so that the
186 tagged and unknown types are handled in the same way as a SEQUENCE:
187 that is the encoding is stored intact. There is also a new type
188 "V_ASN1_OTHER" which is used when the class is not universal, in this
189 case we have no idea what the actual type is so we just lump them all
190 together.
191 [Steve Henson]
192
645749ef
RL
193 *) On VMS, stdout may very well lead to a file that is written to
194 in a record-oriented fashion. That means that every write() will
195 write a separate record, which will be read separately by the
196 programs trying to read from it. This can be very confusing.
197
198 The solution is to put a BIO filter in the way that will buffer
199 text until a linefeed is reached, and then write everything a
200 line at a time, so every record written will be an actual line,
201 not chunks of lines and not (usually doesn't happen, but I've
202 seen it once) several lines in one record. BIO_f_linebuffer() is
203 the answer.
204
205 Currently, it's a VMS-only method, because that's where it has
206 been tested well enough.
207 [Richard Levitte]
208
fe035197 209 *) Remove 'optimized' squaring variant in BN_mod_mul_montgomery,
a45bd295 210 it can return incorrect results.
cb1fbf8e
BM
211 (Note: The buggy variant was not enabled in OpenSSL 0.9.5a,
212 but it was in 0.9.6-beta[12].)
a45bd295
BM
213 [Bodo Moeller]
214
730e37ed
DSH
215 *) Disable the check for content being present when verifying detached
216 signatures in pk7_smime.c. Some versions of Netscape (wrongly)
217 include zero length content when signing messages.
218 [Steve Henson]
219
07fcf422
BM
220 *) New BIO_shutdown_wr macro, which invokes the BIO_C_SHUTDOWN_WR
221 BIO_ctrl (for BIO pairs).
d49da3aa 222