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