8849c867564888cf1589049fce00a5ed8dd7d686
[openssl.git] / CHANGES
1
2  OpenSSL CHANGES
3  _______________
4
5
6  Changes between 0.9.1c and 0.9.2
7
8   *) Add prototypes to X509 lookup/verify methods, fixing a bug in
9      X509_LOOKUP_by_alias().
10      [Ben Laurie]
11
12   *) Sort openssl functions by name.
13      [Ben Laurie]
14
15   *) Get the gendsa program working (hopefully) and add it to app list. Remove
16      encryption from sample DSA keys (in case anyone is interested the password
17      was "1234").
18      [Steve Henson]
19
20   *) Make _all_ *_free functions accept a NULL pointer.
21      [Frans Heymans <fheymans@isaserver.be>]
22
23   *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
24      NULL pointers.
25      [Anonymous <nobody@replay.com>]
26
27   *) s_server should send the CAfile as acceptable CAs, not its own cert.
28      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
29
30   *) Don't blow it for numeric -newkey arguments to apps/req.
31      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
32
33   *) Temp key "for export" tests were wrong in s3_srvr.c.
34      [Anonymous <nobody@replay.com>]
35
36   *) Add prototype for temp key callback functions
37      SSL_CTX_set_tmp_{rsa,dh}_callback().
38      [Ben Laurie]
39
40   *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
41      DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
42      [Steve Henson]
43
44   *) X509_name_add_entry() freed the wrong thing after an error.
45      [Arne Ansper <arne@ats.cyber.ee>]
46
47   *) rsa_eay.c would attempt to free a NULL context.
48      [Arne Ansper <arne@ats.cyber.ee>]
49
50   *) BIO_s_socket() had a broken should_retry() on Windoze.
51      [Arne Ansper <arne@ats.cyber.ee>]
52
53   *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
54      [Arne Ansper <arne@ats.cyber.ee>]
55
56   *) Make sure the already existing X509_STORE->depth variable is initialized
57      in X509_STORE_new(), but document the fact that this variable is still
58      unused in the certificate verification process.
59      [Ralf S. Engelschall]
60
61   *) Fix the various library and apps files to free up pkeys obtained from
62      X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
63      [Steve Henson]
64
65   *) Fix reference counting in X509_PUBKEY_get(). This makes
66      demos/maurice/example2.c work, amongst others, probably.
67      [Steve Henson and Ben Laurie]
68
69   *) First cut of a cleanup for apps/. First the `ssleay' program is now named
70      `openssl' and second, the shortcut symlinks for the `openssl <command>'
71      are no longer created. This way we have a single and consistent command
72      line interface `openssl <command>', similar to `cvs <command>'.
73      [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
74
75   *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
76      BIT STRING wrapper always have zero unused bits.
77      [Steve Henson]
78
79   *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
80      [Steve Henson]
81
82   *) Make the top-level INSTALL documentation easier to understand.
83      [Paul Sutton]
84
85   *) Makefiles updated to exit if an error occurs in a sub-directory
86      make (including if user presses ^C) [Paul Sutton]
87
88   *) Make Montgomery context stuff explicit in RSA data structure.
89      [Ben Laurie]
90
91   *) Fix build order of pem and err to allow for generated pem.h.
92      [Ben Laurie]
93
94   *) Fix renumbering bug in X509_NAME_delete_entry().
95      [Ben Laurie]
96
97   *) Enhanced the err-ins.pl script so it makes the error library number 
98      global and can add a library name. This is needed for external ASN1 and
99      other error libraries.
100      [Steve Henson]
101
102   *) Fixed sk_insert which never worked properly.
103      [Steve Henson]
104
105   *) Fix ASN1 macros so they can handle indefinite length construted 
106      EXPLICIT tags. Some non standard certificates use these: they can now
107      be read in.
108      [Steve Henson]
109
110   *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
111      into a single doc/ssleay.txt bundle. This way the information is still
112      preserved but no longer messes up this directory. Now it's new room for
113      the new set of documenation files.
114      [Ralf S. Engelschall]
115
116   *) SETs were incorrectly DER encoded. This was a major pain, because they
117      shared code with SEQUENCEs, which aren't coded the same. This means that
118      almost everything to do with SETs or SEQUENCEs has either changed name or
119      number of arguments.
120      [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
121
122   *) Fix test data to work with the above.
123      [Ben Laurie]
124
125   *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
126      was already fixed by Eric for 0.9.1 it seems.
127      [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
128
129   *) Autodetect FreeBSD3.
130      [Ben Laurie]
131
132   *) Fix various bugs in Configure. This affects the following platforms:
133      nextstep
134      ncr-scde
135      unixware-2.0
136      unixware-2.0-pentium
137      sco5-cc.
138      [Ben Laurie]
139
140   *) Eliminate generated files from CVS. Reorder tests to regenerate files
141      before they are needed.
142      [Ben Laurie]
143
144   *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
145      [Ben Laurie]
146
147  Changes between 0.9.1b and 0.9.1c
148
149   *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and 
150      changed SSLeay to OpenSSL in version strings.
151      [Ralf S. Engelschall]
152   
153   *) Some fixups to the top-level documents.
154      [Paul Sutton]
155
156   *) Fixed the nasty bug where rsaref.h was not found under compile-time
157      because the symlink to include/ was missing.
158      [Ralf S. Engelschall]
159
160   *) Incorporated the popular no-RSA/DSA-only patches 
161      which allow to compile a RSA-free SSLeay.
162      [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
163
164   *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
165      when "ssleay" is still not found.
166      [Ralf S. Engelschall]
167
168   *) Added more platforms to Configure: Cray T3E, HPUX 11, 
169      [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
170
171   *) Updated the README file.
172      [Ralf S. Engelschall]
173
174   *) Added various .cvsignore files in the CVS repository subdirs
175      to make a "cvs update" really silent.
176      [Ralf S. Engelschall]
177
178   *) Recompiled the error-definition header files and added
179      missing symbols to the Win32 linker tables.
180      [Ralf S. Engelschall]
181
182   *) Cleaned up the top-level documents;
183      o new files: CHANGES and LICENSE
184      o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay 
185      o merged COPYRIGHT into LICENSE
186      o removed obsolete TODO file
187      o renamed MICROSOFT to INSTALL.W32
188      [Ralf S. Engelschall]
189
190   *) Removed dummy files from the 0.9.1b source tree: 
191      crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
192      crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
193      crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
194      crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
195      util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
196      [Ralf S. Engelschall]
197
198   *) Added various platform portability fixes.
199      [Mark J. Cox]
200
201   *) The Genesis of the OpenSSL rpject:
202      We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
203      Young and Tim J. Hudson created while they were working for C2Net until
204      summer 1998.
205      [The OpenSSL Project]
206  
207  Changes between 0.9.0b and 0.9.1b
208
209   *) Updated a few CA certificates under certs/
210      [Eric A. Young]
211
212   *) Changed some BIGNUM api stuff.
213      [Eric A. Young]
214
215   *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD, 
216      DGUX x86, Linux Alpha, etc.
217      [Eric A. Young]
218
219   *) New COMP library [crypto/comp/] for SSL Record Layer Compression: 
220      RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
221      available).
222      [Eric A. Young]
223
224   *) Add -strparse option to asn1pars program which parses nested 
225      binary structures 
226      [Dr Stephen Henson <shenson@bigfoot.com>]
227
228   *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
229      [Eric A. Young]
230
231   *) DSA fix for "ca" program.
232      [Eric A. Young]
233
234   *) Added "-genkey" option to "dsaparam" program.
235      [Eric A. Young]
236
237   *) Added RIPE MD160 (rmd160) message digest.
238      [Eric A. Young]
239
240   *) Added -a (all) option to "ssleay version" command.
241      [Eric A. Young]
242
243   *) Added PLATFORM define which is the id given to Configure.
244      [Eric A. Young]
245
246   *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
247      [Eric A. Young]
248
249   *) Extended the ASN.1 parser routines.
250      [Eric A. Young]
251
252   *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
253      [Eric A. Young]
254
255   *) Added a BN_CTX to the BN library.
256      [Eric A. Young]
257
258   *) Fixed the weak key values in DES library
259      [Eric A. Young]
260
261   *) Changed API in EVP library for cipher aliases.
262      [Eric A. Young]
263
264   *) Added support for RC2/64bit cipher.
265      [Eric A. Young]
266
267   *) Converted the lhash library to the crypto/mem.c functions.
268      [Eric A. Young]
269
270   *) Added more recognized ASN.1 object ids.
271      [Eric A. Young]
272
273   *) Added more RSA padding checks for SSL/TLS.
274      [Eric A. Young]
275
276   *) Added BIO proxy/filter functionality.
277      [Eric A. Young]
278
279   *) Added extra_certs to SSL_CTX which can be used
280      send extra CA certificates to the client in the CA cert chain sending
281      process. It can be configured with SSL_CTX_add_extra_chain_cert().
282      [Eric A. Young]
283
284   *) Now Fortezza is denied in the authentication phase because
285      this is key exchange mechanism is not supported by SSLeay at all.
286      [Eric A. Young]
287
288   *) Additional PKCS1 checks.
289      [Eric A. Young]
290
291   *) Support the string "TLSv1" for all TLS v1 ciphers.
292      [Eric A. Young]
293
294   *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
295      ex_data index of the SSL context in the X509_STORE_CTX ex_data.
296      [Eric A. Young]
297
298   *) Fixed a few memory leaks.
299      [Eric A. Young]
300
301   *) Fixed various code and comment typos.
302      [Eric A. Young]
303
304   *) A minor bug in ssl/s3_clnt.c where there would always be 4 0 
305      bytes sent in the client random.
306      [Edward Bishop <ebishop@spyglass.com>]
307