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