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