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