163281cd36373ecd3e9f019ce7f80b912698ca56
[openssl.git] / CHANGES
1
2  OpenSSL CHANGES
3  _______________
4
5
6  Changes between 0.9.2b and 0.9.3
7
8   *) Bugfix: In test/testenc, don't test "openssl <cipher>" for
9      ciphers that were excluded, e.g. by -DNO_IDEA.  Also, test
10      all available cipers including rc5, which was forgotten until now.
11      In order to let the testing shell script know which algorithms
12      are available, a new (up to now undocumented) command
13      "openssl list-cipher-commands" is used.
14      [Bodo Moeller]
15
16   *) Bugfix: s_client occasionally would sleep in select() when
17      it should have checked SSL_pending() first.
18      [Bodo Moeller]
19
20   *) New functions DSA_do_sign and DSA_do_verify to provide access to
21      the raw DSA values prior to ASN.1 encoding.
22      [Ulf Möller]
23
24   *) Tweaks to Configure
25      Niels Poppe <niels@netbox.org>
26
27   *) Add support for PKCS#5 v2.0 ASN1 PBES2 structures. No other support,
28      yet...
29      [Steve Henson]
30
31   *) New variables $(RANLIB) and $(PERL) in the Makefiles.
32      [Ulf Möller]
33
34   *) New config option to avoid instructions that are illegal on the 80386.
35      The default code is faster, but requires at least a 486.
36      [Ulf Möller]
37   
38   *) Got rid of old SSL2_CLIENT_VERSION (inconsistently used) and
39      SSL2_SERVER_VERSION (not used at all) macros, which are now the
40      same as SSL2_VERSION anyway.
41      [Bodo Moeller]
42
43   *) New "-showcerts" option for s_client.
44      [Bodo Moeller]
45
46   *) Still more PKCS#12 integration. Add pkcs12 application to openssl
47      application. Various cleanups and fixes.
48      [Steve Henson]
49
50   *) More PKCS#12 integration. Add new pkcs12 directory with Makefile.ssl and
51      modify error routines to work internally. Add error codes and PBE init
52      to library startup routines.
53      [Steve Henson]
54
55   *) Further PKCS#12 integration. Added password based encryption, PKCS#8 and
56      packing functions to asn1 and evp. Changed function names and error
57      codes along the way.
58      [Steve Henson]
59
60   *) PKCS12 integration: and so it begins... First of several patches to
61      slowly integrate PKCS#12 functionality into OpenSSL. Add PKCS#12
62      objects to objects.h
63      [Steve Henson]
64
65   *) Add a new 'indent' option to some X509V3 extension code. Initial ASN1
66      and display support for Thawte strong extranet extension.
67      [Steve Henson]
68
69   *) Add LinuxPPC support.
70      [Jeff Dubrule <igor@pobox.org>]
71
72   *) Get rid of redundant BN file bn_mulw.c, and rename bn_div64 to
73      bn_div_words in alpha.s.
74      [Hannes Reinecke <H.Reinecke@hw.ac.uk> and Ben Laurie]
75
76   *) Make sure the RSA OAEP test is skipped under -DRSAref because
77      OAEP isn't supported when OpenSSL is built with RSAref.
78      [Ulf Moeller <ulf@fitug.de>]
79
80   *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h 
81      so they no longer are missing under -DNOPROTO. 
82      [Soren S. Jorvang <soren@t.dk>]
83
84  Changes between 0.9.1c and 0.9.2b
85
86   *) Make SSL_get_peer_cert_chain() work in servers. Unfortunately, it still
87      doesn't work when the session is reused. Coming soon!
88      [Ben Laurie]
89
90   *) Fix a security hole, that allows sessions to be reused in the wrong
91      context thus bypassing client cert protection! All software that uses
92      client certs and session caches in multiple contexts NEEDS PATCHING to
93      allow session reuse! A fuller solution is in the works.
94      [Ben Laurie, problem pointed out by Holger Reif, Bodo Moeller (and ???)]
95
96   *) Some more source tree cleanups (removed obsolete files
97      crypto/bf/asm/bf586.pl, test/test.txt and crypto/sha/asm/f.s; changed
98      permission on "config" script to be executable) and a fix for the INSTALL
99      document.
100      [Ulf Moeller <ulf@fitug.de>]
101
102   *) Remove some legacy and erroneous uses of malloc, free instead of
103      Malloc, Free.
104      [Lennart Bang <lob@netstream.se>, with minor changes by Steve]
105
106   *) Make rsa_oaep_test return non-zero on error.
107      [Ulf Moeller <ulf@fitug.de>]
108
109   *) Add support for native Solaris shared libraries. Configure
110      solaris-sparc-sc4-pic, make, then run shlib/solaris-sc4.sh. It'd be nice
111      if someone would make that last step automatic.
112      [Matthias Loepfe <Matthias.Loepfe@AdNovum.CH>]
113
114   *) ctx_size was not built with the right compiler during "make links". Fixed.
115      [Ben Laurie]
116
117   *) Change the meaning of 'ALL' in the cipher list. It now means "everything
118      except NULL ciphers". This means the default cipher list will no longer
119      enable NULL ciphers. They need to be specifically enabled e.g. with
120      the string "DEFAULT:eNULL".
121      [Steve Henson]
122
123   *) Fix to RSA private encryption routines: if p < q then it would
124      occasionally produce an invalid result. This will only happen with
125      externally generated keys because OpenSSL (and SSLeay) ensure p > q.
126      [Steve Henson]
127
128   *) Be less restrictive and allow also `perl util/perlpath.pl
129      /path/to/bin/perl' in addition to `perl util/perlpath.pl /path/to/bin',
130      because this way one can also use an interpreter named `perl5' (which is
131      usually the name of Perl 5.xxx on platforms where an Perl 4.x is still
132      installed as `perl').
133      [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
134
135   *) Let util/clean-depend.pl work also with older Perl 5.00x versions.
136      [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
137
138   *) Fix Makefile.org so CC,CFLAG etc are passed to 'make links' add
139      advapi32.lib to Win32 build and change the pem test comparision
140      to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the
141      suggestion). Fix misplaced ASNI prototypes and declarations in evp.h
142      and crypto/des/ede_cbcm_enc.c.
143      [Steve Henson]
144
145   *) DES quad checksum was broken on big-endian architectures. Fixed.
146      [Ben Laurie]
147
148   *) Comment out two functions in bio.h that aren't implemented. Fix up the
149      Win32 test batch file so it (might) work again. The Win32 test batch file
150      is horrible: I feel ill....
151      [Steve Henson]
152
153   *) Move various #ifdefs around so NO_SYSLOG, NO_DIRENT etc are now selected
154      in e_os.h. Audit of header files to check ANSI and non ANSI
155      sections: 10 functions were absent from non ANSI section and not exported
156      from Windows DLLs. Fixed up libeay.num for new functions.
157      [Steve Henson]
158
159   *) Make `openssl version' output lines consistent.
160      [Ralf S. Engelschall]
161
162   *) Fix Win32 symbol export lists for BIO functions: Added
163      BIO_get_ex_new_index, BIO_get_ex_num, BIO_get_ex_data and BIO_set_ex_data
164      to ms/libeay{16,32}.def.
165      [Ralf S. Engelschall]
166
167   *) Second round of fixing the OpenSSL perl/ stuff. It now at least compiled
168      fine under Unix and passes some trivial tests I've now added. But the
169      whole stuff is horribly incomplete, so a README.1ST with a disclaimer was
170      added to make sure no one expects that this stuff really works in the
171      OpenSSL 0.9.2 release.  Additionally I've started to clean the XS sources
172      up and fixed a few little bugs and inconsistencies in OpenSSL.{pm,xs} and
173      openssl_bio.xs.
174      [Ralf S. Engelschall]
175
176   *) Fix the generation of two part addresses in perl.
177      [Kenji Miyake <kenji@miyake.org>, integrated by Ben Laurie]
178
179   *) Add config entry for Linux on MIPS.
180      [John Tobey <jtobey@channel1.com>]
181
182   *) Make links whenever Configure is run, unless we are on Windoze.
183      [Ben Laurie]
184
185   *) Permit extensions to be added to CRLs using crl_section in openssl.cnf.
186      Currently only issuerAltName and AuthorityKeyIdentifier make any sense
187      in CRLs.
188      [Steve Henson]
189
190   *) Add a useful kludge to allow package maintainers to specify compiler and
191      other platforms details on the command line without having to patch the
192      Configure script everytime: One now can use ``perl Configure
193      <id>:<details>'', i.e. platform ids are allowed to have details appended
194      to them (seperated by colons). This is treated as there would be a static
195      pre-configured entry in Configure's %table under key <id> with value
196      <details> and ``perl Configure <id>'' is called.  So, when you want to
197      perform a quick test-compile under FreeBSD 3.1 with pgcc and without
198      assembler stuff you can use ``perl Configure "FreeBSD-elf:pgcc:-O6:::"''
199      now, which overrides the FreeBSD-elf entry on-the-fly.
200      [Ralf S. Engelschall]
201
202   *) Disable new TLS1 ciphersuites by default: they aren't official yet.
203      [Ben Laurie]
204
205   *) Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified
206      on the `perl Configure ...' command line. This way one can compile
207      OpenSSL libraries with Position Independent Code (PIC) which is needed
208      for linking it into DSOs.
209      [Ralf S. Engelschall]
210
211   *) Remarkably, export ciphers were totally broken and no-one had noticed!
212      Fixed.
213      [Ben Laurie]
214
215   *) Cleaned up the LICENSE document: The official contact for any license
216      questions now is the OpenSSL core team under openssl-core@openssl.org.
217      And add a paragraph about the dual-license situation to make sure people
218      recognize that _BOTH_ the OpenSSL license _AND_ the SSLeay license apply
219      to the OpenSSL toolkit.
220      [Ralf S. Engelschall]
221
222   *) General source tree makefile cleanups: Made `making xxx in yyy...'
223      display consistent in the source tree and replaced `/bin/rm' by `rm'.
224      Additonally cleaned up the `make links' target: Remove unnecessary
225      semicolons, subsequent redundant removes, inline point.sh into mklink.sh
226      to speed processing and no longer clutter the display with confusing
227      stuff. Instead only the actually done links are displayed.
228      [Ralf S. Engelschall]
229
230   *) Permit null encryption ciphersuites, used for authentication only. It used
231      to be necessary to set the preprocessor define SSL_ALLOW_ENULL to do this.
232      It is now necessary to set SSL_FORBID_ENULL to prevent the use of null
233      encryption.
234      [Ben Laurie]
235
236   *) Add a bunch of fixes to the PKCS#7 stuff. It used to sometimes reorder
237      signed attributes when verifying signatures (this would break them), 
238      the detached data encoding was wrong and public keys obtained using
239      X509_get_pubkey() weren't freed.
240      [Steve Henson]
241
242   *) Add text documentation for the BUFFER functions. Also added a work around
243      to a Win95 console bug. This was triggered by the password read stuff: the
244      last character typed gets carried over to the next fread(). If you were 
245      generating a new cert request using 'req' for example then the last
246      character of the passphrase would be CR which would then enter the first
247      field as blank.
248      [Steve Henson]
249
250   *) Added the new `Includes OpenSSL Cryptography Software' button as
251      doc/openssl_button.{gif,html} which is similar in style to the old SSLeay
252      button and can be used by applications based on OpenSSL to show the
253      relationship to the OpenSSL project.  
254      [Ralf S. Engelschall]
255
256   *) Remove confusing variables in function signatures in files
257      ssl/ssl_lib.c and ssl/ssl.h.
258      [Lennart Bong <lob@kulthea.stacken.kth.se>]
259
260   *) Don't install bss_file.c under PREFIX/include/
261      [Lennart Bong <lob@kulthea.stacken.kth.se>]
262
263   *) Get the Win32 compile working again. Modify mkdef.pl so it can handle
264      functions that return function pointers and has support for NT specific
265      stuff. Fix mk1mf.pl and VC-32.pl to support NT differences also. Various
266      #ifdef WIN32 and WINNTs sprinkled about the place and some changes from
267      unsigned to signed types: this was killing the Win32 compile.
268      [Steve Henson]
269
270   *) Add new certificate file to stack functions,
271      SSL_add_dir_cert_subjects_to_stack() and
272      SSL_add_file_cert_subjects_to_stack().  These largely supplant
273      SSL_load_client_CA_file(), and can be used to add multiple certs easily
274      to a stack (usually this is then handed to SSL_CTX_set_client_CA_list()).
275      This means that Apache-SSL and similar packages don't have to mess around
276      to add as many CAs as they want to the preferred list.
277      [Ben Laurie]
278
279   *) Experiment with doxygen documentation. Currently only partially applied to
280      ssl/ssl_lib.c.
281      See http://www.stack.nl/~dimitri/doxygen/index.html, and run doxygen with
282      openssl.doxy as the configuration file.
283      [Ben Laurie]
284   
285   *) Get rid of remaining C++-style comments which strict C compilers hate.
286      [Ralf S. Engelschall, pointed out by Carlos Amengual]
287
288   *) Changed BN_RECURSION in bn_mont.c to BN_RECURSION_MONT so it is not
289      compiled in by default: it has problems with large keys.
290      [Steve Henson]
291
292   *) Add a bunch of SSL_xxx() functions for configuring the temporary RSA and
293      DH private keys and/or callback functions which directly correspond to
294      their SSL_CTX_xxx() counterparts but work on a per-connection basis. This
295      is needed for applications which have to configure certificates on a
296      per-connection basis (e.g. Apache+mod_ssl) instead of a per-context basis
297      (e.g. s_server). 
298         For the RSA certificate situation is makes no difference, but
299      for the DSA certificate situation this fixes the "no shared cipher"
300      problem where the OpenSSL cipher selection procedure failed because the
301      temporary keys were not overtaken from the context and the API provided
302      no way to reconfigure them. 
303         The new functions now let applications reconfigure the stuff and they
304      are in detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
305      SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback.  Additionally a new
306      non-public-API function ssl_cert_instantiate() is used as a helper
307      function and also to reduce code redundancy inside ssl_rsa.c.
308      [Ralf S. Engelschall]
309
310   *) Move s_server -dcert and -dkey options out of the undocumented feature
311      area because they are useful for the DSA situation and should be
312      recognized by the users.
313      [Ralf S. Engelschall]
314
315   *) Fix the cipher decision scheme for export ciphers: the export bits are
316      *not* within SSL_MKEY_MASK or SSL_AUTH_MASK, they are within
317      SSL_EXP_MASK.  So, the original variable has to be used instead of the
318      already masked variable.
319      [Richard Levitte <levitte@stacken.kth.se>]
320
321   *) Fix 'port' variable from `int' to `unsigned int' in crypto/bio/b_sock.c
322      [Richard Levitte <levitte@stacken.kth.se>]
323
324   *) Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
325      from `int' to `unsigned int' because it's a length and initialized by
326      EVP_DigestFinal() which expects an `unsigned int *'.
327      [Richard Levitte <levitte@stacken.kth.se>]
328
329   *) Don't hard-code path to Perl interpreter on shebang line of Configure
330      script. Instead use the usual Shell->Perl transition trick.
331      [Ralf S. Engelschall]
332
333   *) Make `openssl x509 -noout -modulus' functional also for DSA certificates
334      (in addition to RSA certificates) to match the behaviour of `openssl dsa
335      -noout -modulus' as it's already the case for `openssl rsa -noout
336      -modulus'.  For RSA the -modulus is the real "modulus" while for DSA
337      currently the public key is printed (a decision which was already done by
338      `openssl dsa -modulus' in the past) which serves a similar purpose.
339      Additionally the NO_RSA no longer completely removes the whole -modulus
340      option; it now only avoids using the RSA stuff. Same applies to NO_DSA
341      now, too.
342      [Ralf S.  Engelschall]
343
344   *) Add Arne Ansper's reliable BIO - this is an encrypted, block-digested
345      BIO. See the source (crypto/evp/bio_ok.c) for more info.
346      [Arne Ansper <arne@ats.cyber.ee>]
347
348   *) Dump the old yucky req code that tried (and failed) to allow raw OIDs
349      to be added. Now both 'req' and 'ca' can use new objects defined in the
350      config file.
351      [Steve Henson]
352
353   *) Add cool BIO that does syslog (or event log on NT).
354      [Arne Ansper <arne@ats.cyber.ee>, integrated by Ben Laurie]
355
356   *) Add support for new TLS ciphersuites, TLS_RSA_EXPORT56_WITH_RC4_56_MD5,
357      TLS_RSA_EXPORT56_WITH_RC2_CBC_56_MD5 and
358      TLS_RSA_EXPORT56_WITH_DES_CBC_SHA, as specified in "56-bit Export Cipher
359      Suites For TLS", draft-ietf-tls-56-bit-ciphersuites-00.txt.
360      [Ben Laurie]
361
362   *) Add preliminary config info for new extension code.
363      [Steve Henson]
364
365   *) Make RSA_NO_PADDING really use no padding.
366      [Ulf Moeller <ulf@fitug.de>]
367
368   *) Generate errors when private/public key check is done.
369      [Ben Laurie]
370
371   *) Overhaul for 'crl' utility. New function X509_CRL_print. Partial support
372      for some CRL extensions and new objects added.
373      [Steve Henson]
374
375   *) Really fix the ASN1 IMPLICIT bug this time... Partial support for private
376      key usage extension and fuller support for authority key id.
377      [Steve Henson]
378
379   *) Add OAEP encryption for the OpenSSL crypto library. OAEP is the improved
380      padding method for RSA, which is recommended for new applications in PKCS
381      #1 v2.0 (RFC 2437, October 1998).
382      OAEP (Optimal Asymmetric Encryption Padding) has better theoretical
383      foundations than the ad-hoc padding used in PKCS #1 v1.5. It is secure
384      against Bleichbacher's attack on RSA.
385      [Ulf Moeller <ulf@fitug.de>, reformatted, corrected and integrated by
386       Ben Laurie]
387
388   *) Updates to the new SSL compression code
389      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
390
391   *) Fix so that the version number in the master secret, when passed
392      via RSA, checks that if TLS was proposed, but we roll back to SSLv3
393      (because the server will not accept higher), that the version number
394      is 0x03,0x01, not 0x03,0x00
395      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
396
397   *) Run extensive memory leak checks on SSL apps. Fixed *lots* of memory
398      leaks in ssl/ relating to new X509_get_pubkey() behaviour. Also fixes
399      in apps/ and an unrelated leak in crypto/dsa/dsa_vrf.c
400      [Steve Henson]
401
402   *) Support for RAW extensions where an arbitrary extension can be
403      created by including its DER encoding. See apps/openssl.cnf for
404      an example.
405      [Steve Henson]
406
407   *) Make sure latest Perl versions don't interpret some generated C array
408      code as Perl array code in the crypto/err/err_genc.pl script.
409      [Lars Weber <3weber@informatik.uni-hamburg.de>]
410
411   *) Modify ms/do_ms.bat to not generate assembly language makefiles since
412      not many people have the assembler. Various Win32 compilation fixes and
413      update to the INSTALL.W32 file with (hopefully) more accurate Win32
414      build instructions.
415      [Steve Henson]
416
417   *) Modify configure script 'Configure' to automatically create crypto/date.h
418      file under Win32 and also build pem.h from pem.org. New script
419      util/mkfiles.pl to create the MINFO file on environments that can't do a
420      'make files': perl util/mkfiles.pl >MINFO should work.
421      [Steve Henson]
422
423   *) Major rework of DES function declarations, in the pursuit of correctness
424      and purity. As a result, many evil casts evaporated, and some weirdness,
425      too. You may find this causes warnings in your code. Zapping your evil
426      casts will probably fix them. Mostly.
427      [Ben Laurie]
428
429   *) Fix for a typo in asn1.h. Bug fix to object creation script
430      obj_dat.pl. It considered a zero in an object definition to mean
431      "end of object": none of the objects in objects.h have any zeros
432      so it wasn't spotted.
433      [Steve Henson, reported by Erwann ABALEA <eabalea@certplus.com>]
434
435   *) Add support for Triple DES Cipher Block Chaining with Output Feedback
436      Masking (CBCM). In the absence of test vectors, the best I have been able
437      to do is check that the decrypt undoes the encrypt, so far. Send me test
438      vectors if you have them.
439      [Ben Laurie]
440
441   *) Correct calculation of key length for export ciphers (too much space was
442      allocated for null ciphers). This has not been tested!
443      [Ben Laurie]
444
445   *) Modifications to the mkdef.pl for Win32 DEF file creation. The usage
446      message is now correct (it understands "crypto" and "ssl" on its
447      command line). There is also now an "update" option. This will update
448      the util/ssleay.num and util/libeay.num files with any new functions.
449      If you do a: 
450      perl util/mkdef.pl crypto ssl update
451      it will update them.
452      [Steve Henson]
453
454   *) Overhauled the Perl interface (perl/*):
455      - ported BN stuff to OpenSSL's different BN library
456      - made the perl/ source tree CVS-aware
457      - renamed the package from SSLeay to OpenSSL (the files still contain
458        their history because I've copied them in the repository)
459      - removed obsolete files (the test scripts will be replaced
460        by better Test::Harness variants in the future)
461      [Ralf S. Engelschall]
462
463   *) First cut for a very conservative source tree cleanup:
464      1. merge various obsolete readme texts into doc/ssleay.txt
465      where we collect the old documents and readme texts.
466      2. remove the first part of files where I'm already sure that we no
467      longer need them because of three reasons: either they are just temporary
468      files which were left by Eric or they are preserved original files where
469      I've verified that the diff is also available in the CVS via "cvs diff
470      -rSSLeay_0_8_1b" or they were renamed (as it was definitely the case for
471      the crypto/md/ stuff).
472      [Ralf S. Engelschall]
473
474   *) More extension code. Incomplete support for subject and issuer alt
475      name, issuer and authority key id. Change the i2v function parameters
476      and add an extra 'crl' parameter in the X509V3_CTX structure: guess
477      what that's for :-) Fix to ASN1 macro which messed up
478      IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
479      [Steve Henson]
480
481   *) Preliminary support for ENUMERATED type. This is largely copied from the
482      INTEGER code.
483      [Steve Henson]
484
485   *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
486      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
487
488   *) Make sure `make rehash' target really finds the `openssl' program.
489      [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
490
491   *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
492      like to hear about it if this slows down other processors.
493      [Ben Laurie]
494
495   *) Add CygWin32 platform information to Configure script.
496      [Alan Batie <batie@aahz.jf.intel.com>]
497
498   *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
499      [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
500   
501   *) New program nseq to manipulate netscape certificate sequences
502      [Steve Henson]
503
504   *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
505      few typos.
506      [Steve Henson]
507
508   *) Fixes to BN code.  Previously the default was to define BN_RECURSION
509      but the BN code had some problems that would cause failures when
510      doing certificate verification and some other functions.
511      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
512
513   *) Add ASN1 and PEM code to support netscape certificate sequences.
514      [Steve Henson]
515
516   *) Add ASN1 and PEM code to support netscape certificate sequences.
517      [Steve Henson]
518
519   *) Add several PKIX and private extended key usage OIDs.
520      [Steve Henson]
521
522   *) Modify the 'ca' program to handle the new extension code. Modify
523      openssl.cnf for new extension format, add comments.
524      [Steve Henson]
525
526   *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
527      and add a sample to openssl.cnf so req -x509 now adds appropriate
528      CA extensions.
529      [Steve Henson]
530
531   *) Continued X509 V3 changes. Add to other makefiles, integrate with the
532      error code, add initial support to X509_print() and x509 application.
533      [Steve Henson]
534
535   *) Takes a deep breath and start addding X509 V3 extension support code. Add
536      files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
537      stuff is currently isolated and isn't even compiled yet.
538      [Steve Henson]
539
540   *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
541      ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
542      Removed the versions check from X509 routines when loading extensions:
543      this allows certain broken certificates that don't set the version
544      properly to be processed.
545      [Steve Henson]
546
547   *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
548      Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
549      can still be regenerated with "make depend".
550      [Ben Laurie]
551
552   *) Spelling mistake in C version of CAST-128.
553      [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
554
555   *) Changes to the error generation code. The perl script err-code.pl 
556      now reads in the old error codes and retains the old numbers, only
557      adding new ones if necessary. It also only changes the .err files if new
558      codes are added. The makefiles have been modified to only insert errors
559      when needed (to avoid needlessly modifying header files). This is done
560      by only inserting errors if the .err file is newer than the auto generated
561      C file. To rebuild all the error codes from scratch (the old behaviour)
562      either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
563      or delete all the .err files.
564      [Steve Henson]
565
566   *) CAST-128 was incorrectly implemented for short keys. The C version has
567      been fixed, but is untested. The assembler versions are also fixed, but
568      new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
569      to regenerate it if needed.
570      [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
571       Hagino <itojun@kame.net>]
572
573   *) File was opened incorrectly in randfile.c.
574      [Ulf Möller <ulf@fitug.de>]
575
576   *) Beginning of support for GeneralizedTime. d2i, i2d, check and print
577      functions. Also ASN1_TIME suite which is a CHOICE of UTCTime or
578      GeneralizedTime. ASN1_TIME is the proper type used in certificates et
579      al: it's just almost always a UTCTime. Note this patch adds new error
580      codes so do a "make errors" if there are problems.
581      [Steve Henson]
582
583   *) Correct Linux 1 recognition in config.
584      [Ulf Möller <ulf@fitug.de>]
585
586   *) Remove pointless MD5 hash when using DSA keys in ca.
587      [Anonymous <nobody@replay.com>]
588
589   *) Generate an error if given an empty string as a cert directory. Also
590      generate an error if handed NULL (previously returned 0 to indicate an
591      error, but didn't set one).
592      [Ben Laurie, reported by Anonymous <nobody@replay.com>]
593
594   *) Add prototypes to SSL methods. Make SSL_write's buffer const, at last.
595      [Ben Laurie]
596
597   *) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
598      parameters. This was causing a warning which killed off the Win32 compile.
599      [Steve Henson]
600
601   *) Remove C++ style comments from crypto/bn/bn_local.h.
602      [Neil Costigan <neil.costigan@celocom.com>]
603
604   *) The function OBJ_txt2nid was broken. It was supposed to return a nid
605      based on a text string, looking up short and long names and finally
606      "dot" format. The "dot" format stuff didn't work. Added new function
607      OBJ_txt2obj to do the same but return an ASN1_OBJECT and rewrote 
608      OBJ_txt2nid to use it. OBJ_txt2obj can also return objects even if the
609      OID is not part of the table.
610      [Steve Henson]
611
612   *) Add prototypes to X509 lookup/verify methods, fixing a bug in
613      X509_LOOKUP_by_alias().
614      [Ben Laurie]
615
616   *) Sort openssl functions by name.
617      [Ben Laurie]
618
619   *) Get the gendsa program working (hopefully) and add it to app list. Remove
620      encryption from sample DSA keys (in case anyone is interested the password
621      was "1234").
622      [Steve Henson]
623
624   *) Make _all_ *_free functions accept a NULL pointer.
625      [Frans Heymans <fheymans@isaserver.be>]
626
627   *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
628      NULL pointers.
629      [Anonymous <nobody@replay.com>]
630
631   *) s_server should send the CAfile as acceptable CAs, not its own cert.
632      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
633
634   *) Don't blow it for numeric -newkey arguments to apps/req.
635      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
636
637   *) Temp key "for export" tests were wrong in s3_srvr.c.
638      [Anonymous <nobody@replay.com>]
639
640   *) Add prototype for temp key callback functions
641      SSL_CTX_set_tmp_{rsa,dh}_callback().
642      [Ben Laurie]
643
644   *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
645      DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
646      [Steve Henson]
647
648   *) X509_name_add_entry() freed the wrong thing after an error.
649      [Arne Ansper <arne@ats.cyber.ee>]
650
651   *) rsa_eay.c would attempt to free a NULL context.
652      [Arne Ansper <arne@ats.cyber.ee>]
653
654   *) BIO_s_socket() had a broken should_retry() on Windoze.
655      [Arne Ansper <arne@ats.cyber.ee>]
656
657   *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
658      [Arne Ansper <arne@ats.cyber.ee>]
659
660   *) Make sure the already existing X509_STORE->depth variable is initialized
661      in X509_STORE_new(), but document the fact that this variable is still
662      unused in the certificate verification process.
663      [Ralf S. Engelschall]
664
665   *) Fix the various library and apps files to free up pkeys obtained from
666      X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
667      [Steve Henson]
668
669   *) Fix reference counting in X509_PUBKEY_get(). This makes
670      demos/maurice/example2.c work, amongst others, probably.
671      [Steve Henson and Ben Laurie]
672
673   *) First cut of a cleanup for apps/. First the `ssleay' program is now named
674      `openssl' and second, the shortcut symlinks for the `openssl <command>'
675      are no longer created. This way we have a single and consistent command
676      line interface `openssl <command>', similar to `cvs <command>'.
677      [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
678
679   *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
680      BIT STRING wrapper always have zero unused bits.
681      [Steve Henson]
682
683   *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
684      [Steve Henson]
685
686   *) Make the top-level INSTALL documentation easier to understand.
687      [Paul Sutton]
688
689   *) Makefiles updated to exit if an error occurs in a sub-directory
690      make (including if user presses ^C) [Paul Sutton]
691
692   *) Make Montgomery context stuff explicit in RSA data structure.
693      [Ben Laurie]
694
695   *) Fix build order of pem and err to allow for generated pem.h.
696      [Ben Laurie]
697
698   *) Fix renumbering bug in X509_NAME_delete_entry().
699      [Ben Laurie]
700
701   *) Enhanced the err-ins.pl script so it makes the error library number 
702      global and can add a library name. This is needed for external ASN1 and
703      other error libraries.
704      [Steve Henson]
705
706   *) Fixed sk_insert which never worked properly.
707      [Steve Henson]
708
709   *) Fix ASN1 macros so they can handle indefinite length construted 
710      EXPLICIT tags. Some non standard certificates use these: they can now
711      be read in.
712      [Steve Henson]
713
714   *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
715      into a single doc/ssleay.txt bundle. This way the information is still
716      preserved but no longer messes up this directory. Now it's new room for
717      the new set of documenation files.
718      [Ralf S. Engelschall]
719
720   *) SETs were incorrectly DER encoded. This was a major pain, because they
721      shared code with SEQUENCEs, which aren't coded the same. This means that
722      almost everything to do with SETs or SEQUENCEs has either changed name or
723      number of arguments.
724      [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
725
726   *) Fix test data to work with the above.
727      [Ben Laurie]
728
729   *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
730      was already fixed by Eric for 0.9.1 it seems.
731      [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
732
733   *) Autodetect FreeBSD3.
734      [Ben Laurie]
735
736   *) Fix various bugs in Configure. This affects the following platforms:
737      nextstep
738      ncr-scde
739      unixware-2.0
740      unixware-2.0-pentium
741      sco5-cc.
742      [Ben Laurie]
743
744   *) Eliminate generated files from CVS. Reorder tests to regenerate files
745      before they are needed.
746      [Ben Laurie]
747
748   *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
749      [Ben Laurie]
750
751  Changes between 0.9.1b and 0.9.1c
752
753   *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and 
754      changed SSLeay to OpenSSL in version strings.
755      [Ralf S. Engelschall]
756   
757   *) Some fixups to the top-level documents.
758      [Paul Sutton]
759
760   *) Fixed the nasty bug where rsaref.h was not found under compile-time
761      because the symlink to include/ was missing.
762      [Ralf S. Engelschall]
763
764   *) Incorporated the popular no-RSA/DSA-only patches 
765      which allow to compile a RSA-free SSLeay.
766      [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
767
768   *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
769      when "ssleay" is still not found.
770      [Ralf S. Engelschall]
771
772   *) Added more platforms to Configure: Cray T3E, HPUX 11, 
773      [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
774
775   *) Updated the README file.
776      [Ralf S. Engelschall]
777
778   *) Added various .cvsignore files in the CVS repository subdirs
779      to make a "cvs update" really silent.
780      [Ralf S. Engelschall]
781
782   *) Recompiled the error-definition header files and added
783      missing symbols to the Win32 linker tables.
784      [Ralf S. Engelschall]
785
786   *) Cleaned up the top-level documents;
787      o new files: CHANGES and LICENSE
788      o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay 
789      o merged COPYRIGHT into LICENSE
790      o removed obsolete TODO file
791      o renamed MICROSOFT to INSTALL.W32
792      [Ralf S. Engelschall]
793
794   *) Removed dummy files from the 0.9.1b source tree: 
795      crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
796      crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
797      crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
798      crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
799      util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
800      [Ralf S. Engelschall]
801
802   *) Added various platform portability fixes.
803      [Mark J. Cox]
804
805   *) The Genesis of the OpenSSL rpject:
806      We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
807      Young and Tim J. Hudson created while they were working for C2Net until
808      summer 1998.
809      [The OpenSSL Project]
810  
811  Changes between 0.9.0b and 0.9.1b
812
813   *) Updated a few CA certificates under certs/
814      [Eric A. Young]
815
816   *) Changed some BIGNUM api stuff.
817      [Eric A. Young]
818
819   *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD, 
820      DGUX x86, Linux Alpha, etc.
821      [Eric A. Young]
822
823   *) New COMP library [crypto/comp/] for SSL Record Layer Compression: 
824      RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
825      available).
826      [Eric A. Young]
827
828   *) Add -strparse option to asn1pars program which parses nested 
829      binary structures 
830      [Dr Stephen Henson <shenson@bigfoot.com>]
831
832   *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
833      [Eric A. Young]
834
835   *) DSA fix for "ca" program.
836      [Eric A. Young]
837
838   *) Added "-genkey" option to "dsaparam" program.
839      [Eric A. Young]
840
841   *) Added RIPE MD160 (rmd160) message digest.
842      [Eric A. Young]
843
844   *) Added -a (all) option to "ssleay version" command.
845      [Eric A. Young]
846
847   *) Added PLATFORM define which is the id given to Configure.
848      [Eric A. Young]
849
850   *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
851      [Eric A. Young]
852
853   *) Extended the ASN.1 parser routines.
854      [Eric A. Young]
855
856   *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
857      [Eric A. Young]
858
859   *) Added a BN_CTX to the BN library.
860      [Eric A. Young]
861
862   *) Fixed the weak key values in DES library
863      [Eric A. Young]
864
865   *) Changed API in EVP library for cipher aliases.
866      [Eric A. Young]
867
868   *) Added support for RC2/64bit cipher.
869      [Eric A. Young]
870
871   *) Converted the lhash library to the crypto/mem.c functions.
872      [Eric A. Young]
873
874   *) Added more recognized ASN.1 object ids.
875      [Eric A. Young]
876
877   *) Added more RSA padding checks for SSL/TLS.
878      [Eric A. Young]
879
880   *) Added BIO proxy/filter functionality.
881      [Eric A. Young]
882
883   *) Added extra_certs to SSL_CTX which can be used
884      send extra CA certificates to the client in the CA cert chain sending
885      process. It can be configured with SSL_CTX_add_extra_chain_cert().
886      [Eric A. Young]
887
888   *) Now Fortezza is denied in the authentication phase because
889      this is key exchange mechanism is not supported by SSLeay at all.
890      [Eric A. Young]
891
892   *) Additional PKCS1 checks.
893      [Eric A. Young]
894
895   *) Support the string "TLSv1" for all TLS v1 ciphers.
896      [Eric A. Young]
897
898   *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
899      ex_data index of the SSL context in the X509_STORE_CTX ex_data.
900      [Eric A. Young]
901
902   *) Fixed a few memory leaks.
903      [Eric A. Young]
904
905   *) Fixed various code and comment typos.
906      [Eric A. Young]
907
908   *) A minor bug in ssl/s3_clnt.c where there would always be 4 0 
909      bytes sent in the client random.
910      [Edward Bishop <ebishop@spyglass.com>]
911