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