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