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