6 Changes between 0.9.1c and 0.9.2
8 *) Make `openssl x509 -noout -modulus' functional also for DSA certificates
9 (in addition to RSA certificates) to match the behaviour of `openssl dsa
10 -noout -modulus' as it's already the case for `openssl rsa -noout
11 -modulus'. For RSA the -modulus is the real "modulus" while for DSA
12 currently the public key is printed (a decision which was already done by
13 `openssl dsa -modulus' in the past) which serves a similar purpose.
14 Additionally the NO_RSA no longer completely removes the whole -modulus
15 option; it now only avoids using the RSA stuff. Same applies to NO_DSA
19 *) Add Arne Ansper's reliable BIO - this is an encrypted, block-digested
20 BIO. See the source (crypto/evp/bio_ok.c) for more info.
21 [Arne Ansper <arne@ats.cyber.ee>]
23 *) Dump the old yucky req code that tried (and failed) to allow raw OIDs
24 to be added. Now both 'req' and 'ca' can use new objects defined in the
28 *) Add cool BIO that does syslog (or event log on NT).
29 [Arne Ansper <arne@ats.cyber.ee>, integrated by Ben Laurie]
31 *) Add support for new TLS ciphersuites, TLS_RSA_EXPORT56_WITH_RC4_56_MD5,
32 TLS_RSA_EXPORT56_WITH_RC2_CBC_56_MD5 and
33 TLS_RSA_EXPORT56_WITH_DES_CBC_SHA, as specified in "56-bit Export Cipher
34 Suites For TLS", draft-ietf-tls-56-bit-ciphersuites-00.txt.
37 *) Add preliminary config info for new extension code.
40 *) Make RSA_NO_PADDING really use no padding.
41 [Ulf Moeller <ulf@fitug.de>]
43 *) Generate errors when private/public key check is done.
46 *) Overhaul for 'crl' utility. New function X509_CRL_print. Partial support
47 for some CRL extensions and new objects added.
50 *) Really fix the ASN1 IMPLICIT bug this time... Partial support for private
51 key usage extension and fuller support for authority key id.
54 *) Add OAEP encryption for the OpenSSL crypto library. OAEP is the improved
55 padding method for RSA, which is recommended for new applications in PKCS
56 #1 v2.0 (RFC 2437, October 1998).
57 OAEP (Optimal Asymmetric Encryption Padding) has better theoretical
58 foundations than the ad-hoc padding used in PKCS #1 v1.5. It is secure
59 against Bleichbacher's attack on RSA.
60 [Ulf Moeller <ulf@fitug.de>, reformatted, corrected and integrated by
63 *) Updates to the new SSL compression code
64 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
66 *) Fix so that the version number in the master secret, when passed
67 via RSA, checks that if TLS was proposed, but we roll back to SSLv3
68 (because the server will not accept higher), that the version number
69 is 0x03,0x01, not 0x03,0x00
70 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
72 *) Run extensive memory leak checks on SSL apps. Fixed *lots* of memory
73 leaks in ssl/ relating to new X509_get_pubkey() behaviour. Also fixes
74 in apps/ and an unrelated leak in crypto/dsa/dsa_vrf.c
77 *) Support for RAW extensions where an arbitrary extension can be
78 created by including its DER encoding. See apps/openssl.cnf for
82 *) Make sure latest Perl versions don't interpret some generated C array
83 code as Perl array code in the crypto/err/err_genc.pl script.
84 [Lars Weber <3weber@informatik.uni-hamburg.de>]
86 *) Modify ms/do_ms.bat to not generate assembly language makefiles since
87 not many people have the assembler. Various Win32 compilation fixes and
88 update to the INSTALL.W32 file with (hopefully) more accurate Win32
92 *) Modify configure script 'Configure' to automatically create crypto/date.h
93 file under Win32 and also build pem.h from pem.org. New script
94 util/mkfiles.pl to create the MINFO file on environments that can't do a
95 'make files': perl util/mkfiles.pl >MINFO should work.
98 *) Major rework of DES function declarations, in the pursuit of correctness
99 and purity. As a result, many evil casts evaporated, and some weirdness,
100 too. You may find this causes warnings in your code. Zapping your evil
101 casts will probably fix them. Mostly.
104 *) Fix for a typo in asn1.h. Bug fix to object creation script
105 obj_dat.pl. It considered a zero in an object definition to mean
106 "end of object": none of the objects in objects.h have any zeros
107 so it wasn't spotted.
108 [Steve Henson, reported by Erwann ABALEA <eabalea@certplus.com>]
110 *) Add support for Triple DES Cipher Block Chaining with Output Feedback
111 Masking (CBCM). In the absence of test vectors, the best I have been able
112 to do is check that the decrypt undoes the encrypt, so far. Send me test
113 vectors if you have them.
116 *) Correct caclulation of key length for export ciphers (too much space was
117 allocated for null ciphers). This has not been tested!
120 *) Modifications to the mkdef.pl for Win32 DEF file creation. The usage
121 message is now correct (it understands "crypto" and "ssl" on its
122 command line). There is also now an "update" option. This will update
123 the util/ssleay.num and util/libeay.num files with any new functions.
125 perl util/mkdef.pl crypto ssl update
129 *) Overhauled the Perl interface (perl/*):
130 - ported BN stuff to OpenSSL's different BN library
131 - made the perl/ source tree CVS-aware
132 - renamed the package from SSLeay to OpenSSL (the files still contain
133 their history because I've copied them in the repository)
134 - removed obsolete files (the test scripts will be replaced
135 by better Test::Harness variants in the future)
136 [Ralf S. Engelschall]
138 *) First cut for a very conservative source tree cleanup:
139 1. merge various obsolete readme texts into doc/ssleay.txt
140 where we collect the old documents and readme texts.
141 2. remove the first part of files where I'm already sure that we no
142 longer need them because of three reasons: either they are just temporary
143 files which were left by Eric or they are preserved original files where
144 I've verified that the diff is also available in the CVS via "cvs diff
145 -rSSLeay_0_8_1b" or they were renamed (as it was definitely the case for
146 the crypto/md/ stuff).
147 [Ralf S. Engelschall]
149 *) More extension code. Incomplete support for subject and issuer alt
150 name, issuer and authority key id. Change the i2v function parameters
151 and add an extra 'crl' parameter in the X509V3_CTX structure: guess
152 what that's for :-) Fix to ASN1 macro which messed up
153 IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
156 *) Preliminary support for ENUMERATED type. This is largely copied from the
160 *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
161 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
163 *) Make sure `make rehash' target really finds the `openssl' program.
164 [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
166 *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
167 like to hear about it if this slows down other processors.
170 *) Add CygWin32 platform information to Configure script.
171 [Alan Batie <batie@aahz.jf.intel.com>]
173 *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
174 [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
176 *) New program nseq to manipulate netscape certificate sequences
179 *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
183 *) Fixes to BN code. Previously the default was to define BN_RECURSION
184 but the BN code had some problems that would cause failures when
185 doing certificate verification and some other functions.
186 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
188 *) Add ASN1 and PEM code to support netscape certificate sequences.
191 *) Add ASN1 and PEM code to support netscape certificate sequences.
194 *) Add several PKIX and private extended key usage OIDs.
197 *) Modify the 'ca' program to handle the new extension code. Modify
198 openssl.cnf for new extension format, add comments.
201 *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
202 and add a sample to openssl.cnf so req -x509 now adds appropriate
206 *) Continued X509 V3 changes. Add to other makefiles, integrate with the
207 error code, add initial support to X509_print() and x509 application.
210 *) Takes a deep breath and start addding X509 V3 extension support code. Add
211 files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
212 stuff is currently isolated and isn't even compiled yet.
215 *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
216 ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
217 Removed the versions check from X509 routines when loading extensions:
218 this allows certain broken certificates that don't set the version
219 properly to be processed.
222 *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
223 Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
224 can still be regenerated with "make depend".
227 *) Spelling mistake in C version of CAST-128.
228 [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
230 *) Changes to the error generation code. The perl script err-code.pl
231 now reads in the old error codes and retains the old numbers, only
232 adding new ones if necessary. It also only changes the .err files if new
233 codes are added. The makefiles have been modified to only insert errors
234 when needed (to avoid needlessly modifying header files). This is done
235 by only inserting errors if the .err file is newer than the auto generated
236 C file. To rebuild all the error codes from scratch (the old behaviour)
237 either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
238 or delete all the .err files.
241 *) CAST-128 was incorrectly implemented for short keys. The C version has
242 been fixed, but is untested. The assembler versions are also fixed, but
243 new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
244 to regenerate it if needed.
245 [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
246 Hagino <itojun@kame.net>]
248 *) File was opened incorrectly in randfile.c.
249 [Ulf Möller <ulf@fitug.de>]
251 *) Beginning of support for GeneralizedTime. d2i, i2d, check and print
252 functions. Also ASN1_TIME suite which is a CHOICE of UTCTime or
253 GeneralizedTime. ASN1_TIME is the proper type used in certificates et
254 al: it's just almost always a UTCTime. Note this patch adds new error
255 codes so do a "make errors" if there are problems.
258 *) Correct Linux 1 recognition in config.
259 [Ulf Möller <ulf@fitug.de>]
261 *) Remove pointless MD5 hash when using DSA keys in ca.
262 [Anonymous <nobody@replay.com>]
264 *) Generate an error if given an empty string as a cert directory. Also
265 generate an error if handed NULL (previously returned 0 to indicate an
266 error, but didn't set one).
267 [Ben Laurie, reported by Anonymous <nobody@replay.com>]
269 *) Add prototypes to SSL methods. Make SSL_write's buffer const, at last.
272 *) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
273 parameters. This was causing a warning which killed off the Win32 compile.
276 *) Remove C++ style comments from crypto/bn/bn_local.h.
277 [Neil Costigan <neil.costigan@celocom.com>]
279 *) The function OBJ_txt2nid was broken. It was supposed to return a nid
280 based on a text string, looking up short and long names and finally
281 "dot" format. The "dot" format stuff didn't work. Added new function
282 OBJ_txt2obj to do the same but return an ASN1_OBJECT and rewrote
283 OBJ_txt2nid to use it. OBJ_txt2obj can also return objects even if the
284 OID is not part of the table.
287 *) Add prototypes to X509 lookup/verify methods, fixing a bug in
288 X509_LOOKUP_by_alias().
291 *) Sort openssl functions by name.
294 *) Get the gendsa program working (hopefully) and add it to app list. Remove
295 encryption from sample DSA keys (in case anyone is interested the password
299 *) Make _all_ *_free functions accept a NULL pointer.
300 [Frans Heymans <fheymans@isaserver.be>]
302 *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
304 [Anonymous <nobody@replay.com>]
306 *) s_server should send the CAfile as acceptable CAs, not its own cert.
307 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
309 *) Don't blow it for numeric -newkey arguments to apps/req.
310 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
312 *) Temp key "for export" tests were wrong in s3_srvr.c.
313 [Anonymous <nobody@replay.com>]
315 *) Add prototype for temp key callback functions
316 SSL_CTX_set_tmp_{rsa,dh}_callback().
319 *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
320 DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
323 *) X509_name_add_entry() freed the wrong thing after an error.
324 [Arne Ansper <arne@ats.cyber.ee>]
326 *) rsa_eay.c would attempt to free a NULL context.
327 [Arne Ansper <arne@ats.cyber.ee>]
329 *) BIO_s_socket() had a broken should_retry() on Windoze.
330 [Arne Ansper <arne@ats.cyber.ee>]
332 *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
333 [Arne Ansper <arne@ats.cyber.ee>]
335 *) Make sure the already existing X509_STORE->depth variable is initialized
336 in X509_STORE_new(), but document the fact that this variable is still
337 unused in the certificate verification process.
338 [Ralf S. Engelschall]
340 *) Fix the various library and apps files to free up pkeys obtained from
341 X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
344 *) Fix reference counting in X509_PUBKEY_get(). This makes
345 demos/maurice/example2.c work, amongst others, probably.
346 [Steve Henson and Ben Laurie]
348 *) First cut of a cleanup for apps/. First the `ssleay' program is now named
349 `openssl' and second, the shortcut symlinks for the `openssl <command>'
350 are no longer created. This way we have a single and consistent command
351 line interface `openssl <command>', similar to `cvs <command>'.
352 [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
354 *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
355 BIT STRING wrapper always have zero unused bits.
358 *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
361 *) Make the top-level INSTALL documentation easier to understand.
364 *) Makefiles updated to exit if an error occurs in a sub-directory
365 make (including if user presses ^C) [Paul Sutton]
367 *) Make Montgomery context stuff explicit in RSA data structure.
370 *) Fix build order of pem and err to allow for generated pem.h.
373 *) Fix renumbering bug in X509_NAME_delete_entry().
376 *) Enhanced the err-ins.pl script so it makes the error library number
377 global and can add a library name. This is needed for external ASN1 and
378 other error libraries.
381 *) Fixed sk_insert which never worked properly.
384 *) Fix ASN1 macros so they can handle indefinite length construted
385 EXPLICIT tags. Some non standard certificates use these: they can now
389 *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
390 into a single doc/ssleay.txt bundle. This way the information is still
391 preserved but no longer messes up this directory. Now it's new room for
392 the new set of documenation files.
393 [Ralf S. Engelschall]
395 *) SETs were incorrectly DER encoded. This was a major pain, because they
396 shared code with SEQUENCEs, which aren't coded the same. This means that
397 almost everything to do with SETs or SEQUENCEs has either changed name or
399 [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
401 *) Fix test data to work with the above.
404 *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
405 was already fixed by Eric for 0.9.1 it seems.
406 [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
408 *) Autodetect FreeBSD3.
411 *) Fix various bugs in Configure. This affects the following platforms:
419 *) Eliminate generated files from CVS. Reorder tests to regenerate files
420 before they are needed.
423 *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
426 Changes between 0.9.1b and 0.9.1c
428 *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and
429 changed SSLeay to OpenSSL in version strings.
430 [Ralf S. Engelschall]
432 *) Some fixups to the top-level documents.
435 *) Fixed the nasty bug where rsaref.h was not found under compile-time
436 because the symlink to include/ was missing.
437 [Ralf S. Engelschall]
439 *) Incorporated the popular no-RSA/DSA-only patches
440 which allow to compile a RSA-free SSLeay.
441 [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
443 *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
444 when "ssleay" is still not found.
445 [Ralf S. Engelschall]
447 *) Added more platforms to Configure: Cray T3E, HPUX 11,
448 [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
450 *) Updated the README file.
451 [Ralf S. Engelschall]
453 *) Added various .cvsignore files in the CVS repository subdirs
454 to make a "cvs update" really silent.
455 [Ralf S. Engelschall]
457 *) Recompiled the error-definition header files and added
458 missing symbols to the Win32 linker tables.
459 [Ralf S. Engelschall]
461 *) Cleaned up the top-level documents;
462 o new files: CHANGES and LICENSE
463 o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay
464 o merged COPYRIGHT into LICENSE
465 o removed obsolete TODO file
466 o renamed MICROSOFT to INSTALL.W32
467 [Ralf S. Engelschall]
469 *) Removed dummy files from the 0.9.1b source tree:
470 crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
471 crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
472 crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
473 crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
474 util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
475 [Ralf S. Engelschall]
477 *) Added various platform portability fixes.
480 *) The Genesis of the OpenSSL rpject:
481 We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
482 Young and Tim J. Hudson created while they were working for C2Net until
484 [The OpenSSL Project]
486 Changes between 0.9.0b and 0.9.1b
488 *) Updated a few CA certificates under certs/
491 *) Changed some BIGNUM api stuff.
494 *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD,
495 DGUX x86, Linux Alpha, etc.
498 *) New COMP library [crypto/comp/] for SSL Record Layer Compression:
499 RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
503 *) Add -strparse option to asn1pars program which parses nested
505 [Dr Stephen Henson <shenson@bigfoot.com>]
507 *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
510 *) DSA fix for "ca" program.
513 *) Added "-genkey" option to "dsaparam" program.
516 *) Added RIPE MD160 (rmd160) message digest.
519 *) Added -a (all) option to "ssleay version" command.
522 *) Added PLATFORM define which is the id given to Configure.
525 *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
528 *) Extended the ASN.1 parser routines.
531 *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
534 *) Added a BN_CTX to the BN library.
537 *) Fixed the weak key values in DES library
540 *) Changed API in EVP library for cipher aliases.
543 *) Added support for RC2/64bit cipher.
546 *) Converted the lhash library to the crypto/mem.c functions.
549 *) Added more recognized ASN.1 object ids.
552 *) Added more RSA padding checks for SSL/TLS.
555 *) Added BIO proxy/filter functionality.
558 *) Added extra_certs to SSL_CTX which can be used
559 send extra CA certificates to the client in the CA cert chain sending
560 process. It can be configured with SSL_CTX_add_extra_chain_cert().
563 *) Now Fortezza is denied in the authentication phase because
564 this is key exchange mechanism is not supported by SSLeay at all.
567 *) Additional PKCS1 checks.
570 *) Support the string "TLSv1" for all TLS v1 ciphers.
573 *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
574 ex_data index of the SSL context in the X509_STORE_CTX ex_data.
577 *) Fixed a few memory leaks.
580 *) Fixed various code and comment typos.
583 *) A minor bug in ssl/s3_clnt.c where there would always be 4 0
584 bytes sent in the client random.
585 [Edward Bishop <ebishop@spyglass.com>]