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