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