6 Changes between 0.9.3a and 0.9.4
8 *) Support for PKCS#5 v1.5 compatible password based encryption algorithms
9 and partial PKCS#8 functionality.
12 *) Introduce some semblance of const correctness to BN. Shame C doesn't
16 *) "linux-sparc64-gcc" configuration (ultrapenguin).
17 [Ray Miller <ray.miller@oucs.ox.ac.uk>]
19 *) config now generates no-xxx options for missing ciphers.
22 *) Support the EBCDIC character set (work in progress).
23 File ebcdic.c not yet included because it has a different license.
24 [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>]
26 *) Support BS2000/OSD-POSIX.
27 [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>]
29 *) Make callbacks for key generation use void * instead of char *.
32 *) Make S/MIME samples compile (not yet tested).
35 *) Additional typesafe stacks.
38 *) New configuration variants "bsdi-elf-gcc" (BSD/OS 4.x).
42 Changes between 0.9.3 and 0.9.3a [29 May 1999]
44 *) New configuration variant "sco5-gcc".
46 *) Updated some demos.
47 [Sean O Riordain, Wade Scholine]
49 *) Add missing BIO_free at exit of pkcs12 application.
52 *) Fix memory leak in conf.c.
55 *) Updates for Win32 to assembler version of MD5.
58 *) Set #! path to perl in apps/der_chop to where we found it
59 instead of using a fixed path.
62 *) SHA library changes for irix64-mips4-cc.
65 *) Improvements for VMS support.
69 Changes between 0.9.2b and 0.9.3 [24 May 1999]
71 *) Bignum library bug fix. IRIX 6 passes "make test" now!
72 This also avoids the problems with SC4.2 and unpatched SC5.
73 [Andy Polyakov <appro@fy.chalmers.se>]
75 *) New functions sk_num, sk_value and sk_set to replace the previous macros.
76 These are required because of the typesafe stack would otherwise break
77 existing code. If old code used a structure member which used to be STACK
78 and is now STACK_OF (for example cert in a PKCS7_SIGNED structure) with
79 sk_num or sk_value it would produce an error because the num, data members
80 are not present in STACK_OF. Now it just produces a warning. sk_set
81 replaces the old method of assigning a value to sk_value
82 (e.g. sk_value(x, i) = y) which the library used in a few cases. Any code
83 that does this will no longer work (and should use sk_set instead) but
84 this could be regarded as a "questionable" behaviour anyway.
87 *) Fix most of the other PKCS#7 bugs. The "experimental" code can now
88 correctly handle encrypted S/MIME data.
91 *) Change type of various DES function arguments from des_cblock
92 (which means, in function argument declarations, pointer to char)
93 to des_cblock * (meaning pointer to array with 8 char elements),
94 which allows the compiler to do more typechecking; it was like
95 that back in SSLeay, but with lots of ugly casts.
97 Introduce new type const_des_cblock.
100 *) Reorganise the PKCS#7 library and get rid of some of the more obvious
101 problems: find RecipientInfo structure that matches recipient certificate
102 and initialise the ASN1 structures properly based on passed cipher.
105 *) Belatedly make the BN tests actually check the results.
108 *) Fix the encoding and decoding of negative ASN1 INTEGERS and conversion
109 to and from BNs: it was completely broken. New compilation option
110 NEG_PUBKEY_BUG to allow for some broken certificates that encode public
111 key elements as negative integers.
114 *) Reorganize and speed up MD5.
115 [Andy Polyakov <appro@fy.chalmers.se>]
118 [Richard Levitte <richard@levitte.org>]
120 *) New option -out to asn1parse to allow the parsed structure to be
121 output to a file. This is most useful when combined with the -strparse
122 option to examine the output of things like OCTET STRINGS.
125 *) Make SSL library a little more fool-proof by not requiring any longer
126 that SSL_set_{accept,connect}_state be called before
127 SSL_{accept,connect} may be used (SSL_set_..._state is omitted
128 in many applications because usually everything *appeared* to work as
129 intended anyway -- now it really works as intended).
132 *) Move openssl.cnf out of lib/.
135 *) Fix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall
136 -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes
137 -Wmissing-declarations -Wnested-externs -Winline'' with EGCS 1.1.2+
138 [Ralf S. Engelschall]
140 *) Various fixes to the EVP and PKCS#7 code. It may now be able to
141 handle PKCS#7 enveloped data properly.
142 [Sebastian Akerman <sak@parallelconsulting.com>, modified by Steve]
144 *) Create a duplicate of the SSL_CTX's CERT in SSL_new instead of
145 copying pointers. The cert_st handling is changed by this in
146 various ways (and thus what used to be known as ctx->default_cert
147 is now called ctx->cert, since we don't resort to s->ctx->[default_]cert
148 any longer when s->cert does not give us what we need).
149 ssl_cert_instantiate becomes obsolete by this change.
150 As soon as we've got the new code right (possibly it already is?),
151 we have solved a couple of bugs of the earlier code where s->cert
152 was used as if it could not have been shared with other SSL structures.
154 Note that using the SSL API in certain dirty ways now will result
155 in different behaviour than observed with earlier library versions:
156 Changing settings for an SSL_CTX *ctx after having done s = SSL_new(ctx)
157 does not influence s as it used to.
159 In order to clean up things more thoroughly, inside SSL_SESSION
160 we don't use CERT any longer, but a new structure SESS_CERT
161 that holds per-session data (if available); currently, this is
162 the peer's certificate chain and, for clients, the server's certificate
163 and temporary key. CERT holds only those values that can have
164 meaningful defaults in an SSL_CTX.
167 *) New function X509V3_EXT_i2d() to create an X509_EXTENSION structure
168 from the internal representation. Various PKCS#7 fixes: remove some
169 evil casts and set the enc_dig_alg field properly based on the signing
173 *) Allow PKCS#12 password to be set from the command line or the
174 environment. Let 'ca' get its config file name from the environment
175 variables "OPENSSL_CONF" or "SSLEAY_CONF" (for consistency with 'req'
179 *) Allow certificate policies extension to use an IA5STRING for the
180 organization field. This is contrary to the PKIX definition but
181 VeriSign uses it and IE5 only recognises this form. Document 'x509'
185 *) Add PEDANTIC compiler flag to allow compilation with gcc -pedantic,
186 without disallowing inline assembler and the like for non-pedantic builds.
189 *) Support Borland C++ builder.
190 [Janez Jere <jj@void.si>, modified by Ulf Möller]
195 *) SHA-1 cleanups and performance enhancements.
196 [Andy Polyakov <appro@fy.chalmers.se>]
198 *) Sparc v8plus assembler for the bignum library.
199 [Andy Polyakov <appro@fy.chalmers.se>]
201 *) Accept any -xxx and +xxx compiler options in Configure.
204 *) Update HPUX configuration.
207 *) Add missing sk_<type>_unshift() function to safestack.h
208 [Ralf S. Engelschall]
210 *) New function SSL_CTX_use_certificate_chain_file that sets the
211 "extra_cert"s in addition to the certificate. (This makes sense
212 only for "PEM" format files, as chains as a whole are not
216 *) Support verify_depth from the SSL API.
217 x509_vfy.c had what can be considered an off-by-one-error:
218 Its depth (which was not part of the external interface)
219 was actually counting the number of certificates in a chain;
220 now it really counts the depth.
223 *) Bugfix in crypto/x509/x509_cmp.c: The SSLerr macro was used
224 instead of X509err, which often resulted in confusing error
225 messages since the error codes are not globally unique
226 (e.g. an alleged error in ssl3_accept when a certificate
227 didn't match the private key).
229 *) New function SSL_CTX_set_session_id_context that allows to set a default
230 value (so that you don't need SSL_set_session_id_context for each
231 connection using the SSL_CTX).
234 *) OAEP decoding bug fix.
237 *) Support INSTALL_PREFIX for package builders, as proposed by
241 *) New Configure options "threads" and "no-threads". For systems
242 where the proper compiler options are known (currently Solaris
243 and Linux), "threads" is the default.
246 *) New script util/mklink.pl as a faster substitute for util/mklink.sh.
249 *) Install various scripts to $(OPENSSLDIR)/misc, not to
250 $(INSTALLTOP)/bin -- they shouldn't clutter directories
251 such as /usr/local/bin.
254 *) "make linux-shared" to build shared libraries.
255 [Niels Poppe <niels@netbox.org>]
257 *) New Configure option no-<cipher> (rsa, idea, rc5, ...).
260 *) Add the PKCS#12 API documentation to openssl.txt. Preliminary support for
261 extension adding in x509 utility.
264 *) Remove NOPROTO sections and error code comments.
267 *) Partial rewrite of the DEF file generator to now parse the ANSI
271 *) New Configure options --prefix=DIR and --openssldir=DIR.
274 *) Complete rewrite of the error code script(s). It is all now handled
275 by one script at the top level which handles error code gathering,
276 header rewriting and C source file generation. It should be much better
277 than the old method: it now uses a modified version of Ulf's parser to
278 read the ANSI prototypes in all header files (thus the old K&R definitions
279 aren't needed for error creation any more) and do a better job of
280 translating function codes into names. The old 'ASN1 error code imbedded
281 in a comment' is no longer necessary and it doesn't use .err files which
282 have now been deleted. Also the error code call doesn't have to appear all
283 on one line (which resulted in some large lines...).
286 *) Change #include filenames from <foo.h> to <openssl/foo.h>.
289 *) Change behaviour of ssl2_read when facing length-0 packets: Don't return
290 0 (which usually indicates a closed connection), but continue reading.
293 *) Fix some race conditions.
296 *) Add support for CRL distribution points extension. Add Certificate
297 Policies and CRL distribution points documentation.
300 *) Move the autogenerated header file parts to crypto/opensslconf.h.
303 *) Fix new 56-bit DES export ciphersuites: they were using 7 bytes instead of
304 8 of keying material. Merlin has also confirmed interop with this fix
305 between OpenSSL and Baltimore C/SSL 2.0 and J/SSL 2.0.
306 [Merlin Hughes <merlin@baltimore.ie>]
308 *) Fix lots of warnings.
309 [Richard Levitte <levitte@stacken.kth.se>]
311 *) In add_cert_dir() in crypto/x509/by_dir.c, break out of the loop if
312 the directory spec didn't end with a LIST_SEPARATOR_CHAR.
313 [Richard Levitte <levitte@stacken.kth.se>]
315 *) Fix problems with sizeof(long) == 8.
316 [Andy Polyakov <appro@fy.chalmers.se>]
318 *) Change functions to ANSI C.
321 *) Fix typos in error codes.
322 [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>, Ulf Möller]
324 *) Remove defunct assembler files from Configure.
327 *) SPARC v8 assembler BIGNUM implementation.
328 [Andy Polyakov <appro@fy.chalmers.se>]
330 *) Support for Certificate Policies extension: both print and set.
331 Various additions to support the r2i method this uses.
334 *) A lot of constification, and fix a bug in X509_NAME_oneline() that could
335 return a const string when you are expecting an allocated buffer.
338 *) Add support for ASN1 types UTF8String and VISIBLESTRING, also the CHOICE
339 types DirectoryString and DisplayText.
342 *) Add code to allow r2i extensions to access the configuration database,
343 add an LHASH database driver and add several ctx helper functions.
346 *) Fix an evil bug in bn_expand2() which caused various BN functions to
347 fail when they extended the size of a BIGNUM.
350 *) Various utility functions to handle SXNet extension. Modify mkdef.pl to
351 support typesafe stack.
354 *) Fix typo in SSL_[gs]et_options().
355 [Nils Frostberg <nils@medcom.se>]
357 *) Delete various functions and files that belonged to the (now obsolete)
358 old X509V3 handling code.
361 *) New Configure option "rsaref".
364 *) Don't auto-generate pem.h.
367 *) Introduce type-safe ASN.1 SETs.
370 *) Convert various additional casted stacks to type-safe STACK_OF() variants.
371 [Ben Laurie, Ralf S. Engelschall, Steve Henson]
373 *) Introduce type-safe STACKs. This will almost certainly break lots of code
374 that links with OpenSSL (well at least cause lots of warnings), but fear
375 not: the conversion is trivial, and it eliminates loads of evil casts. A
376 few STACKed things have been converted already. Feel free to convert more.
377 In the fullness of time, I'll do away with the STACK type altogether.
380 *) Add `openssl ca -revoke <certfile>' facility which revokes a certificate
381 specified in <certfile> by updating the entry in the index.txt file.
382 This way one no longer has to edit the index.txt file manually for
383 revoking a certificate. The -revoke option does the gory details now.
384 [Massimiliano Pala <madwolf@openca.org>, Ralf S. Engelschall]
386 *) Fix `openssl crl -noout -text' combination where `-noout' killed the
387 `-text' option at all and this way the `-noout -text' combination was
388 inconsistent in `openssl crl' with the friends in `openssl x509|rsa|dsa'.
389 [Ralf S. Engelschall]
391 *) Make sure a corresponding plain text error message exists for the
392 X509_V_ERR_CERT_REVOKED/23 error number which can occur when a
393 verify callback function determined that a certificate was revoked.
394 [Ralf S. Engelschall]
396 *) Bugfix: In test/testenc, don't test "openssl <cipher>" for
397 ciphers that were excluded, e.g. by -DNO_IDEA. Also, test
398 all available cipers including rc5, which was forgotten until now.
399 In order to let the testing shell script know which algorithms
400 are available, a new (up to now undocumented) command
401 "openssl list-cipher-commands" is used.
404 *) Bugfix: s_client occasionally would sleep in select() when
405 it should have checked SSL_pending() first.
408 *) New functions DSA_do_sign and DSA_do_verify to provide access to
409 the raw DSA values prior to ASN.1 encoding.
412 *) Tweaks to Configure
413 [Niels Poppe <niels@netbox.org>]
415 *) Add support for PKCS#5 v2.0 ASN1 PBES2 structures. No other support,
419 *) New variables $(RANLIB) and $(PERL) in the Makefiles.
422 *) New config option to avoid instructions that are illegal on the 80386.
423 The default code is faster, but requires at least a 486.
426 *) Got rid of old SSL2_CLIENT_VERSION (inconsistently used) and
427 SSL2_SERVER_VERSION (not used at all) macros, which are now the
428 same as SSL2_VERSION anyway.
431 *) New "-showcerts" option for s_client.
434 *) Still more PKCS#12 integration. Add pkcs12 application to openssl
435 application. Various cleanups and fixes.
438 *) More PKCS#12 integration. Add new pkcs12 directory with Makefile.ssl and
439 modify error routines to work internally. Add error codes and PBE init
440 to library startup routines.
443 *) Further PKCS#12 integration. Added password based encryption, PKCS#8 and
444 packing functions to asn1 and evp. Changed function names and error
448 *) PKCS12 integration: and so it begins... First of several patches to
449 slowly integrate PKCS#12 functionality into OpenSSL. Add PKCS#12
453 *) Add a new 'indent' option to some X509V3 extension code. Initial ASN1
454 and display support for Thawte strong extranet extension.
457 *) Add LinuxPPC support.
458 [Jeff Dubrule <igor@pobox.org>]
460 *) Get rid of redundant BN file bn_mulw.c, and rename bn_div64 to
461 bn_div_words in alpha.s.
462 [Hannes Reinecke <H.Reinecke@hw.ac.uk> and Ben Laurie]
464 *) Make sure the RSA OAEP test is skipped under -DRSAref because
465 OAEP isn't supported when OpenSSL is built with RSAref.
466 [Ulf Moeller <ulf@fitug.de>]
468 *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h
469 so they no longer are missing under -DNOPROTO.
470 [Soren S. Jorvang <soren@t.dk>]
473 Changes between 0.9.1c and 0.9.2b [22 Mar 1999]
475 *) Make SSL_get_peer_cert_chain() work in servers. Unfortunately, it still
476 doesn't work when the session is reused. Coming soon!
479 *) Fix a security hole, that allows sessions to be reused in the wrong
480 context thus bypassing client cert protection! All software that uses
481 client certs and session caches in multiple contexts NEEDS PATCHING to
482 allow session reuse! A fuller solution is in the works.
483 [Ben Laurie, problem pointed out by Holger Reif, Bodo Moeller (and ???)]
485 *) Some more source tree cleanups (removed obsolete files
486 crypto/bf/asm/bf586.pl, test/test.txt and crypto/sha/asm/f.s; changed
487 permission on "config" script to be executable) and a fix for the INSTALL
489 [Ulf Moeller <ulf@fitug.de>]
491 *) Remove some legacy and erroneous uses of malloc, free instead of
493 [Lennart Bang <lob@netstream.se>, with minor changes by Steve]
495 *) Make rsa_oaep_test return non-zero on error.
496 [Ulf Moeller <ulf@fitug.de>]
498 *) Add support for native Solaris shared libraries. Configure
499 solaris-sparc-sc4-pic, make, then run shlib/solaris-sc4.sh. It'd be nice
500 if someone would make that last step automatic.
501 [Matthias Loepfe <Matthias.Loepfe@AdNovum.CH>]
503 *) ctx_size was not built with the right compiler during "make links". Fixed.
506 *) Change the meaning of 'ALL' in the cipher list. It now means "everything
507 except NULL ciphers". This means the default cipher list will no longer
508 enable NULL ciphers. They need to be specifically enabled e.g. with
509 the string "DEFAULT:eNULL".
512 *) Fix to RSA private encryption routines: if p < q then it would
513 occasionally produce an invalid result. This will only happen with
514 externally generated keys because OpenSSL (and SSLeay) ensure p > q.
517 *) Be less restrictive and allow also `perl util/perlpath.pl
518 /path/to/bin/perl' in addition to `perl util/perlpath.pl /path/to/bin',
519 because this way one can also use an interpreter named `perl5' (which is
520 usually the name of Perl 5.xxx on platforms where an Perl 4.x is still
521 installed as `perl').
522 [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
524 *) Let util/clean-depend.pl work also with older Perl 5.00x versions.
525 [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
527 *) Fix Makefile.org so CC,CFLAG etc are passed to 'make links' add
528 advapi32.lib to Win32 build and change the pem test comparision
529 to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the
530 suggestion). Fix misplaced ASNI prototypes and declarations in evp.h
531 and crypto/des/ede_cbcm_enc.c.
534 *) DES quad checksum was broken on big-endian architectures. Fixed.
537 *) Comment out two functions in bio.h that aren't implemented. Fix up the
538 Win32 test batch file so it (might) work again. The Win32 test batch file
539 is horrible: I feel ill....
542 *) Move various #ifdefs around so NO_SYSLOG, NO_DIRENT etc are now selected
543 in e_os.h. Audit of header files to check ANSI and non ANSI
544 sections: 10 functions were absent from non ANSI section and not exported
545 from Windows DLLs. Fixed up libeay.num for new functions.
548 *) Make `openssl version' output lines consistent.
549 [Ralf S. Engelschall]
551 *) Fix Win32 symbol export lists for BIO functions: Added
552 BIO_get_ex_new_index, BIO_get_ex_num, BIO_get_ex_data and BIO_set_ex_data
553 to ms/libeay{16,32}.def.
554 [Ralf S. Engelschall]
556 *) Second round of fixing the OpenSSL perl/ stuff. It now at least compiled
557 fine under Unix and passes some trivial tests I've now added. But the
558 whole stuff is horribly incomplete, so a README.1ST with a disclaimer was
559 added to make sure no one expects that this stuff really works in the
560 OpenSSL 0.9.2 release. Additionally I've started to clean the XS sources
561 up and fixed a few little bugs and inconsistencies in OpenSSL.{pm,xs} and
563 [Ralf S. Engelschall]
565 *) Fix the generation of two part addresses in perl.
566 [Kenji Miyake <kenji@miyake.org>, integrated by Ben Laurie]
568 *) Add config entry for Linux on MIPS.
569 [John Tobey <jtobey@channel1.com>]
571 *) Make links whenever Configure is run, unless we are on Windoze.
574 *) Permit extensions to be added to CRLs using crl_section in openssl.cnf.
575 Currently only issuerAltName and AuthorityKeyIdentifier make any sense
579 *) Add a useful kludge to allow package maintainers to specify compiler and
580 other platforms details on the command line without having to patch the
581 Configure script everytime: One now can use ``perl Configure
582 <id>:<details>'', i.e. platform ids are allowed to have details appended
583 to them (seperated by colons). This is treated as there would be a static
584 pre-configured entry in Configure's %table under key <id> with value
585 <details> and ``perl Configure <id>'' is called. So, when you want to
586 perform a quick test-compile under FreeBSD 3.1 with pgcc and without
587 assembler stuff you can use ``perl Configure "FreeBSD-elf:pgcc:-O6:::"''
588 now, which overrides the FreeBSD-elf entry on-the-fly.
589 [Ralf S. Engelschall]
591 *) Disable new TLS1 ciphersuites by default: they aren't official yet.
594 *) Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified
595 on the `perl Configure ...' command line. This way one can compile
596 OpenSSL libraries with Position Independent Code (PIC) which is needed
597 for linking it into DSOs.
598 [Ralf S. Engelschall]
600 *) Remarkably, export ciphers were totally broken and no-one had noticed!
604 *) Cleaned up the LICENSE document: The official contact for any license
605 questions now is the OpenSSL core team under openssl-core@openssl.org.
606 And add a paragraph about the dual-license situation to make sure people
607 recognize that _BOTH_ the OpenSSL license _AND_ the SSLeay license apply
608 to the OpenSSL toolkit.
609 [Ralf S. Engelschall]
611 *) General source tree makefile cleanups: Made `making xxx in yyy...'
612 display consistent in the source tree and replaced `/bin/rm' by `rm'.
613 Additonally cleaned up the `make links' target: Remove unnecessary
614 semicolons, subsequent redundant removes, inline point.sh into mklink.sh
615 to speed processing and no longer clutter the display with confusing
616 stuff. Instead only the actually done links are displayed.
617 [Ralf S. Engelschall]
619 *) Permit null encryption ciphersuites, used for authentication only. It used
620 to be necessary to set the preprocessor define SSL_ALLOW_ENULL to do this.
621 It is now necessary to set SSL_FORBID_ENULL to prevent the use of null
625 *) Add a bunch of fixes to the PKCS#7 stuff. It used to sometimes reorder
626 signed attributes when verifying signatures (this would break them),
627 the detached data encoding was wrong and public keys obtained using
628 X509_get_pubkey() weren't freed.
631 *) Add text documentation for the BUFFER functions. Also added a work around
632 to a Win95 console bug. This was triggered by the password read stuff: the
633 last character typed gets carried over to the next fread(). If you were
634 generating a new cert request using 'req' for example then the last
635 character of the passphrase would be CR which would then enter the first
639 *) Added the new `Includes OpenSSL Cryptography Software' button as
640 doc/openssl_button.{gif,html} which is similar in style to the old SSLeay
641 button and can be used by applications based on OpenSSL to show the
642 relationship to the OpenSSL project.
643 [Ralf S. Engelschall]
645 *) Remove confusing variables in function signatures in files
646 ssl/ssl_lib.c and ssl/ssl.h.
647 [Lennart Bong <lob@kulthea.stacken.kth.se>]
649 *) Don't install bss_file.c under PREFIX/include/
650 [Lennart Bong <lob@kulthea.stacken.kth.se>]
652 *) Get the Win32 compile working again. Modify mkdef.pl so it can handle
653 functions that return function pointers and has support for NT specific
654 stuff. Fix mk1mf.pl and VC-32.pl to support NT differences also. Various
655 #ifdef WIN32 and WINNTs sprinkled about the place and some changes from
656 unsigned to signed types: this was killing the Win32 compile.
659 *) Add new certificate file to stack functions,
660 SSL_add_dir_cert_subjects_to_stack() and
661 SSL_add_file_cert_subjects_to_stack(). These largely supplant
662 SSL_load_client_CA_file(), and can be used to add multiple certs easily
663 to a stack (usually this is then handed to SSL_CTX_set_client_CA_list()).
664 This means that Apache-SSL and similar packages don't have to mess around
665 to add as many CAs as they want to the preferred list.
668 *) Experiment with doxygen documentation. Currently only partially applied to
670 See http://www.stack.nl/~dimitri/doxygen/index.html, and run doxygen with
671 openssl.doxy as the configuration file.
674 *) Get rid of remaining C++-style comments which strict C compilers hate.
675 [Ralf S. Engelschall, pointed out by Carlos Amengual]
677 *) Changed BN_RECURSION in bn_mont.c to BN_RECURSION_MONT so it is not
678 compiled in by default: it has problems with large keys.
681 *) Add a bunch of SSL_xxx() functions for configuring the temporary RSA and
682 DH private keys and/or callback functions which directly correspond to
683 their SSL_CTX_xxx() counterparts but work on a per-connection basis. This
684 is needed for applications which have to configure certificates on a
685 per-connection basis (e.g. Apache+mod_ssl) instead of a per-context basis
687 For the RSA certificate situation is makes no difference, but
688 for the DSA certificate situation this fixes the "no shared cipher"
689 problem where the OpenSSL cipher selection procedure failed because the
690 temporary keys were not overtaken from the context and the API provided
691 no way to reconfigure them.
692 The new functions now let applications reconfigure the stuff and they
693 are in detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
694 SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback. Additionally a new
695 non-public-API function ssl_cert_instantiate() is used as a helper
696 function and also to reduce code redundancy inside ssl_rsa.c.
697 [Ralf S. Engelschall]
699 *) Move s_server -dcert and -dkey options out of the undocumented feature
700 area because they are useful for the DSA situation and should be
701 recognized by the users.
702 [Ralf S. Engelschall]
704 *) Fix the cipher decision scheme for export ciphers: the export bits are
705 *not* within SSL_MKEY_MASK or SSL_AUTH_MASK, they are within
706 SSL_EXP_MASK. So, the original variable has to be used instead of the
707 already masked variable.
708 [Richard Levitte <levitte@stacken.kth.se>]
710 *) Fix 'port' variable from `int' to `unsigned int' in crypto/bio/b_sock.c
711 [Richard Levitte <levitte@stacken.kth.se>]
713 *) Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
714 from `int' to `unsigned int' because it's a length and initialized by
715 EVP_DigestFinal() which expects an `unsigned int *'.
716 [Richard Levitte <levitte@stacken.kth.se>]
718 *) Don't hard-code path to Perl interpreter on shebang line of Configure
719 script. Instead use the usual Shell->Perl transition trick.
720 [Ralf S. Engelschall]
722 *) Make `openssl x509 -noout -modulus' functional also for DSA certificates
723 (in addition to RSA certificates) to match the behaviour of `openssl dsa
724 -noout -modulus' as it's already the case for `openssl rsa -noout
725 -modulus'. For RSA the -modulus is the real "modulus" while for DSA
726 currently the public key is printed (a decision which was already done by
727 `openssl dsa -modulus' in the past) which serves a similar purpose.
728 Additionally the NO_RSA no longer completely removes the whole -modulus
729 option; it now only avoids using the RSA stuff. Same applies to NO_DSA
731 [Ralf S. Engelschall]
733 *) Add Arne Ansper's reliable BIO - this is an encrypted, block-digested
734 BIO. See the source (crypto/evp/bio_ok.c) for more info.
735 [Arne Ansper <arne@ats.cyber.ee>]
737 *) Dump the old yucky req code that tried (and failed) to allow raw OIDs
738 to be added. Now both 'req' and 'ca' can use new objects defined in the
742 *) Add cool BIO that does syslog (or event log on NT).
743 [Arne Ansper <arne@ats.cyber.ee>, integrated by Ben Laurie]
745 *) Add support for new TLS ciphersuites, TLS_RSA_EXPORT56_WITH_RC4_56_MD5,
746 TLS_RSA_EXPORT56_WITH_RC2_CBC_56_MD5 and
747 TLS_RSA_EXPORT56_WITH_DES_CBC_SHA, as specified in "56-bit Export Cipher
748 Suites For TLS", draft-ietf-tls-56-bit-ciphersuites-00.txt.
751 *) Add preliminary config info for new extension code.
754 *) Make RSA_NO_PADDING really use no padding.
755 [Ulf Moeller <ulf@fitug.de>]
757 *) Generate errors when private/public key check is done.
760 *) Overhaul for 'crl' utility. New function X509_CRL_print. Partial support
761 for some CRL extensions and new objects added.
764 *) Really fix the ASN1 IMPLICIT bug this time... Partial support for private
765 key usage extension and fuller support for authority key id.
768 *) Add OAEP encryption for the OpenSSL crypto library. OAEP is the improved
769 padding method for RSA, which is recommended for new applications in PKCS
770 #1 v2.0 (RFC 2437, October 1998).
771 OAEP (Optimal Asymmetric Encryption Padding) has better theoretical
772 foundations than the ad-hoc padding used in PKCS #1 v1.5. It is secure
773 against Bleichbacher's attack on RSA.
774 [Ulf Moeller <ulf@fitug.de>, reformatted, corrected and integrated by
777 *) Updates to the new SSL compression code
778 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
780 *) Fix so that the version number in the master secret, when passed
781 via RSA, checks that if TLS was proposed, but we roll back to SSLv3
782 (because the server will not accept higher), that the version number
783 is 0x03,0x01, not 0x03,0x00
784 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
786 *) Run extensive memory leak checks on SSL apps. Fixed *lots* of memory
787 leaks in ssl/ relating to new X509_get_pubkey() behaviour. Also fixes
788 in apps/ and an unrelated leak in crypto/dsa/dsa_vrf.c
791 *) Support for RAW extensions where an arbitrary extension can be
792 created by including its DER encoding. See apps/openssl.cnf for
796 *) Make sure latest Perl versions don't interpret some generated C array
797 code as Perl array code in the crypto/err/err_genc.pl script.
798 [Lars Weber <3weber@informatik.uni-hamburg.de>]
800 *) Modify ms/do_ms.bat to not generate assembly language makefiles since
801 not many people have the assembler. Various Win32 compilation fixes and
802 update to the INSTALL.W32 file with (hopefully) more accurate Win32
806 *) Modify configure script 'Configure' to automatically create crypto/date.h
807 file under Win32 and also build pem.h from pem.org. New script
808 util/mkfiles.pl to create the MINFO file on environments that can't do a
809 'make files': perl util/mkfiles.pl >MINFO should work.
812 *) Major rework of DES function declarations, in the pursuit of correctness
813 and purity. As a result, many evil casts evaporated, and some weirdness,
814 too. You may find this causes warnings in your code. Zapping your evil
815 casts will probably fix them. Mostly.
818 *) Fix for a typo in asn1.h. Bug fix to object creation script
819 obj_dat.pl. It considered a zero in an object definition to mean
820 "end of object": none of the objects in objects.h have any zeros
821 so it wasn't spotted.
822 [Steve Henson, reported by Erwann ABALEA <eabalea@certplus.com>]
824 *) Add support for Triple DES Cipher Block Chaining with Output Feedback
825 Masking (CBCM). In the absence of test vectors, the best I have been able
826 to do is check that the decrypt undoes the encrypt, so far. Send me test
827 vectors if you have them.
830 *) Correct calculation of key length for export ciphers (too much space was
831 allocated for null ciphers). This has not been tested!
834 *) Modifications to the mkdef.pl for Win32 DEF file creation. The usage
835 message is now correct (it understands "crypto" and "ssl" on its
836 command line). There is also now an "update" option. This will update
837 the util/ssleay.num and util/libeay.num files with any new functions.
839 perl util/mkdef.pl crypto ssl update
843 *) Overhauled the Perl interface (perl/*):
844 - ported BN stuff to OpenSSL's different BN library
845 - made the perl/ source tree CVS-aware
846 - renamed the package from SSLeay to OpenSSL (the files still contain
847 their history because I've copied them in the repository)
848 - removed obsolete files (the test scripts will be replaced
849 by better Test::Harness variants in the future)
850 [Ralf S. Engelschall]
852 *) First cut for a very conservative source tree cleanup:
853 1. merge various obsolete readme texts into doc/ssleay.txt
854 where we collect the old documents and readme texts.
855 2. remove the first part of files where I'm already sure that we no
856 longer need them because of three reasons: either they are just temporary
857 files which were left by Eric or they are preserved original files where
858 I've verified that the diff is also available in the CVS via "cvs diff
859 -rSSLeay_0_8_1b" or they were renamed (as it was definitely the case for
860 the crypto/md/ stuff).
861 [Ralf S. Engelschall]
863 *) More extension code. Incomplete support for subject and issuer alt
864 name, issuer and authority key id. Change the i2v function parameters
865 and add an extra 'crl' parameter in the X509V3_CTX structure: guess
866 what that's for :-) Fix to ASN1 macro which messed up
867 IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
870 *) Preliminary support for ENUMERATED type. This is largely copied from the
874 *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
875 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
877 *) Make sure `make rehash' target really finds the `openssl' program.
878 [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
880 *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
881 like to hear about it if this slows down other processors.
884 *) Add CygWin32 platform information to Configure script.
885 [Alan Batie <batie@aahz.jf.intel.com>]
887 *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
888 [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
890 *) New program nseq to manipulate netscape certificate sequences
893 *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
897 *) Fixes to BN code. Previously the default was to define BN_RECURSION
898 but the BN code had some problems that would cause failures when
899 doing certificate verification and some other functions.
900 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
902 *) Add ASN1 and PEM code to support netscape certificate sequences.
905 *) Add ASN1 and PEM code to support netscape certificate sequences.
908 *) Add several PKIX and private extended key usage OIDs.
911 *) Modify the 'ca' program to handle the new extension code. Modify
912 openssl.cnf for new extension format, add comments.
915 *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
916 and add a sample to openssl.cnf so req -x509 now adds appropriate
920 *) Continued X509 V3 changes. Add to other makefiles, integrate with the
921 error code, add initial support to X509_print() and x509 application.
924 *) Takes a deep breath and start addding X509 V3 extension support code. Add
925 files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
926 stuff is currently isolated and isn't even compiled yet.
929 *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
930 ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
931 Removed the versions check from X509 routines when loading extensions:
932 this allows certain broken certificates that don't set the version
933 properly to be processed.
936 *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
937 Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
938 can still be regenerated with "make depend".
941 *) Spelling mistake in C version of CAST-128.
942 [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
944 *) Changes to the error generation code. The perl script err-code.pl
945 now reads in the old error codes and retains the old numbers, only
946 adding new ones if necessary. It also only changes the .err files if new
947 codes are added. The makefiles have been modified to only insert errors
948 when needed (to avoid needlessly modifying header files). This is done
949 by only inserting errors if the .err file is newer than the auto generated
950 C file. To rebuild all the error codes from scratch (the old behaviour)
951 either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
952 or delete all the .err files.
955 *) CAST-128 was incorrectly implemented for short keys. The C version has
956 been fixed, but is untested. The assembler versions are also fixed, but
957 new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
958 to regenerate it if needed.
959 [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
960 Hagino <itojun@kame.net>]
962 *) File was opened incorrectly in randfile.c.
963 [Ulf Möller <ulf@fitug.de>]
965 *) Beginning of support for GeneralizedTime. d2i, i2d, check and print
966 functions. Also ASN1_TIME suite which is a CHOICE of UTCTime or
967 GeneralizedTime. ASN1_TIME is the proper type used in certificates et
968 al: it's just almost always a UTCTime. Note this patch adds new error
969 codes so do a "make errors" if there are problems.
972 *) Correct Linux 1 recognition in config.
973 [Ulf Möller <ulf@fitug.de>]
975 *) Remove pointless MD5 hash when using DSA keys in ca.
976 [Anonymous <nobody@replay.com>]
978 *) Generate an error if given an empty string as a cert directory. Also
979 generate an error if handed NULL (previously returned 0 to indicate an
980 error, but didn't set one).
981 [Ben Laurie, reported by Anonymous <nobody@replay.com>]
983 *) Add prototypes to SSL methods. Make SSL_write's buffer const, at last.
986 *) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
987 parameters. This was causing a warning which killed off the Win32 compile.
990 *) Remove C++ style comments from crypto/bn/bn_local.h.
991 [Neil Costigan <neil.costigan@celocom.com>]
993 *) The function OBJ_txt2nid was broken. It was supposed to return a nid
994 based on a text string, looking up short and long names and finally
995 "dot" format. The "dot" format stuff didn't work. Added new function
996 OBJ_txt2obj to do the same but return an ASN1_OBJECT and rewrote
997 OBJ_txt2nid to use it. OBJ_txt2obj can also return objects even if the
998 OID is not part of the table.
1001 *) Add prototypes to X509 lookup/verify methods, fixing a bug in
1002 X509_LOOKUP_by_alias().
1005 *) Sort openssl functions by name.
1008 *) Get the gendsa program working (hopefully) and add it to app list. Remove
1009 encryption from sample DSA keys (in case anyone is interested the password
1013 *) Make _all_ *_free functions accept a NULL pointer.
1014 [Frans Heymans <fheymans@isaserver.be>]
1016 *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
1018 [Anonymous <nobody@replay.com>]
1020 *) s_server should send the CAfile as acceptable CAs, not its own cert.
1021 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
1023 *) Don't blow it for numeric -newkey arguments to apps/req.
1024 [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
1026 *) Temp key "for export" tests were wrong in s3_srvr.c.
1027 [Anonymous <nobody@replay.com>]
1029 *) Add prototype for temp key callback functions
1030 SSL_CTX_set_tmp_{rsa,dh}_callback().
1033 *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
1034 DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
1037 *) X509_name_add_entry() freed the wrong thing after an error.
1038 [Arne Ansper <arne@ats.cyber.ee>]
1040 *) rsa_eay.c would attempt to free a NULL context.
1041 [Arne Ansper <arne@ats.cyber.ee>]
1043 *) BIO_s_socket() had a broken should_retry() on Windoze.
1044 [Arne Ansper <arne@ats.cyber.ee>]
1046 *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
1047 [Arne Ansper <arne@ats.cyber.ee>]
1049 *) Make sure the already existing X509_STORE->depth variable is initialized
1050 in X509_STORE_new(), but document the fact that this variable is still
1051 unused in the certificate verification process.
1052 [Ralf S. Engelschall]
1054 *) Fix the various library and apps files to free up pkeys obtained from
1055 X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
1058 *) Fix reference counting in X509_PUBKEY_get(). This makes
1059 demos/maurice/example2.c work, amongst others, probably.
1060 [Steve Henson and Ben Laurie]
1062 *) First cut of a cleanup for apps/. First the `ssleay' program is now named
1063 `openssl' and second, the shortcut symlinks for the `openssl <command>'
1064 are no longer created. This way we have a single and consistent command
1065 line interface `openssl <command>', similar to `cvs <command>'.
1066 [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
1068 *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
1069 BIT STRING wrapper always have zero unused bits.
1072 *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
1075 *) Make the top-level INSTALL documentation easier to understand.
1078 *) Makefiles updated to exit if an error occurs in a sub-directory
1079 make (including if user presses ^C) [Paul Sutton]
1081 *) Make Montgomery context stuff explicit in RSA data structure.
1084 *) Fix build order of pem and err to allow for generated pem.h.
1087 *) Fix renumbering bug in X509_NAME_delete_entry().
1090 *) Enhanced the err-ins.pl script so it makes the error library number
1091 global and can add a library name. This is needed for external ASN1 and
1092 other error libraries.
1095 *) Fixed sk_insert which never worked properly.
1098 *) Fix ASN1 macros so they can handle indefinite length construted
1099 EXPLICIT tags. Some non standard certificates use these: they can now
1103 *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
1104 into a single doc/ssleay.txt bundle. This way the information is still
1105 preserved but no longer messes up this directory. Now it's new room for
1106 the new set of documenation files.
1107 [Ralf S. Engelschall]
1109 *) SETs were incorrectly DER encoded. This was a major pain, because they
1110 shared code with SEQUENCEs, which aren't coded the same. This means that
1111 almost everything to do with SETs or SEQUENCEs has either changed name or
1112 number of arguments.
1113 [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
1115 *) Fix test data to work with the above.
1118 *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
1119 was already fixed by Eric for 0.9.1 it seems.
1120 [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
1122 *) Autodetect FreeBSD3.
1125 *) Fix various bugs in Configure. This affects the following platforms:
1129 unixware-2.0-pentium
1133 *) Eliminate generated files from CVS. Reorder tests to regenerate files
1134 before they are needed.
1137 *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
1141 Changes between 0.9.1b and 0.9.1c [23-Dec-1998]
1143 *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and
1144 changed SSLeay to OpenSSL in version strings.
1145 [Ralf S. Engelschall]
1147 *) Some fixups to the top-level documents.
1150 *) Fixed the nasty bug where rsaref.h was not found under compile-time
1151 because the symlink to include/ was missing.
1152 [Ralf S. Engelschall]
1154 *) Incorporated the popular no-RSA/DSA-only patches
1155 which allow to compile a RSA-free SSLeay.
1156 [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
1158 *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
1159 when "ssleay" is still not found.
1160 [Ralf S. Engelschall]
1162 *) Added more platforms to Configure: Cray T3E, HPUX 11,
1163 [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
1165 *) Updated the README file.
1166 [Ralf S. Engelschall]
1168 *) Added various .cvsignore files in the CVS repository subdirs
1169 to make a "cvs update" really silent.
1170 [Ralf S. Engelschall]
1172 *) Recompiled the error-definition header files and added
1173 missing symbols to the Win32 linker tables.
1174 [Ralf S. Engelschall]
1176 *) Cleaned up the top-level documents;
1177 o new files: CHANGES and LICENSE
1178 o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay
1179 o merged COPYRIGHT into LICENSE
1180 o removed obsolete TODO file
1181 o renamed MICROSOFT to INSTALL.W32
1182 [Ralf S. Engelschall]
1184 *) Removed dummy files from the 0.9.1b source tree:
1185 crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
1186 crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
1187 crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
1188 crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
1189 util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
1190 [Ralf S. Engelschall]
1192 *) Added various platform portability fixes.
1195 *) The Genesis of the OpenSSL rpject:
1196 We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
1197 Young and Tim J. Hudson created while they were working for C2Net until
1199 [The OpenSSL Project]
1202 Changes between 0.9.0b and 0.9.1b [not released]
1204 *) Updated a few CA certificates under certs/
1207 *) Changed some BIGNUM api stuff.
1210 *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD,
1211 DGUX x86, Linux Alpha, etc.
1214 *) New COMP library [crypto/comp/] for SSL Record Layer Compression:
1215 RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
1219 *) Add -strparse option to asn1pars program which parses nested
1221 [Dr Stephen Henson <shenson@bigfoot.com>]
1223 *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
1226 *) DSA fix for "ca" program.
1229 *) Added "-genkey" option to "dsaparam" program.
1232 *) Added RIPE MD160 (rmd160) message digest.
1235 *) Added -a (all) option to "ssleay version" command.
1238 *) Added PLATFORM define which is the id given to Configure.
1241 *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
1244 *) Extended the ASN.1 parser routines.
1247 *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
1250 *) Added a BN_CTX to the BN library.
1253 *) Fixed the weak key values in DES library
1256 *) Changed API in EVP library for cipher aliases.
1259 *) Added support for RC2/64bit cipher.
1262 *) Converted the lhash library to the crypto/mem.c functions.
1265 *) Added more recognized ASN.1 object ids.
1268 *) Added more RSA padding checks for SSL/TLS.
1271 *) Added BIO proxy/filter functionality.
1274 *) Added extra_certs to SSL_CTX which can be used
1275 send extra CA certificates to the client in the CA cert chain sending
1276 process. It can be configured with SSL_CTX_add_extra_chain_cert().
1279 *) Now Fortezza is denied in the authentication phase because
1280 this is key exchange mechanism is not supported by SSLeay at all.
1283 *) Additional PKCS1 checks.
1286 *) Support the string "TLSv1" for all TLS v1 ciphers.
1289 *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
1290 ex_data index of the SSL context in the X509_STORE_CTX ex_data.
1293 *) Fixed a few memory leaks.
1296 *) Fixed various code and comment typos.
1299 *) A minor bug in ssl/s3_clnt.c where there would always be 4 0
1300 bytes sent in the client random.
1301 [Edward Bishop <ebishop@spyglass.com>]