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