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