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