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