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