6 Changes between 0.9.1c and 0.9.2
8 *) Add new certificate file to stack functions, SSL_add_cert_file_to_stack()
9 and SSL_add_cert_dir_to_stack(). These largely supplant
10 SSL_load_client_CA_file(), and can be used to add multiple certs easily to
11 a stack (usually this is then handed to SSL_CTX_set_client_CA_list()).
12 This means that Apache-SSL and similar packages don't have to mess around
13 to add as many CAs as they want to the preferred list.
16 *) Experiment with doxygen documentation. Currently only partially applied to
18 See http://www.stack.nl/~dimitri/doxygen/index.html, and run doxygen with
19 openssl.doxy as the configuration file.
22 *) Get rid of remaining C++-style comments which strict C compilers hate.
23 [Ralf S. Engelschall, pointed out by Carlos Amengual]
25 *) Changed BN_RECURSION in bn_mont.c to BN_RECURSION_MONT so it is not
26 compiled in by default: it has problems with large keys.
29 *) Add a bunch of SSL_xxx() functions for configuring the temporary RSA and
30 DH private keys and/or callback functions which directly correspond to
31 their SSL_CTX_xxx() counterparts but work on a per-connection basis. This
32 is needed for applications which have to configure certificates on a
33 per-connection basis (e.g. Apache+mod_ssl) instead of a per-context basis
35 For the RSA certificate situation is makes no difference, but
36 for the DSA certificate situation this fixes the "no shared cipher"
37 problem where the OpenSSL cipher selection procedure failed because the
38 temporary keys were not overtaken from the context and the API provided
39 no way to reconfigure them.
40 The new functions now let applications reconfigure the stuff and they
41 are in detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
42 SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback. Additionally a new
43 non-public-API function ssl_cert_instantiate() is used as a helper
44 function and also to reduce code redundancy inside ssl_rsa.c.
47 *) Move s_server -dcert and -dkey options out of the undocumented feature
48 area because they are useful for the DSA situation and should be
49 recognized by the users.
52 *) Fix the cipher decision scheme for export ciphers: the export bits are
53 *not* within SSL_MKEY_MASK or SSL_AUTH_MASK, they are within
54 SSL_EXP_MASK. So, the original variable has to be used instead of the
55 already masked variable.
56 [Richard Levitte <levitte@stacken.kth.se>]
58 *) Fix 'port' variable from `int' to `unsigned int' in crypto/bio/b_sock.c
59 [Richard Levitte <levitte@stacken.kth.se>]
61 *) Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
62 from `int' to `unsigned int' because it's a length and initialized by
63 EVP_DigestFinal() which expects an `unsigned int *'.
64 [Richard Levitte <levitte@stacken.kth.se>]
66 *) Don't hard-code path to Perl interpreter on shebang line of Configure
67 script. Instead use the usual Shell->Perl transition trick.
70 *) Make `openssl x509 -noout -modulus' functional also for DSA certificates
71 (in addition to RSA certificates) to match the behaviour of `openssl dsa
72 -noout -modulus' as it's already the case for `openssl rsa -noout
73 -modulus'. For RSA the -modulus is the real "modulus" while for DSA
74 currently the public key is printed (a decision which was already done by
75 `openssl dsa -modulus' in the past) which serves a similar purpose.
76 Additionally the NO_RSA no longer completely removes the whole -modulus
77 option; it now only avoids using the RSA stuff. Same applies to NO_DSA
81 *) Add Arne Ansper's reliable BIO - this is an encrypted, block-digested
82 BIO. See the source (crypto/evp/bio_ok.c) for more info.
83 [Arne Ansper <arne@ats.cyber.ee>]
85 *) Dump the old yucky req code that tried (and failed) to allow raw OIDs
86 to be added. Now both 'req' and 'ca' can use new objects defined in the
90 *) Add cool BIO that does syslog (or event log on NT).
91 [Arne Ansper <arne@ats.cyber.ee>, integrated by Ben Laurie]
93 *) Add support for new TLS ciphersuites, TLS_RSA_EXPORT56_WITH_RC4_56_MD5,
94 TLS_RSA_EXPORT56_WITH_RC2_CBC_56_MD5 and
95 TLS_RSA_EXPORT56_WITH_DES_CBC_SHA, as specified in "56-bit Export Cipher
96 Suites For TLS", draft-ietf-tls-56-bit-ciphersuites-00.txt.
99 *) Add preliminary config info for new extension code.
102 *) Make RSA_NO_PADDING really use no padding.
103 [Ulf Moeller <ulf@fitug.de>]
105 *) Generate errors when private/public key check is done.
108 *) Overhaul for 'crl' utility. New function X509_CRL_print. Partial support
109 for some CRL extensions and new objects added.
112 *) Really fix the ASN1 IMPLICIT bug this time... Partial support for private
113 key usage extension and fuller support for authority key id.
116 *) Add OAEP encryption for the OpenSSL crypto library. OAEP is the improved
117 padding method for RSA, which is recommended for new applications in PKCS
118 #1 v2.0 (RFC 2437, October 1998).
119 OAEP (Optimal Asymmetric Encryption Padding) has better theoretical
120 foundations than the ad-hoc padding used in PKCS #1 v1.5. It is secure
121 against Bleichbacher's attack on RSA.
122 [Ulf Moeller <ulf@fitug.de>, reformatted, corrected and integrated by
125 *) Updates to the new SSL compression code
126 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
128 *) Fix so that the version number in the master secret, when passed
129 via RSA, checks that if TLS was proposed, but we roll back to SSLv3
130 (because the server will not accept higher), that the version number
131 is 0x03,0x01, not 0x03,0x00
132 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
134 *) Run extensive memory leak checks on SSL apps. Fixed *lots* of memory
135 leaks in ssl/ relating to new X509_get_pubkey() behaviour. Also fixes
136 in apps/ and an unrelated leak in crypto/dsa/dsa_vrf.c
139 *) Support for RAW extensions where an arbitrary extension can be
140 created by including its DER encoding. See apps/openssl.cnf for
144 *) Make sure latest Perl versions don't interpret some generated C array
145 code as Perl array code in the crypto/err/err_genc.pl script.
146 [Lars Weber <3weber@informatik.uni-hamburg.de>]
148 *) Modify ms/do_ms.bat to not generate assembly language makefiles since
149 not many people have the assembler. Various Win32 compilation fixes and
150 update to the INSTALL.W32 file with (hopefully) more accurate Win32
154 *) Modify configure script 'Configure' to automatically create crypto/date.h
155 file under Win32 and also build pem.h from pem.org. New script
156 util/mkfiles.pl to create the MINFO file on environments that can't do a
157 'make files': perl util/mkfiles.pl >MINFO should work.
160 *) Major rework of DES function declarations, in the pursuit of correctness
161 and purity. As a result, many evil casts evaporated, and some weirdness,
162 too. You may find this causes warnings in your code. Zapping your evil
163 casts will probably fix them. Mostly.
166 *) Fix for a typo in asn1.h. Bug fix to object creation script
167 obj_dat.pl. It considered a zero in an object definition to mean
168 "end of object": none of the objects in objects.h have any zeros
169 so it wasn't spotted.
170 [Steve Henson, reported by Erwann ABALEA <eabalea@certplus.com>]
172 *) Add support for Triple DES Cipher Block Chaining with Output Feedback
173 Masking (CBCM). In the absence of test vectors, the best I have been able
174 to do is check that the decrypt undoes the encrypt, so far. Send me test
175 vectors if you have them.
178 *) Correct caclulation of key length for export ciphers (too much space was
179 allocated for null ciphers). This has not been tested!
182 *) Modifications to the mkdef.pl for Win32 DEF file creation. The usage
183 message is now correct (it understands "crypto" and "ssl" on its
184 command line). There is also now an "update" option. This will update
185 the util/ssleay.num and util/libeay.num files with any new functions.
187 perl util/mkdef.pl crypto ssl update
191 *) Overhauled the Perl interface (perl/*):
192 - ported BN stuff to OpenSSL's different BN library
193 - made the perl/ source tree CVS-aware
194 - renamed the package from SSLeay to OpenSSL (the files still contain
195 their history because I've copied them in the repository)
196 - removed obsolete files (the test scripts will be replaced
197 by better Test::Harness variants in the future)
198 [Ralf S. Engelschall]
200 *) First cut for a very conservative source tree cleanup:
201 1. merge various obsolete readme texts into doc/ssleay.txt
202 where we collect the old documents and readme texts.
203 2. remove the first part of files where I'm already sure that we no
204 longer need them because of three reasons: either they are just temporary
205 files which were left by Eric or they are preserved original files where
206 I've verified that the diff is also available in the CVS via "cvs diff
207 -rSSLeay_0_8_1b" or they were renamed (as it was definitely the case for
208 the crypto/md/ stuff).
209 [Ralf S. Engelschall]
211 *) More extension code. Incomplete support for subject and issuer alt
212 name, issuer and authority key id. Change the i2v function parameters
213 and add an extra 'crl' parameter in the X509V3_CTX structure: guess
214 what that's for :-) Fix to ASN1 macro which messed up
215 IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
218 *) Preliminary support for ENUMERATED type. This is largely copied from the
222 *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
223 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
225 *) Make sure `make rehash' target really finds the `openssl' program.
226 [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
228 *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
229 like to hear about it if this slows down other processors.
232 *) Add CygWin32 platform information to Configure script.
233 [Alan Batie <batie@aahz.jf.intel.com>]
235 *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
236 [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
238 *) New program nseq to manipulate netscape certificate sequences
241 *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
245 *) Fixes to BN code. Previously the default was to define BN_RECURSION
246 but the BN code had some problems that would cause failures when
247 doing certificate verification and some other functions.
248 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
250 *) Add ASN1 and PEM code to support netscape certificate sequences.
253 *) Add ASN1 and PEM code to support netscape certificate sequences.
256 *) Add several PKIX and private extended key usage OIDs.
259 *) Modify the 'ca' program to handle the new extension code. Modify
260 openssl.cnf for new extension format, add comments.
263 *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
264 and add a sample to openssl.cnf so req -x509 now adds appropriate
268 *) Continued X509 V3 changes. Add to other makefiles, integrate with the
269 error code, add initial support to X509_print() and x509 application.
272 *) Takes a deep breath and start addding X509 V3 extension support code. Add
273 files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
274 stuff is currently isolated and isn't even compiled yet.
277 *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
278 ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
279 Removed the versions check from X509 routines when loading extensions:
280 this allows certain broken certificates that don't set the version
281 properly to be processed.
284 *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
285 Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
286 can still be regenerated with "make depend".
289 *) Spelling mistake in C version of CAST-128.
290 [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
292 *) Changes to the error generation code. The perl script err-code.pl
293 now reads in the old error codes and retains the old numbers, only
294 adding new ones if necessary. It also only changes the .err files if new
295 codes are added. The makefiles have been modified to only insert errors
296 when needed (to avoid needlessly modifying header files). This is done
297 by only inserting errors if the .err file is newer than the auto generated
298 C file. To rebuild all the error codes from scratch (the old behaviour)
299 either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
300 or delete all the .err files.
303 *) CAST-128 was incorrectly implemented for short keys. The C version has
304 been fixed, but is untested. The assembler versions are also fixed, but
305 new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
306 to regenerate it if needed.
307 [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
308 Hagino <itojun@kame.net>]
310 *) File was opened incorrectly in randfile.c.
311 [Ulf Möller <ulf@fitug.de>]
313 *) Beginning of support for GeneralizedTime. d2i, i2d, check and print
314 functions. Also ASN1_TIME suite which is a CHOICE of UTCTime or
315 GeneralizedTime. ASN1_TIME is the proper type used in certificates et
316 al: it's just almost always a UTCTime. Note this patch adds new error
317 codes so do a "make errors" if there are problems.
320 *) Correct Linux 1 recognition in config.
321 [Ulf Möller <ulf@fitug.de>]
323 *) Remove pointless MD5 hash when using DSA keys in ca.
324 [Anonymous <nobody@replay.com>]
326 *) Generate an error if given an empty string as a cert directory. Also
327 generate an error if handed NULL (previously returned 0 to indicate an
328 error, but didn't set one).
329 [Ben Laurie, reported by Anonymous <nobody@replay.com>]
331 *) Add prototypes to SSL methods. Make SSL_write's buffer const, at last.
334 *) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
335 parameters. This was causing a warning which killed off the Win32 compile.
338 *) Remove C++ style comments from crypto/bn/bn_local.h.
339 [Neil Costigan <neil.costigan@celocom.com>]
341 *) The function OBJ_txt2nid was broken. It was supposed to return a nid
342 based on a text string, looking up short and long names and finally
343 "dot" format. The "dot" format stuff didn't work. Added new function
344 OBJ_txt2obj to do the same but return an ASN1_OBJECT and rewrote
345 OBJ_txt2nid to use it. OBJ_txt2obj can also return objects even if the
346 OID is not part of the table.
349 *) Add prototypes to X509 lookup/verify methods, fixing a bug in
350 X509_LOOKUP_by_alias().
353 *) Sort openssl functions by name.
356 *) Get the gendsa program working (hopefully) and add it to app list. Remove
357 encryption from sample DSA keys (in case anyone is interested the password
361 *) Make _all_ *_free functions accept a NULL pointer.
362 [Frans Heymans <fheymans@isaserver.be>]
364 *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
366 [Anonymous <nobody@replay.com>]
368 *) s_server should send the CAfile as acceptable CAs, not its own cert.
369 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
371 *) Don't blow it for numeric -newkey arguments to apps/req.
372 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
374 *) Temp key "for export" tests were wrong in s3_srvr.c.
375 [Anonymous <nobody@replay.com>]
377 *) Add prototype for temp key callback functions
378 SSL_CTX_set_tmp_{rsa,dh}_callback().
381 *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
382 DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
385 *) X509_name_add_entry() freed the wrong thing after an error.
386 [Arne Ansper <arne@ats.cyber.ee>]
388 *) rsa_eay.c would attempt to free a NULL context.
389 [Arne Ansper <arne@ats.cyber.ee>]
391 *) BIO_s_socket() had a broken should_retry() on Windoze.
392 [Arne Ansper <arne@ats.cyber.ee>]
394 *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
395 [Arne Ansper <arne@ats.cyber.ee>]
397 *) Make sure the already existing X509_STORE->depth variable is initialized
398 in X509_STORE_new(), but document the fact that this variable is still
399 unused in the certificate verification process.
400 [Ralf S. Engelschall]
402 *) Fix the various library and apps files to free up pkeys obtained from
403 X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
406 *) Fix reference counting in X509_PUBKEY_get(). This makes
407 demos/maurice/example2.c work, amongst others, probably.
408 [Steve Henson and Ben Laurie]
410 *) First cut of a cleanup for apps/. First the `ssleay' program is now named
411 `openssl' and second, the shortcut symlinks for the `openssl <command>'
412 are no longer created. This way we have a single and consistent command
413 line interface `openssl <command>', similar to `cvs <command>'.
414 [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
416 *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
417 BIT STRING wrapper always have zero unused bits.
420 *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
423 *) Make the top-level INSTALL documentation easier to understand.
426 *) Makefiles updated to exit if an error occurs in a sub-directory
427 make (including if user presses ^C) [Paul Sutton]
429 *) Make Montgomery context stuff explicit in RSA data structure.
432 *) Fix build order of pem and err to allow for generated pem.h.
435 *) Fix renumbering bug in X509_NAME_delete_entry().
438 *) Enhanced the err-ins.pl script so it makes the error library number
439 global and can add a library name. This is needed for external ASN1 and
440 other error libraries.
443 *) Fixed sk_insert which never worked properly.
446 *) Fix ASN1 macros so they can handle indefinite length construted
447 EXPLICIT tags. Some non standard certificates use these: they can now
451 *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
452 into a single doc/ssleay.txt bundle. This way the information is still
453 preserved but no longer messes up this directory. Now it's new room for
454 the new set of documenation files.
455 [Ralf S. Engelschall]
457 *) SETs were incorrectly DER encoded. This was a major pain, because they
458 shared code with SEQUENCEs, which aren't coded the same. This means that
459 almost everything to do with SETs or SEQUENCEs has either changed name or
461 [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
463 *) Fix test data to work with the above.
466 *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
467 was already fixed by Eric for 0.9.1 it seems.
468 [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
470 *) Autodetect FreeBSD3.
473 *) Fix various bugs in Configure. This affects the following platforms:
481 *) Eliminate generated files from CVS. Reorder tests to regenerate files
482 before they are needed.
485 *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
488 Changes between 0.9.1b and 0.9.1c
490 *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and
491 changed SSLeay to OpenSSL in version strings.
492 [Ralf S. Engelschall]
494 *) Some fixups to the top-level documents.
497 *) Fixed the nasty bug where rsaref.h was not found under compile-time
498 because the symlink to include/ was missing.
499 [Ralf S. Engelschall]
501 *) Incorporated the popular no-RSA/DSA-only patches
502 which allow to compile a RSA-free SSLeay.
503 [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
505 *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
506 when "ssleay" is still not found.
507 [Ralf S. Engelschall]
509 *) Added more platforms to Configure: Cray T3E, HPUX 11,
510 [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
512 *) Updated the README file.
513 [Ralf S. Engelschall]
515 *) Added various .cvsignore files in the CVS repository subdirs
516 to make a "cvs update" really silent.
517 [Ralf S. Engelschall]
519 *) Recompiled the error-definition header files and added
520 missing symbols to the Win32 linker tables.
521 [Ralf S. Engelschall]
523 *) Cleaned up the top-level documents;
524 o new files: CHANGES and LICENSE
525 o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay
526 o merged COPYRIGHT into LICENSE
527 o removed obsolete TODO file
528 o renamed MICROSOFT to INSTALL.W32
529 [Ralf S. Engelschall]
531 *) Removed dummy files from the 0.9.1b source tree:
532 crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
533 crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
534 crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
535 crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
536 util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
537 [Ralf S. Engelschall]
539 *) Added various platform portability fixes.
542 *) The Genesis of the OpenSSL rpject:
543 We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
544 Young and Tim J. Hudson created while they were working for C2Net until
546 [The OpenSSL Project]
548 Changes between 0.9.0b and 0.9.1b
550 *) Updated a few CA certificates under certs/
553 *) Changed some BIGNUM api stuff.
556 *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD,
557 DGUX x86, Linux Alpha, etc.
560 *) New COMP library [crypto/comp/] for SSL Record Layer Compression:
561 RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
565 *) Add -strparse option to asn1pars program which parses nested
567 [Dr Stephen Henson <shenson@bigfoot.com>]
569 *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
572 *) DSA fix for "ca" program.
575 *) Added "-genkey" option to "dsaparam" program.
578 *) Added RIPE MD160 (rmd160) message digest.
581 *) Added -a (all) option to "ssleay version" command.
584 *) Added PLATFORM define which is the id given to Configure.
587 *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
590 *) Extended the ASN.1 parser routines.
593 *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
596 *) Added a BN_CTX to the BN library.
599 *) Fixed the weak key values in DES library
602 *) Changed API in EVP library for cipher aliases.
605 *) Added support for RC2/64bit cipher.
608 *) Converted the lhash library to the crypto/mem.c functions.
611 *) Added more recognized ASN.1 object ids.
614 *) Added more RSA padding checks for SSL/TLS.
617 *) Added BIO proxy/filter functionality.
620 *) Added extra_certs to SSL_CTX which can be used
621 send extra CA certificates to the client in the CA cert chain sending
622 process. It can be configured with SSL_CTX_add_extra_chain_cert().
625 *) Now Fortezza is denied in the authentication phase because
626 this is key exchange mechanism is not supported by SSLeay at all.
629 *) Additional PKCS1 checks.
632 *) Support the string "TLSv1" for all TLS v1 ciphers.
635 *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
636 ex_data index of the SSL context in the X509_STORE_CTX ex_data.
639 *) Fixed a few memory leaks.
642 *) Fixed various code and comment typos.
645 *) A minor bug in ssl/s3_clnt.c where there would always be 4 0
646 bytes sent in the client random.
647 [Edward Bishop <ebishop@spyglass.com>]