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