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