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