Delete legacy file.
[openssl.git] / CHANGES
1
2  OpenSSL CHANGES
3  _______________
4
5
6  Changes between 0.9.1c and 0.9.2
7
8   *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
9      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
10
11   *) Make sure `make rehash' target really finds the `openssl' program.
12      [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
13
14   *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
15      like to hear about it if this slows down other processors.
16      [Ben Laurie]
17
18   *) Add CygWin32 platform information to Configure script.
19      [Alan Batie <batie@aahz.jf.intel.com>]
20
21   *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
22      [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
23   
24   *) New program nseq to manipulate netscape certificate sequences
25      [Steve Henson]
26
27   *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
28      few typos.
29      [Steve Henson]
30
31   *) Fixes to BN code.  Previously the default was to define BN_RECURSION
32      but the BN code had some problems that would cause failures when
33      doing certificate verification and some other functions.
34      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
35
36   *) Add ASN1 and PEM code to support netscape certificate sequences.
37      [Steve Henson]
38
39   *) Add ASN1 and PEM code to support netscape certificate sequences.
40      [Steve Henson]
41
42   *) Add several PKIX and private extended key usage OIDs.
43      [Steve Henson]
44
45   *) Modify the 'ca' program to handle the new extension code. Modify
46      openssl.cnf for new extension format, add comments.
47      [Steve Henson]
48
49   *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
50      and add a sample to openssl.cnf so req -x509 now adds appropriate
51      CA extensions.
52      [Steve Henson]
53
54   *) Continued X509 V3 changes. Add to other makefiles, integrate with the
55      error code, add initial support to X509_print() and x509 application.
56      [Steve Henson]
57
58   *) Takes a deep breath and start addding X509 V3 extension support code. Add
59      files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
60      stuff is currently isolated and isn't even compiled yet.
61      [Steve Henson]
62
63   *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
64      ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
65      Removed the versions check from X509 routines when loading extensions:
66      this allows certain broken certificates that don't set the version
67      properly to be processed.
68      [Steve Henson]
69
70   *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
71      Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
72      can still be regenerated with "make depend".
73      [Ben Laurie]
74
75   *) Spelling mistake in C version of CAST-128.
76      [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
77
78   *) Changes to the error generation code. The perl script err-code.pl 
79      now reads in the old error codes and retains the old numbers, only
80      adding new ones if necessary. It also only changes the .err files if new
81      codes are added. The makefiles have been modified to only insert errors
82      when needed (to avoid needlessly modifying header files). This is done
83      by only inserting errors if the .err file is newer than the auto generated
84      C file. To rebuild all the error codes from scratch (the old behaviour)
85      either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
86      or delete all the .err files.
87      [Steve Henson]
88
89   *) CAST-128 was incorrectly implemented for short keys. The C version has
90      been fixed, but is untested. The assembler versions are also fixed, but
91      new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
92      to regenerate it if needed.
93      [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
94       Hagino <itojun@kame.net>]
95
96   *) File was opened incorrectly in randfile.c.
97      [Ulf Möller <ulf@fitug.de>]
98
99   *) Beginning of support for GeneralizedTime. d2i, i2d, check and print
100      functions. Also ASN1_TIME suite which is a CHOICE of UTCTime or
101      GeneralizedTime. ASN1_TIME is the proper type used in certificates et
102      al: it's just almost always a UTCTime. Note this patch adds new error
103      codes so do a "make errors" if there are problems.
104      [Steve Henson]
105
106   *) Correct Linux 1 recognition in config.
107      [Ulf Möller <ulf@fitug.de>]
108
109   *) Remove pointless MD5 hash when using DSA keys in ca.
110      [Anonymous <nobody@replay.com>]
111
112   *) Generate an error if given an empty string as a cert directory. Also
113      generate an error if handed NULL (previously returned 0 to indicate an
114      error, but didn't set one).
115      [Ben Laurie, reported by Anonymous <nobody@replay.com>]
116
117   *) Add prototypes to SSL methods. Make SSL_write's buffer const, at last.
118      [Ben Laurie]
119
120   *) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
121      parameters. This was causing a warning which killed off the Win32 compile.
122      [Steve Henson]
123
124   *) Remove C++ style comments from crypto/bn/bn_local.h.
125      [Neil Costigan <neil.costigan@celocom.com>]
126
127   *) The function OBJ_txt2nid was broken. It was supposed to return a nid
128      based on a text string, looking up short and long names and finally
129      "dot" format. The "dot" format stuff didn't work. Added new function
130      OBJ_txt2obj to do the same but return an ASN1_OBJECT and rewrote 
131      OBJ_txt2nid to use it. OBJ_txt2obj can also return objects even if the
132      OID is not part of the table.
133      [Steve Henson]
134
135   *) Add prototypes to X509 lookup/verify methods, fixing a bug in
136      X509_LOOKUP_by_alias().
137      [Ben Laurie]
138
139   *) Sort openssl functions by name.
140      [Ben Laurie]
141
142   *) Get the gendsa program working (hopefully) and add it to app list. Remove
143      encryption from sample DSA keys (in case anyone is interested the password
144      was "1234").
145      [Steve Henson]
146
147   *) Make _all_ *_free functions accept a NULL pointer.
148      [Frans Heymans <fheymans@isaserver.be>]
149
150   *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
151      NULL pointers.
152      [Anonymous <nobody@replay.com>]
153
154   *) s_server should send the CAfile as acceptable CAs, not its own cert.
155      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
156
157   *) Don't blow it for numeric -newkey arguments to apps/req.
158      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
159
160   *) Temp key "for export" tests were wrong in s3_srvr.c.
161      [Anonymous <nobody@replay.com>]
162
163   *) Add prototype for temp key callback functions
164      SSL_CTX_set_tmp_{rsa,dh}_callback().
165      [Ben Laurie]
166
167   *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
168      DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
169      [Steve Henson]
170
171   *) X509_name_add_entry() freed the wrong thing after an error.
172      [Arne Ansper <arne@ats.cyber.ee>]
173
174   *) rsa_eay.c would attempt to free a NULL context.
175      [Arne Ansper <arne@ats.cyber.ee>]
176
177   *) BIO_s_socket() had a broken should_retry() on Windoze.
178      [Arne Ansper <arne@ats.cyber.ee>]
179
180   *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
181      [Arne Ansper <arne@ats.cyber.ee>]
182
183   *) Make sure the already existing X509_STORE->depth variable is initialized
184      in X509_STORE_new(), but document the fact that this variable is still
185      unused in the certificate verification process.
186      [Ralf S. Engelschall]
187
188   *) Fix the various library and apps files to free up pkeys obtained from
189      X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
190      [Steve Henson]
191
192   *) Fix reference counting in X509_PUBKEY_get(). This makes
193      demos/maurice/example2.c work, amongst others, probably.
194      [Steve Henson and Ben Laurie]
195
196   *) First cut of a cleanup for apps/. First the `ssleay' program is now named
197      `openssl' and second, the shortcut symlinks for the `openssl <command>'
198      are no longer created. This way we have a single and consistent command
199      line interface `openssl <command>', similar to `cvs <command>'.
200      [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
201
202   *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
203      BIT STRING wrapper always have zero unused bits.
204      [Steve Henson]
205
206   *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
207      [Steve Henson]
208
209   *) Make the top-level INSTALL documentation easier to understand.
210      [Paul Sutton]
211
212   *) Makefiles updated to exit if an error occurs in a sub-directory
213      make (including if user presses ^C) [Paul Sutton]
214
215   *) Make Montgomery context stuff explicit in RSA data structure.
216      [Ben Laurie]
217
218   *) Fix build order of pem and err to allow for generated pem.h.
219      [Ben Laurie]
220
221   *) Fix renumbering bug in X509_NAME_delete_entry().
222      [Ben Laurie]
223
224   *) Enhanced the err-ins.pl script so it makes the error library number 
225      global and can add a library name. This is needed for external ASN1 and
226      other error libraries.
227      [Steve Henson]
228
229   *) Fixed sk_insert which never worked properly.
230      [Steve Henson]
231
232   *) Fix ASN1 macros so they can handle indefinite length construted 
233      EXPLICIT tags. Some non standard certificates use these: they can now
234      be read in.
235      [Steve Henson]
236
237   *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
238      into a single doc/ssleay.txt bundle. This way the information is still
239      preserved but no longer messes up this directory. Now it's new room for
240      the new set of documenation files.
241      [Ralf S. Engelschall]
242
243   *) SETs were incorrectly DER encoded. This was a major pain, because they
244      shared code with SEQUENCEs, which aren't coded the same. This means that
245      almost everything to do with SETs or SEQUENCEs has either changed name or
246      number of arguments.
247      [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
248
249   *) Fix test data to work with the above.
250      [Ben Laurie]
251
252   *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
253      was already fixed by Eric for 0.9.1 it seems.
254      [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
255
256   *) Autodetect FreeBSD3.
257      [Ben Laurie]
258
259   *) Fix various bugs in Configure. This affects the following platforms:
260      nextstep
261      ncr-scde
262      unixware-2.0
263      unixware-2.0-pentium
264      sco5-cc.
265      [Ben Laurie]
266
267   *) Eliminate generated files from CVS. Reorder tests to regenerate files
268      before they are needed.
269      [Ben Laurie]
270
271   *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
272      [Ben Laurie]
273
274  Changes between 0.9.1b and 0.9.1c
275
276   *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and 
277      changed SSLeay to OpenSSL in version strings.
278      [Ralf S. Engelschall]
279   
280   *) Some fixups to the top-level documents.
281      [Paul Sutton]
282
283   *) Fixed the nasty bug where rsaref.h was not found under compile-time
284      because the symlink to include/ was missing.
285      [Ralf S. Engelschall]
286
287   *) Incorporated the popular no-RSA/DSA-only patches 
288      which allow to compile a RSA-free SSLeay.
289      [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
290
291   *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
292      when "ssleay" is still not found.
293      [Ralf S. Engelschall]
294
295   *) Added more platforms to Configure: Cray T3E, HPUX 11, 
296      [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
297
298   *) Updated the README file.
299      [Ralf S. Engelschall]
300
301   *) Added various .cvsignore files in the CVS repository subdirs
302      to make a "cvs update" really silent.
303      [Ralf S. Engelschall]
304
305   *) Recompiled the error-definition header files and added
306      missing symbols to the Win32 linker tables.
307      [Ralf S. Engelschall]
308
309   *) Cleaned up the top-level documents;
310      o new files: CHANGES and LICENSE
311      o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay 
312      o merged COPYRIGHT into LICENSE
313      o removed obsolete TODO file
314      o renamed MICROSOFT to INSTALL.W32
315      [Ralf S. Engelschall]
316
317   *) Removed dummy files from the 0.9.1b source tree: 
318      crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
319      crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
320      crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
321      crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
322      util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
323      [Ralf S. Engelschall]
324
325   *) Added various platform portability fixes.
326      [Mark J. Cox]
327
328   *) The Genesis of the OpenSSL rpject:
329      We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
330      Young and Tim J. Hudson created while they were working for C2Net until
331      summer 1998.
332      [The OpenSSL Project]
333  
334  Changes between 0.9.0b and 0.9.1b
335
336   *) Updated a few CA certificates under certs/
337      [Eric A. Young]
338
339   *) Changed some BIGNUM api stuff.
340      [Eric A. Young]
341
342   *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD, 
343      DGUX x86, Linux Alpha, etc.
344      [Eric A. Young]
345
346   *) New COMP library [crypto/comp/] for SSL Record Layer Compression: 
347      RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
348      available).
349      [Eric A. Young]
350
351   *) Add -strparse option to asn1pars program which parses nested 
352      binary structures 
353      [Dr Stephen Henson <shenson@bigfoot.com>]
354
355   *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
356      [Eric A. Young]
357
358   *) DSA fix for "ca" program.
359      [Eric A. Young]
360
361   *) Added "-genkey" option to "dsaparam" program.
362      [Eric A. Young]
363
364   *) Added RIPE MD160 (rmd160) message digest.
365      [Eric A. Young]
366
367   *) Added -a (all) option to "ssleay version" command.
368      [Eric A. Young]
369
370   *) Added PLATFORM define which is the id given to Configure.
371      [Eric A. Young]
372
373   *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
374      [Eric A. Young]
375
376   *) Extended the ASN.1 parser routines.
377      [Eric A. Young]
378
379   *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
380      [Eric A. Young]
381
382   *) Added a BN_CTX to the BN library.
383      [Eric A. Young]
384
385   *) Fixed the weak key values in DES library
386      [Eric A. Young]
387
388   *) Changed API in EVP library for cipher aliases.
389      [Eric A. Young]
390
391   *) Added support for RC2/64bit cipher.
392      [Eric A. Young]
393
394   *) Converted the lhash library to the crypto/mem.c functions.
395      [Eric A. Young]
396
397   *) Added more recognized ASN.1 object ids.
398      [Eric A. Young]
399
400   *) Added more RSA padding checks for SSL/TLS.
401      [Eric A. Young]
402
403   *) Added BIO proxy/filter functionality.
404      [Eric A. Young]
405
406   *) Added extra_certs to SSL_CTX which can be used
407      send extra CA certificates to the client in the CA cert chain sending
408      process. It can be configured with SSL_CTX_add_extra_chain_cert().
409      [Eric A. Young]
410
411   *) Now Fortezza is denied in the authentication phase because
412      this is key exchange mechanism is not supported by SSLeay at all.
413      [Eric A. Young]
414
415   *) Additional PKCS1 checks.
416      [Eric A. Young]
417
418   *) Support the string "TLSv1" for all TLS v1 ciphers.
419      [Eric A. Young]
420
421   *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
422      ex_data index of the SSL context in the X509_STORE_CTX ex_data.
423      [Eric A. Young]
424
425   *) Fixed a few memory leaks.
426      [Eric A. Young]
427
428   *) Fixed various code and comment typos.
429      [Eric A. Young]
430
431   *) A minor bug in ssl/s3_clnt.c where there would always be 4 0 
432      bytes sent in the client random.
433      [Edward Bishop <ebishop@spyglass.com>]
434