6 Changes between 0.9.2b and 0.9.3
8 *) Add missing sk_<type>_unshift() function to safestack.h
11 *) Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).
14 *) New function SSL_CTX_use_certificate_chain_file that sets the
15 "extra_cert"s in addition to the certificate. (This makes sense
16 only for "PEM" format files, as chains as a whole are not
20 *) Support verify_depth from the SSL API.
21 x509_vfy.c had what can be considered an off-by-one-error:
22 Its depth (which was not part of the external interface)
23 was actually counting the number of certificates in a chain;
24 now it really counts the depth.
27 *) Bugfix in crypto/x509/x509_cmp.c: The SSLerr macro was used
28 instead of X509err, which often resulted in confusing error
29 messages since the error codes are not globally unique
30 (e.g. an alleged error in ssl3_accept when a certificate
31 didn't match the private key).
33 *) New function SSL_CTX_set_session_id_context that allows to set a default
34 value (so that you don't need SSL_set_session_id_context for each
35 connection using the SSL_CTX).
38 *) OAEP decoding bug fix.
41 *) Support INSTALL_PREFIX for package builders, as proposed by
45 *) New Configure options "threads" and "no-threads". For systems
46 where the proper compiler options are known (currently Solaris
47 and Linux), "threads" is the default.
50 *) New script util/mklink.pl as a faster substitute for util/mklink.sh.
53 *) Install various scripts to $(OPENSSLDIR)/misc, not to
54 $(INSTALLTOP)/bin -- they shouldn't clutter directories
55 such as /usr/local/bin.
58 *) "make linux-shared" to build shared libraries.
59 [Niels Poppe <niels@netbox.org>]
61 *) New Configure option no-<cipher> (rsa, idea, rc5, ...).
64 *) Add the PKCS#12 API documentation to openssl.txt. Preliminary support for
65 extension adding in x509 utility.
68 *) Remove NOPROTO sections and error code comments.
71 *) Partial rewrite of the DEF file generator to now parse the ANSI
75 *) New Configure options --prefix=DIR and --openssldir=DIR.
78 *) Complete rewrite of the error code script(s). It is all now handled
79 by one script at the top level which handles error code gathering,
80 header rewriting and C source file generation. It should be much better
81 than the old method: it now uses a modified version of Ulf's parser to
82 read the ANSI prototypes in all header files (thus the old K&R definitions
83 aren't needed for error creation any more) and do a better job of
84 translating function codes into names. The old 'ASN1 error code imbedded
85 in a comment' is no longer necessary and it doesn't use .err files which
86 have now been deleted. Also the error code call doesn't have to appear all
87 on one line (which resulted in some large lines...).
90 *) Change #include filenames from <foo.h> to <openssl/foo.h>.
93 *) Change behaviour of ssl2_read when facing length-0 packets: Don't return
94 0 (which usually indicates a closed connection), but continue reading.
97 *) Fix some race conditions.
100 *) Add support for CRL distribution points extension. Add Certificate
101 Policies and CRL distribution points documentation.
104 *) Move the autogenerated header file parts to crypto/opensslconf.h.
107 *) Fix new 56-bit DES export ciphersuites: they were using 7 bytes instead of
108 8 of keying material. Merlin has also confirmed interop with this fix
109 between OpenSSL and Baltimore C/SSL 2.0 and J/SSL 2.0.
110 [Merlin Hughes <merlin@baltimore.ie>]
112 *) Fix lots of warnings.
113 [Richard Levitte <levitte@stacken.kth.se>]
115 *) In add_cert_dir() in crypto/x509/by_dir.c, break out of the loop if
116 the directory spec didn't end with a LIST_SEPARATOR_CHAR.
117 [Richard Levitte <levitte@stacken.kth.se>]
119 *) Fix problems with sizeof(long) == 8.
120 [Andy Polyakov <appro@fy.chalmers.se>]
122 *) Change functions to ANSI C.
125 *) Fix typos in error codes.
126 [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>, Ulf Möller]
128 *) Remove defunct assembler files from Configure.
131 *) SPARC v8 assembler BIGNUM implementation.
132 [Andy Polyakov <appro@fy.chalmers.se>]
134 *) Support for Certificate Policies extension: both print and set.
135 Various additions to support the r2i method this uses.
138 *) A lot of constification, and fix a bug in X509_NAME_oneline() that could
139 return a const string when you are expecting an allocated buffer.
142 *) Add support for ASN1 types UTF8String and VISIBLESTRING, also the CHOICE
143 types DirectoryString and DisplayText.
146 *) Add code to allow r2i extensions to access the configuration database,
147 add an LHASH database driver and add several ctx helper functions.
150 *) Fix an evil bug in bn_expand2() which caused various BN functions to
151 fail when they extended the size of a BIGNUM.
154 *) Various utility functions to handle SXNet extension. Modify mkdef.pl to
155 support typesafe stack.
158 *) Fix typo in SSL_[gs]et_options().
159 [Nils Frostberg <nils@medcom.se>]
161 *) Delete various functions and files that belonged to the (now obsolete)
162 old X509V3 handling code.
165 *) New Configure option "rsaref".
168 *) Don't auto-generate pem.h.
171 *) Introduce type-safe ASN.1 SETs.
174 *) Introduce type-safe STACKs. This will almost certainly break lots of code
175 that links with OpenSSL (well at least cause lots of warnings), but fear
176 not: the conversion is trivial, and it eliminates loads of evil casts. A
177 few STACKed things have been converted already. Feel free to convert more.
178 In the fullness of time, I'll do away with the STACK type altogether.
181 *) Add `openssl ca -revoke <certfile>' facility which revokes a certificate
182 specified in <certfile> by updating the entry in the index.txt file.
183 This way one no longer has to edit the index.txt file manually for
184 revoking a certificate. The -revoke option does the gory details now.
185 [Massimiliano Pala <madwolf@openca.org>, Ralf S. Engelschall]
187 *) Fix `openssl crl -noout -text' combination where `-noout' killed the
188 `-text' option at all and this way the `-noout -text' combination was
189 inconsistent in `openssl crl' with the friends in `openssl x509|rsa|dsa'.
190 [Ralf S. Engelschall]
192 *) Make sure a corresponding plain text error message exists for the
193 X509_V_ERR_CERT_REVOKED/23 error number which can occur when a
194 verify callback function determined that a certificate was revoked.
195 [Ralf S. Engelschall]
197 *) Bugfix: In test/testenc, don't test "openssl <cipher>" for
198 ciphers that were excluded, e.g. by -DNO_IDEA. Also, test
199 all available cipers including rc5, which was forgotten until now.
200 In order to let the testing shell script know which algorithms
201 are available, a new (up to now undocumented) command
202 "openssl list-cipher-commands" is used.
205 *) Bugfix: s_client occasionally would sleep in select() when
206 it should have checked SSL_pending() first.
209 *) New functions DSA_do_sign and DSA_do_verify to provide access to
210 the raw DSA values prior to ASN.1 encoding.
213 *) Tweaks to Configure
214 Niels Poppe <niels@netbox.org>
216 *) Add support for PKCS#5 v2.0 ASN1 PBES2 structures. No other support,
220 *) New variables $(RANLIB) and $(PERL) in the Makefiles.
223 *) New config option to avoid instructions that are illegal on the 80386.
224 The default code is faster, but requires at least a 486.
227 *) Got rid of old SSL2_CLIENT_VERSION (inconsistently used) and
228 SSL2_SERVER_VERSION (not used at all) macros, which are now the
229 same as SSL2_VERSION anyway.
232 *) New "-showcerts" option for s_client.
235 *) Still more PKCS#12 integration. Add pkcs12 application to openssl
236 application. Various cleanups and fixes.
239 *) More PKCS#12 integration. Add new pkcs12 directory with Makefile.ssl and
240 modify error routines to work internally. Add error codes and PBE init
241 to library startup routines.
244 *) Further PKCS#12 integration. Added password based encryption, PKCS#8 and
245 packing functions to asn1 and evp. Changed function names and error
249 *) PKCS12 integration: and so it begins... First of several patches to
250 slowly integrate PKCS#12 functionality into OpenSSL. Add PKCS#12
254 *) Add a new 'indent' option to some X509V3 extension code. Initial ASN1
255 and display support for Thawte strong extranet extension.
258 *) Add LinuxPPC support.
259 [Jeff Dubrule <igor@pobox.org>]
261 *) Get rid of redundant BN file bn_mulw.c, and rename bn_div64 to
262 bn_div_words in alpha.s.
263 [Hannes Reinecke <H.Reinecke@hw.ac.uk> and Ben Laurie]
265 *) Make sure the RSA OAEP test is skipped under -DRSAref because
266 OAEP isn't supported when OpenSSL is built with RSAref.
267 [Ulf Moeller <ulf@fitug.de>]
269 *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h
270 so they no longer are missing under -DNOPROTO.
271 [Soren S. Jorvang <soren@t.dk>]
273 Changes between 0.9.1c and 0.9.2b
275 *) Make SSL_get_peer_cert_chain() work in servers. Unfortunately, it still
276 doesn't work when the session is reused. Coming soon!
279 *) Fix a security hole, that allows sessions to be reused in the wrong
280 context thus bypassing client cert protection! All software that uses
281 client certs and session caches in multiple contexts NEEDS PATCHING to
282 allow session reuse! A fuller solution is in the works.
283 [Ben Laurie, problem pointed out by Holger Reif, Bodo Moeller (and ???)]
285 *) Some more source tree cleanups (removed obsolete files
286 crypto/bf/asm/bf586.pl, test/test.txt and crypto/sha/asm/f.s; changed
287 permission on "config" script to be executable) and a fix for the INSTALL
289 [Ulf Moeller <ulf@fitug.de>]
291 *) Remove some legacy and erroneous uses of malloc, free instead of
293 [Lennart Bang <lob@netstream.se>, with minor changes by Steve]
295 *) Make rsa_oaep_test return non-zero on error.
296 [Ulf Moeller <ulf@fitug.de>]
298 *) Add support for native Solaris shared libraries. Configure
299 solaris-sparc-sc4-pic, make, then run shlib/solaris-sc4.sh. It'd be nice
300 if someone would make that last step automatic.
301 [Matthias Loepfe <Matthias.Loepfe@AdNovum.CH>]
303 *) ctx_size was not built with the right compiler during "make links". Fixed.
306 *) Change the meaning of 'ALL' in the cipher list. It now means "everything
307 except NULL ciphers". This means the default cipher list will no longer
308 enable NULL ciphers. They need to be specifically enabled e.g. with
309 the string "DEFAULT:eNULL".
312 *) Fix to RSA private encryption routines: if p < q then it would
313 occasionally produce an invalid result. This will only happen with
314 externally generated keys because OpenSSL (and SSLeay) ensure p > q.
317 *) Be less restrictive and allow also `perl util/perlpath.pl
318 /path/to/bin/perl' in addition to `perl util/perlpath.pl /path/to/bin',
319 because this way one can also use an interpreter named `perl5' (which is
320 usually the name of Perl 5.xxx on platforms where an Perl 4.x is still
321 installed as `perl').
322 [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
324 *) Let util/clean-depend.pl work also with older Perl 5.00x versions.
325 [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
327 *) Fix Makefile.org so CC,CFLAG etc are passed to 'make links' add
328 advapi32.lib to Win32 build and change the pem test comparision
329 to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the
330 suggestion). Fix misplaced ASNI prototypes and declarations in evp.h
331 and crypto/des/ede_cbcm_enc.c.
334 *) DES quad checksum was broken on big-endian architectures. Fixed.
337 *) Comment out two functions in bio.h that aren't implemented. Fix up the
338 Win32 test batch file so it (might) work again. The Win32 test batch file
339 is horrible: I feel ill....
342 *) Move various #ifdefs around so NO_SYSLOG, NO_DIRENT etc are now selected
343 in e_os.h. Audit of header files to check ANSI and non ANSI
344 sections: 10 functions were absent from non ANSI section and not exported
345 from Windows DLLs. Fixed up libeay.num for new functions.
348 *) Make `openssl version' output lines consistent.
349 [Ralf S. Engelschall]
351 *) Fix Win32 symbol export lists for BIO functions: Added
352 BIO_get_ex_new_index, BIO_get_ex_num, BIO_get_ex_data and BIO_set_ex_data
353 to ms/libeay{16,32}.def.
354 [Ralf S. Engelschall]
356 *) Second round of fixing the OpenSSL perl/ stuff. It now at least compiled
357 fine under Unix and passes some trivial tests I've now added. But the
358 whole stuff is horribly incomplete, so a README.1ST with a disclaimer was
359 added to make sure no one expects that this stuff really works in the
360 OpenSSL 0.9.2 release. Additionally I've started to clean the XS sources
361 up and fixed a few little bugs and inconsistencies in OpenSSL.{pm,xs} and
363 [Ralf S. Engelschall]
365 *) Fix the generation of two part addresses in perl.
366 [Kenji Miyake <kenji@miyake.org>, integrated by Ben Laurie]
368 *) Add config entry for Linux on MIPS.
369 [John Tobey <jtobey@channel1.com>]
371 *) Make links whenever Configure is run, unless we are on Windoze.
374 *) Permit extensions to be added to CRLs using crl_section in openssl.cnf.
375 Currently only issuerAltName and AuthorityKeyIdentifier make any sense
379 *) Add a useful kludge to allow package maintainers to specify compiler and
380 other platforms details on the command line without having to patch the
381 Configure script everytime: One now can use ``perl Configure
382 <id>:<details>'', i.e. platform ids are allowed to have details appended
383 to them (seperated by colons). This is treated as there would be a static
384 pre-configured entry in Configure's %table under key <id> with value
385 <details> and ``perl Configure <id>'' is called. So, when you want to
386 perform a quick test-compile under FreeBSD 3.1 with pgcc and without
387 assembler stuff you can use ``perl Configure "FreeBSD-elf:pgcc:-O6:::"''
388 now, which overrides the FreeBSD-elf entry on-the-fly.
389 [Ralf S. Engelschall]
391 *) Disable new TLS1 ciphersuites by default: they aren't official yet.
394 *) Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified
395 on the `perl Configure ...' command line. This way one can compile
396 OpenSSL libraries with Position Independent Code (PIC) which is needed
397 for linking it into DSOs.
398 [Ralf S. Engelschall]
400 *) Remarkably, export ciphers were totally broken and no-one had noticed!
404 *) Cleaned up the LICENSE document: The official contact for any license
405 questions now is the OpenSSL core team under openssl-core@openssl.org.
406 And add a paragraph about the dual-license situation to make sure people
407 recognize that _BOTH_ the OpenSSL license _AND_ the SSLeay license apply
408 to the OpenSSL toolkit.
409 [Ralf S. Engelschall]
411 *) General source tree makefile cleanups: Made `making xxx in yyy...'
412 display consistent in the source tree and replaced `/bin/rm' by `rm'.
413 Additonally cleaned up the `make links' target: Remove unnecessary
414 semicolons, subsequent redundant removes, inline point.sh into mklink.sh
415 to speed processing and no longer clutter the display with confusing
416 stuff. Instead only the actually done links are displayed.
417 [Ralf S. Engelschall]
419 *) Permit null encryption ciphersuites, used for authentication only. It used
420 to be necessary to set the preprocessor define SSL_ALLOW_ENULL to do this.
421 It is now necessary to set SSL_FORBID_ENULL to prevent the use of null
425 *) Add a bunch of fixes to the PKCS#7 stuff. It used to sometimes reorder
426 signed attributes when verifying signatures (this would break them),
427 the detached data encoding was wrong and public keys obtained using
428 X509_get_pubkey() weren't freed.
431 *) Add text documentation for the BUFFER functions. Also added a work around
432 to a Win95 console bug. This was triggered by the password read stuff: the
433 last character typed gets carried over to the next fread(). If you were
434 generating a new cert request using 'req' for example then the last
435 character of the passphrase would be CR which would then enter the first
439 *) Added the new `Includes OpenSSL Cryptography Software' button as
440 doc/openssl_button.{gif,html} which is similar in style to the old SSLeay
441 button and can be used by applications based on OpenSSL to show the
442 relationship to the OpenSSL project.
443 [Ralf S. Engelschall]
445 *) Remove confusing variables in function signatures in files
446 ssl/ssl_lib.c and ssl/ssl.h.
447 [Lennart Bong <lob@kulthea.stacken.kth.se>]
449 *) Don't install bss_file.c under PREFIX/include/
450 [Lennart Bong <lob@kulthea.stacken.kth.se>]
452 *) Get the Win32 compile working again. Modify mkdef.pl so it can handle
453 functions that return function pointers and has support for NT specific
454 stuff. Fix mk1mf.pl and VC-32.pl to support NT differences also. Various
455 #ifdef WIN32 and WINNTs sprinkled about the place and some changes from
456 unsigned to signed types: this was killing the Win32 compile.
459 *) Add new certificate file to stack functions,
460 SSL_add_dir_cert_subjects_to_stack() and
461 SSL_add_file_cert_subjects_to_stack(). These largely supplant
462 SSL_load_client_CA_file(), and can be used to add multiple certs easily
463 to a stack (usually this is then handed to SSL_CTX_set_client_CA_list()).
464 This means that Apache-SSL and similar packages don't have to mess around
465 to add as many CAs as they want to the preferred list.
468 *) Experiment with doxygen documentation. Currently only partially applied to
470 See http://www.stack.nl/~dimitri/doxygen/index.html, and run doxygen with
471 openssl.doxy as the configuration file.
474 *) Get rid of remaining C++-style comments which strict C compilers hate.
475 [Ralf S. Engelschall, pointed out by Carlos Amengual]
477 *) Changed BN_RECURSION in bn_mont.c to BN_RECURSION_MONT so it is not
478 compiled in by default: it has problems with large keys.
481 *) Add a bunch of SSL_xxx() functions for configuring the temporary RSA and
482 DH private keys and/or callback functions which directly correspond to
483 their SSL_CTX_xxx() counterparts but work on a per-connection basis. This
484 is needed for applications which have to configure certificates on a
485 per-connection basis (e.g. Apache+mod_ssl) instead of a per-context basis
487 For the RSA certificate situation is makes no difference, but
488 for the DSA certificate situation this fixes the "no shared cipher"
489 problem where the OpenSSL cipher selection procedure failed because the
490 temporary keys were not overtaken from the context and the API provided
491 no way to reconfigure them.
492 The new functions now let applications reconfigure the stuff and they
493 are in detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
494 SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback. Additionally a new
495 non-public-API function ssl_cert_instantiate() is used as a helper
496 function and also to reduce code redundancy inside ssl_rsa.c.
497 [Ralf S. Engelschall]
499 *) Move s_server -dcert and -dkey options out of the undocumented feature
500 area because they are useful for the DSA situation and should be
501 recognized by the users.
502 [Ralf S. Engelschall]
504 *) Fix the cipher decision scheme for export ciphers: the export bits are
505 *not* within SSL_MKEY_MASK or SSL_AUTH_MASK, they are within
506 SSL_EXP_MASK. So, the original variable has to be used instead of the
507 already masked variable.
508 [Richard Levitte <levitte@stacken.kth.se>]
510 *) Fix 'port' variable from `int' to `unsigned int' in crypto/bio/b_sock.c
511 [Richard Levitte <levitte@stacken.kth.se>]
513 *) Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
514 from `int' to `unsigned int' because it's a length and initialized by
515 EVP_DigestFinal() which expects an `unsigned int *'.
516 [Richard Levitte <levitte@stacken.kth.se>]
518 *) Don't hard-code path to Perl interpreter on shebang line of Configure
519 script. Instead use the usual Shell->Perl transition trick.
520 [Ralf S. Engelschall]
522 *) Make `openssl x509 -noout -modulus' functional also for DSA certificates
523 (in addition to RSA certificates) to match the behaviour of `openssl dsa
524 -noout -modulus' as it's already the case for `openssl rsa -noout
525 -modulus'. For RSA the -modulus is the real "modulus" while for DSA
526 currently the public key is printed (a decision which was already done by
527 `openssl dsa -modulus' in the past) which serves a similar purpose.
528 Additionally the NO_RSA no longer completely removes the whole -modulus
529 option; it now only avoids using the RSA stuff. Same applies to NO_DSA
531 [Ralf S. Engelschall]
533 *) Add Arne Ansper's reliable BIO - this is an encrypted, block-digested
534 BIO. See the source (crypto/evp/bio_ok.c) for more info.
535 [Arne Ansper <arne@ats.cyber.ee>]
537 *) Dump the old yucky req code that tried (and failed) to allow raw OIDs
538 to be added. Now both 'req' and 'ca' can use new objects defined in the
542 *) Add cool BIO that does syslog (or event log on NT).
543 [Arne Ansper <arne@ats.cyber.ee>, integrated by Ben Laurie]
545 *) Add support for new TLS ciphersuites, TLS_RSA_EXPORT56_WITH_RC4_56_MD5,
546 TLS_RSA_EXPORT56_WITH_RC2_CBC_56_MD5 and
547 TLS_RSA_EXPORT56_WITH_DES_CBC_SHA, as specified in "56-bit Export Cipher
548 Suites For TLS", draft-ietf-tls-56-bit-ciphersuites-00.txt.
551 *) Add preliminary config info for new extension code.
554 *) Make RSA_NO_PADDING really use no padding.
555 [Ulf Moeller <ulf@fitug.de>]
557 *) Generate errors when private/public key check is done.
560 *) Overhaul for 'crl' utility. New function X509_CRL_print. Partial support
561 for some CRL extensions and new objects added.
564 *) Really fix the ASN1 IMPLICIT bug this time... Partial support for private
565 key usage extension and fuller support for authority key id.
568 *) Add OAEP encryption for the OpenSSL crypto library. OAEP is the improved
569 padding method for RSA, which is recommended for new applications in PKCS
570 #1 v2.0 (RFC 2437, October 1998).
571 OAEP (Optimal Asymmetric Encryption Padding) has better theoretical
572 foundations than the ad-hoc padding used in PKCS #1 v1.5. It is secure
573 against Bleichbacher's attack on RSA.
574 [Ulf Moeller <ulf@fitug.de>, reformatted, corrected and integrated by
577 *) Updates to the new SSL compression code
578 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
580 *) Fix so that the version number in the master secret, when passed
581 via RSA, checks that if TLS was proposed, but we roll back to SSLv3
582 (because the server will not accept higher), that the version number
583 is 0x03,0x01, not 0x03,0x00
584 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
586 *) Run extensive memory leak checks on SSL apps. Fixed *lots* of memory
587 leaks in ssl/ relating to new X509_get_pubkey() behaviour. Also fixes
588 in apps/ and an unrelated leak in crypto/dsa/dsa_vrf.c
591 *) Support for RAW extensions where an arbitrary extension can be
592 created by including its DER encoding. See apps/openssl.cnf for
596 *) Make sure latest Perl versions don't interpret some generated C array
597 code as Perl array code in the crypto/err/err_genc.pl script.
598 [Lars Weber <3weber@informatik.uni-hamburg.de>]
600 *) Modify ms/do_ms.bat to not generate assembly language makefiles since
601 not many people have the assembler. Various Win32 compilation fixes and
602 update to the INSTALL.W32 file with (hopefully) more accurate Win32
606 *) Modify configure script 'Configure' to automatically create crypto/date.h
607 file under Win32 and also build pem.h from pem.org. New script
608 util/mkfiles.pl to create the MINFO file on environments that can't do a
609 'make files': perl util/mkfiles.pl >MINFO should work.
612 *) Major rework of DES function declarations, in the pursuit of correctness
613 and purity. As a result, many evil casts evaporated, and some weirdness,
614 too. You may find this causes warnings in your code. Zapping your evil
615 casts will probably fix them. Mostly.
618 *) Fix for a typo in asn1.h. Bug fix to object creation script
619 obj_dat.pl. It considered a zero in an object definition to mean
620 "end of object": none of the objects in objects.h have any zeros
621 so it wasn't spotted.
622 [Steve Henson, reported by Erwann ABALEA <eabalea@certplus.com>]
624 *) Add support for Triple DES Cipher Block Chaining with Output Feedback
625 Masking (CBCM). In the absence of test vectors, the best I have been able
626 to do is check that the decrypt undoes the encrypt, so far. Send me test
627 vectors if you have them.
630 *) Correct calculation of key length for export ciphers (too much space was
631 allocated for null ciphers). This has not been tested!
634 *) Modifications to the mkdef.pl for Win32 DEF file creation. The usage
635 message is now correct (it understands "crypto" and "ssl" on its
636 command line). There is also now an "update" option. This will update
637 the util/ssleay.num and util/libeay.num files with any new functions.
639 perl util/mkdef.pl crypto ssl update
643 *) Overhauled the Perl interface (perl/*):
644 - ported BN stuff to OpenSSL's different BN library
645 - made the perl/ source tree CVS-aware
646 - renamed the package from SSLeay to OpenSSL (the files still contain
647 their history because I've copied them in the repository)
648 - removed obsolete files (the test scripts will be replaced
649 by better Test::Harness variants in the future)
650 [Ralf S. Engelschall]
652 *) First cut for a very conservative source tree cleanup:
653 1. merge various obsolete readme texts into doc/ssleay.txt
654 where we collect the old documents and readme texts.
655 2. remove the first part of files where I'm already sure that we no
656 longer need them because of three reasons: either they are just temporary
657 files which were left by Eric or they are preserved original files where
658 I've verified that the diff is also available in the CVS via "cvs diff
659 -rSSLeay_0_8_1b" or they were renamed (as it was definitely the case for
660 the crypto/md/ stuff).
661 [Ralf S. Engelschall]
663 *) More extension code. Incomplete support for subject and issuer alt
664 name, issuer and authority key id. Change the i2v function parameters
665 and add an extra 'crl' parameter in the X509V3_CTX structure: guess
666 what that's for :-) Fix to ASN1 macro which messed up
667 IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
670 *) Preliminary support for ENUMERATED type. This is largely copied from the
674 *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
675 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
677 *) Make sure `make rehash' target really finds the `openssl' program.
678 [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
680 *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
681 like to hear about it if this slows down other processors.
684 *) Add CygWin32 platform information to Configure script.
685 [Alan Batie <batie@aahz.jf.intel.com>]
687 *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
688 [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
690 *) New program nseq to manipulate netscape certificate sequences
693 *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
697 *) Fixes to BN code. Previously the default was to define BN_RECURSION
698 but the BN code had some problems that would cause failures when
699 doing certificate verification and some other functions.
700 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
702 *) Add ASN1 and PEM code to support netscape certificate sequences.
705 *) Add ASN1 and PEM code to support netscape certificate sequences.
708 *) Add several PKIX and private extended key usage OIDs.
711 *) Modify the 'ca' program to handle the new extension code. Modify
712 openssl.cnf for new extension format, add comments.
715 *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
716 and add a sample to openssl.cnf so req -x509 now adds appropriate
720 *) Continued X509 V3 changes. Add to other makefiles, integrate with the
721 error code, add initial support to X509_print() and x509 application.
724 *) Takes a deep breath and start addding X509 V3 extension support code. Add
725 files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
726 stuff is currently isolated and isn't even compiled yet.
729 *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
730 ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
731 Removed the versions check from X509 routines when loading extensions:
732 this allows certain broken certificates that don't set the version
733 properly to be processed.
736 *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
737 Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
738 can still be regenerated with "make depend".
741 *) Spelling mistake in C version of CAST-128.
742 [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
744 *) Changes to the error generation code. The perl script err-code.pl
745 now reads in the old error codes and retains the old numbers, only
746 adding new ones if necessary. It also only changes the .err files if new
747 codes are added. The makefiles have been modified to only insert errors
748 when needed (to avoid needlessly modifying header files). This is done
749 by only inserting errors if the .err file is newer than the auto generated
750 C file. To rebuild all the error codes from scratch (the old behaviour)
751 either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
752 or delete all the .err files.
755 *) CAST-128 was incorrectly implemented for short keys. The C version has
756 been fixed, but is untested. The assembler versions are also fixed, but
757 new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
758 to regenerate it if needed.
759 [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
760 Hagino <itojun@kame.net>]
762 *) File was opened incorrectly in randfile.c.
763 [Ulf Möller <ulf@fitug.de>]
765 *) Beginning of support for GeneralizedTime. d2i, i2d, check and print
766 functions. Also ASN1_TIME suite which is a CHOICE of UTCTime or
767 GeneralizedTime. ASN1_TIME is the proper type used in certificates et
768 al: it's just almost always a UTCTime. Note this patch adds new error
769 codes so do a "make errors" if there are problems.
772 *) Correct Linux 1 recognition in config.
773 [Ulf Möller <ulf@fitug.de>]
775 *) Remove pointless MD5 hash when using DSA keys in ca.
776 [Anonymous <nobody@replay.com>]
778 *) Generate an error if given an empty string as a cert directory. Also
779 generate an error if handed NULL (previously returned 0 to indicate an
780 error, but didn't set one).
781 [Ben Laurie, reported by Anonymous <nobody@replay.com>]
783 *) Add prototypes to SSL methods. Make SSL_write's buffer const, at last.
786 *) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
787 parameters. This was causing a warning which killed off the Win32 compile.
790 *) Remove C++ style comments from crypto/bn/bn_local.h.
791 [Neil Costigan <neil.costigan@celocom.com>]
793 *) The function OBJ_txt2nid was broken. It was supposed to return a nid
794 based on a text string, looking up short and long names and finally
795 "dot" format. The "dot" format stuff didn't work. Added new function
796 OBJ_txt2obj to do the same but return an ASN1_OBJECT and rewrote
797 OBJ_txt2nid to use it. OBJ_txt2obj can also return objects even if the
798 OID is not part of the table.
801 *) Add prototypes to X509 lookup/verify methods, fixing a bug in
802 X509_LOOKUP_by_alias().
805 *) Sort openssl functions by name.
808 *) Get the gendsa program working (hopefully) and add it to app list. Remove
809 encryption from sample DSA keys (in case anyone is interested the password
813 *) Make _all_ *_free functions accept a NULL pointer.
814 [Frans Heymans <fheymans@isaserver.be>]
816 *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
818 [Anonymous <nobody@replay.com>]
820 *) s_server should send the CAfile as acceptable CAs, not its own cert.
821 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
823 *) Don't blow it for numeric -newkey arguments to apps/req.
824 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
826 *) Temp key "for export" tests were wrong in s3_srvr.c.
827 [Anonymous <nobody@replay.com>]
829 *) Add prototype for temp key callback functions
830 SSL_CTX_set_tmp_{rsa,dh}_callback().
833 *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
834 DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
837 *) X509_name_add_entry() freed the wrong thing after an error.
838 [Arne Ansper <arne@ats.cyber.ee>]
840 *) rsa_eay.c would attempt to free a NULL context.
841 [Arne Ansper <arne@ats.cyber.ee>]
843 *) BIO_s_socket() had a broken should_retry() on Windoze.
844 [Arne Ansper <arne@ats.cyber.ee>]
846 *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
847 [Arne Ansper <arne@ats.cyber.ee>]
849 *) Make sure the already existing X509_STORE->depth variable is initialized
850 in X509_STORE_new(), but document the fact that this variable is still
851 unused in the certificate verification process.
852 [Ralf S. Engelschall]
854 *) Fix the various library and apps files to free up pkeys obtained from
855 X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
858 *) Fix reference counting in X509_PUBKEY_get(). This makes
859 demos/maurice/example2.c work, amongst others, probably.
860 [Steve Henson and Ben Laurie]
862 *) First cut of a cleanup for apps/. First the `ssleay' program is now named
863 `openssl' and second, the shortcut symlinks for the `openssl <command>'
864 are no longer created. This way we have a single and consistent command
865 line interface `openssl <command>', similar to `cvs <command>'.
866 [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
868 *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
869 BIT STRING wrapper always have zero unused bits.
872 *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
875 *) Make the top-level INSTALL documentation easier to understand.
878 *) Makefiles updated to exit if an error occurs in a sub-directory
879 make (including if user presses ^C) [Paul Sutton]
881 *) Make Montgomery context stuff explicit in RSA data structure.
884 *) Fix build order of pem and err to allow for generated pem.h.
887 *) Fix renumbering bug in X509_NAME_delete_entry().
890 *) Enhanced the err-ins.pl script so it makes the error library number
891 global and can add a library name. This is needed for external ASN1 and
892 other error libraries.
895 *) Fixed sk_insert which never worked properly.
898 *) Fix ASN1 macros so they can handle indefinite length construted
899 EXPLICIT tags. Some non standard certificates use these: they can now
903 *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
904 into a single doc/ssleay.txt bundle. This way the information is still
905 preserved but no longer messes up this directory. Now it's new room for
906 the new set of documenation files.
907 [Ralf S. Engelschall]
909 *) SETs were incorrectly DER encoded. This was a major pain, because they
910 shared code with SEQUENCEs, which aren't coded the same. This means that
911 almost everything to do with SETs or SEQUENCEs has either changed name or
913 [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
915 *) Fix test data to work with the above.
918 *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
919 was already fixed by Eric for 0.9.1 it seems.
920 [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
922 *) Autodetect FreeBSD3.
925 *) Fix various bugs in Configure. This affects the following platforms:
933 *) Eliminate generated files from CVS. Reorder tests to regenerate files
934 before they are needed.
937 *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
940 Changes between 0.9.1b and 0.9.1c
942 *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and
943 changed SSLeay to OpenSSL in version strings.
944 [Ralf S. Engelschall]
946 *) Some fixups to the top-level documents.
949 *) Fixed the nasty bug where rsaref.h was not found under compile-time
950 because the symlink to include/ was missing.
951 [Ralf S. Engelschall]
953 *) Incorporated the popular no-RSA/DSA-only patches
954 which allow to compile a RSA-free SSLeay.
955 [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
957 *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
958 when "ssleay" is still not found.
959 [Ralf S. Engelschall]
961 *) Added more platforms to Configure: Cray T3E, HPUX 11,
962 [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
964 *) Updated the README file.
965 [Ralf S. Engelschall]
967 *) Added various .cvsignore files in the CVS repository subdirs
968 to make a "cvs update" really silent.
969 [Ralf S. Engelschall]
971 *) Recompiled the error-definition header files and added
972 missing symbols to the Win32 linker tables.
973 [Ralf S. Engelschall]
975 *) Cleaned up the top-level documents;
976 o new files: CHANGES and LICENSE
977 o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay
978 o merged COPYRIGHT into LICENSE
979 o removed obsolete TODO file
980 o renamed MICROSOFT to INSTALL.W32
981 [Ralf S. Engelschall]
983 *) Removed dummy files from the 0.9.1b source tree:
984 crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
985 crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
986 crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
987 crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
988 util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
989 [Ralf S. Engelschall]
991 *) Added various platform portability fixes.
994 *) The Genesis of the OpenSSL rpject:
995 We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
996 Young and Tim J. Hudson created while they were working for C2Net until
998 [The OpenSSL Project]
1000 Changes between 0.9.0b and 0.9.1b
1002 *) Updated a few CA certificates under certs/
1005 *) Changed some BIGNUM api stuff.
1008 *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD,
1009 DGUX x86, Linux Alpha, etc.
1012 *) New COMP library [crypto/comp/] for SSL Record Layer Compression:
1013 RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
1017 *) Add -strparse option to asn1pars program which parses nested
1019 [Dr Stephen Henson <shenson@bigfoot.com>]
1021 *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
1024 *) DSA fix for "ca" program.
1027 *) Added "-genkey" option to "dsaparam" program.
1030 *) Added RIPE MD160 (rmd160) message digest.
1033 *) Added -a (all) option to "ssleay version" command.
1036 *) Added PLATFORM define which is the id given to Configure.
1039 *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
1042 *) Extended the ASN.1 parser routines.
1045 *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
1048 *) Added a BN_CTX to the BN library.
1051 *) Fixed the weak key values in DES library
1054 *) Changed API in EVP library for cipher aliases.
1057 *) Added support for RC2/64bit cipher.
1060 *) Converted the lhash library to the crypto/mem.c functions.
1063 *) Added more recognized ASN.1 object ids.
1066 *) Added more RSA padding checks for SSL/TLS.
1069 *) Added BIO proxy/filter functionality.
1072 *) Added extra_certs to SSL_CTX which can be used
1073 send extra CA certificates to the client in the CA cert chain sending
1074 process. It can be configured with SSL_CTX_add_extra_chain_cert().
1077 *) Now Fortezza is denied in the authentication phase because
1078 this is key exchange mechanism is not supported by SSLeay at all.
1081 *) Additional PKCS1 checks.
1084 *) Support the string "TLSv1" for all TLS v1 ciphers.
1087 *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
1088 ex_data index of the SSL context in the X509_STORE_CTX ex_data.
1091 *) Fixed a few memory leaks.
1094 *) Fixed various code and comment typos.
1097 *) A minor bug in ssl/s3_clnt.c where there would always be 4 0
1098 bytes sent in the client random.
1099 [Edward Bishop <ebishop@spyglass.com>]