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