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