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