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