f0e812cae7f5133e687b461403d7e08abacf8acc
[openssl.git] / CHANGES
1
2  OpenSSL CHANGES
3  _______________
4
5  Changes between 0.9.4 and 0.9.5  [xx XXX 1999]
6
7   *) Fix for pkcs12 program. It was hashing an invalid certificate pointer
8      when producing the local key id.
9      [Richard Levitte <levitte@stacken.kth.se>]
10
11   *) New option -dhparam in s_server. This allows a DH parameter file to be
12      stated explicitly. If it is not stated then it tries the first server
13      certificate file. The previous behaviour hard coded the filename
14      "server.pem".
15      [Steve Henson]
16
17   *) Add -pubin and -pubout options to the rsa and dsa commands. These allow
18      a public key to be input or output. For example:
19      openssl rsa -in key.pem -pubout -out pubkey.pem
20      Also added necessary DSA public key functions to handle this.
21      [Steve Henson]
22
23   *) Fix so PKCS7_dataVerify() doesn't crash if no certificates are contained
24      in the message. This was handled by allowing
25      X509_find_by_issuer_and_serial() to tolerate a NULL passed to it.
26      [Steve Henson, reported by Sampo Kellomaki <sampo@mail.neuronio.pt>]
27
28   *) Fix for bug in d2i_ASN1_bytes(): other ASN1 functions add an extra null
29      to the end of the strings whereas this didn't. This would cause problems
30      if strings read with d2i_ASN1_bytes() were later modified.
31      [Steve Henson, reported by Arne Ansper <arne@ats.cyber.ee>]
32
33   *) Fix for base64 decode bug. When a base64 bio reads only one line of
34      data and it contains EOF it will end up returning an error. This is
35      caused by input 46 bytes long. The cause is due to the way base64
36      BIOs find the start of base64 encoded data. They do this by trying a
37      trial decode on each line until they find one that works. When they
38      do a flag is set and it starts again knowing it can pass all the
39      data directly through the decoder. Unfortunately it doesn't reset
40      the context it uses. This means that if EOF is reached an attempt
41      is made to pass two EOFs through the context and this causes the
42      resulting error. This can also cause other problems as well. As is
43      usual with these problems it takes *ages* to find and the fix is
44      trivial: move one line.
45      [Steve Henson, reported by ian@uns.ns.ac.yu (Ivan Nejgebauer) ]
46
47   *) Ugly workaround to get s_client and s_server working under Windows. The
48      old code wouldn't work because it needed to select() on sockets and the
49      tty (for keypresses and to see if data could be written). Win32 only
50      supports select() on sockets so we select() with a 1s timeout on the
51      sockets and then see if any characters are waiting to be read, if none
52      are present then we retry, we also assume we can always write data to
53      the tty. This isn't nice because the code then blocks until we've
54      received a complete line of data and it is effectively polling the
55      keyboard at 1s intervals: however it's quite a bit better than not
56      working at all :-) A dedicated Windows application might handle this
57      with an event loop for example.
58      [Steve Henson]
59
60   *) Enhance RSA_METHOD structure. Now there are two extra methods, rsa_sign
61      and rsa_verify. When the RSA_FLAGS_SIGN_VER option is set these functions
62      will be called when RSA_sign() and RSA_verify() are used. This is useful
63      if rsa_pub_dec() and rsa_priv_enc() equivalents are not available.
64      For this to work properly RSA_public_decrypt() and RSA_private_encrypt()
65      should *not* be used: RSA_sign() and RSA_verify() must be used instead.
66      This necessitated the support of an extra signature type NID_md5_sha1
67      for SSL signatures and modifications to the SSL library to use it instead
68      of calling RSA_public_decrypt() and RSA_private_encrypt().
69      [Steve Henson]
70
71   *) Add new -verify -CAfile and -CApath options to the crl program, these
72      will lookup a CRL issuers certificate and verify the signature in a
73      similar way to the verify program. Tidy up the crl program so it
74      no longer acesses structures directly. Make the ASN1 CRL parsing a bit
75      less strict. It will now permit CRL extensions even if it is not
76      a V2 CRL: this will allow it to tolerate some broken CRLs.
77      [Steve Henson]
78
79   *) Initialize all non-automatic variables each time one of the openssl
80      sub-programs is started (this is necessary as they may be started
81      multiple times from the "OpenSSL>" prompt).
82      [Lennart Bang, Bodo Moeller]
83
84   *) Preliminary compilation option RSA_NULL which disables RSA crypto without
85      removing all other RSA functionality (this is what NO_RSA does). This
86      is so (for example) those in the US can disable those operations covered
87      by the RSA patent while allowing storage and parsing of RSA keys and RSA
88      key generation.
89      [Steve Henson]
90
91   *) Non-copying interface to BIO pairs.
92      (still largely untested)
93      [Bodo Moeller]
94
95   *) New function ANS1_tag2str() to convert an ASN1 tag to a descriptive
96      ASCII string. This was handled independently in various places before.
97      [Steve Henson]
98
99   *) New functions UTF8_getc() and UTF8_putc() that parse and generate
100      UTF8 strings a character at a time.
101      [Steve Henson]
102
103   *) Use client_version from client hello to select the protocol
104      (s23_srvr.c) and for RSA client key exchange verification
105      (s3_srvr.c), as required by the SSL 3.0/TLS 1.0 specifications.
106      [Bodo Moeller]
107
108   *) Add various utility functions to handle SPKACs, these were previously
109      handled by poking round in the structure internals. Added new function
110      NETSCAPE_SPKI_print() to print out SPKAC and a new utility 'spkac' to
111      print, verify and generate SPKACs. Based on an original idea from
112      Massimiliano Pala <madwolf@comune.modena.it> but extensively modified.
113      [Steve Henson]
114
115   *) RIPEMD160 is operational on all platforms and is back in 'make test'.
116      [Andy Polyakov]
117
118   *) Allow the config file extension section to be overwritten on the
119      command line. Based on an original idea from Massimiliano Pala
120      <madwolf@comune.modena.it>. The new option is called -extensions
121      and can be applied to ca, req and x509. Also -reqexts to override
122      the request extensions in req and -crlexts to override the crl extensions
123      in ca.
124      [Steve Henson]
125
126   *) Add new feature to the SPKAC handling in ca.  Now you can include
127      the same field multiple times by preceding it by "XXXX." for example:
128      1.OU="Unit name 1"
129      2.OU="Unit name 2"
130      this is the same syntax as used in the req config file.
131      [Steve Henson]
132
133   *) Allow certificate extensions to be added to certificate requests. These
134      are specified in a 'req_extensions' option of the req section of the
135      config file. They can be printed out with the -text option to req but
136      are otherwise ignored at present.
137      [Steve Henson]
138
139   *) Fix a horrible bug in enc_read() in crypto/evp/bio_enc.c: if the first
140      data read consists of only the final block it would not decrypted because
141      EVP_CipherUpdate() would correctly report zero bytes had been decrypted.
142      A misplaced 'break' also meant the decrypted final block might not be
143      copied until the next read.
144      [Steve Henson]
145
146   *) Initial support for DH_METHOD. Again based on RSA_METHOD. Also added
147      a few extra parameters to the DH structure: these will be useful if
148      for example we want the value of 'q' or implement X9.42 DH.
149      [Steve Henson]
150
151   *) Initial support for DSA_METHOD. This is based on the RSA_METHOD and
152      provides hooks that allow the default DSA functions or functions on a
153      "per key" basis to be replaced. This allows hardware acceleration and
154      hardware key storage to be handled without major modification to the
155      library. Also added low level modexp hooks and CRYPTO_EX structure and 
156      associated functions.
157      [Steve Henson]
158
159   *) Add a new flag to memory BIOs, BIO_FLAG_MEM_RDONLY. This marks the BIO
160      as "read only": it can't be written to and the buffer it points to will
161      not be freed. Reading from a read only BIO is much more efficient than
162      a normal memory BIO. This was added because there are several times when
163      an area of memory needs to be read from a BIO. The previous method was
164      to create a memory BIO and write the data to it, this results in two
165      copies of the data and an O(n^2) reading algorithm. There is a new
166      function BIO_new_mem_buf() which creates a read only memory BIO from
167      an area of memory. Also modified the PKCS#7 routines to use read only
168      memory BIOSs.
169      [Steve Henson]
170
171   *) Bugfix: ssl23_get_client_hello did not work properly when called in
172      state SSL23_ST_SR_CLNT_HELLO_B, i.e. when the first 7 bytes of
173      a SSLv2-compatible client hello for SSLv3 or TLSv1 could be read,
174      but a retry condition occured while trying to read the rest.
175      [Bodo Moeller]
176
177   *) The PKCS7_ENC_CONTENT_new() function was setting the content type as
178      NID_pkcs7_encrypted by default: this was wrong since this should almost
179      always be NID_pkcs7_data. Also modified the PKCS7_set_type() to handle
180      the encrypted data type: this is a more sensible place to put it and it
181      allows the PKCS#12 code to be tidied up that duplicated this
182      functionality.
183      [Steve Henson]
184
185   *) Changed obj_dat.pl script so it takes its input and output files on
186      the command line. This should avoid shell escape redirection problems
187      under Win32.
188      [Steve Henson]
189
190   *) Initial support for certificate extension requests, these are included
191      in things like Xenroll certificate requests. Included functions to allow
192      extensions to be obtained and added.
193      [Steve Henson]
194
195   *) -crlf option to s_client and s_server for sending newlines as
196      CRLF (as required by many protocols).
197      [Bodo Moeller]
198
199  Changes between 0.9.3a and 0.9.4  [09 Aug 1999]
200   
201   *) Install libRSAglue.a when OpenSSL is built with RSAref.
202      [Ralf S. Engelschall]
203
204   *) A few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.
205      [Andrija Antonijevic <TheAntony2@bigfoot.com>]
206
207   *) Fix -startdate and -enddate (which was missing) arguments to 'ca'
208      program.
209      [Steve Henson]
210
211   *) New function DSA_dup_DH, which duplicates DSA parameters/keys as
212      DH parameters/keys (q is lost during that conversion, but the resulting
213      DH parameters contain its length).
214
215      For 1024-bit p, DSA_generate_parameters followed by DSA_dup_DH is
216      much faster than DH_generate_parameters (which creates parameters
217      where p = 2*q + 1), and also the smaller q makes DH computations
218      much more efficient (160-bit exponentiation instead of 1024-bit
219      exponentiation); so this provides a convenient way to support DHE
220      ciphersuites in SSL/TLS servers (see ssl/ssltest.c).  It is of
221      utter importance to use
222          SSL_CTX_set_options(s_ctx, SSL_OP_SINGLE_DH_USE);
223      or
224          SSL_set_options(s_ctx, SSL_OP_SINGLE_DH_USE);
225      when such DH parameters are used, because otherwise small subgroup
226      attacks may become possible!
227      [Bodo Moeller]
228
229   *) Avoid memory leak in i2d_DHparams.
230      [Bodo Moeller]
231
232   *) Allow the -k option to be used more than once in the enc program:
233      this allows the same encrypted message to be read by multiple recipients.
234      [Steve Henson]
235
236   *) New function OBJ_obj2txt(buf, buf_len, a, no_name), this converts
237      an ASN1_OBJECT to a text string. If the "no_name" parameter is set then
238      it will always use the numerical form of the OID, even if it has a short
239      or long name.
240      [Steve Henson]
241
242   *) Added an extra RSA flag: RSA_FLAG_EXT_PKEY. Previously the rsa_mod_exp
243      method only got called if p,q,dmp1,dmq1,iqmp components were present,
244      otherwise bn_mod_exp was called. In the case of hardware keys for example
245      no private key components need be present and it might store extra data
246      in the RSA structure, which cannot be accessed from bn_mod_exp.
247      By setting RSA_FLAG_EXT_PKEY rsa_mod_exp will always be called for
248      private key operations.
249      [Steve Henson]
250
251   *) Added support for SPARC Linux.
252      [Andy Polyakov]
253
254   *) pem_password_cb function type incompatibly changed from
255           typedef int pem_password_cb(char *buf, int size, int rwflag);
256      to
257           ....(char *buf, int size, int rwflag, void *userdata);
258      so that applications can pass data to their callbacks:
259      The PEM[_ASN1]_{read,write}... functions and macros now take an
260      additional void * argument, which is just handed through whenever
261      the password callback is called.
262      [Damien Miller <dmiller@ilogic.com.au>; tiny changes by Bodo Moeller]
263
264      New function SSL_CTX_set_default_passwd_cb_userdata.
265
266      Compatibility note: As many C implementations push function arguments
267      onto the stack in reverse order, the new library version is likely to
268      interoperate with programs that have been compiled with the old
269      pem_password_cb definition (PEM_whatever takes some data that
270      happens to be on the stack as its last argument, and the callback
271      just ignores this garbage); but there is no guarantee whatsoever that
272      this will work.
273
274   *) The -DPLATFORM="\"$(PLATFORM)\"" definition and the similar -DCFLAGS=...
275      (both in crypto/Makefile.ssl for use by crypto/cversion.c) caused
276      problems not only on Windows, but also on some Unix platforms.
277      To avoid problematic command lines, these definitions are now in an
278      auto-generated file crypto/buildinf.h (created by crypto/Makefile.ssl
279      for standard "make" builds, by util/mk1mf.pl for "mk1mf" builds).
280      [Bodo Moeller]
281
282   *) MIPS III/IV assembler module is reimplemented.
283      [Andy Polyakov]
284
285   *) More DES library cleanups: remove references to srand/rand and
286      delete an unused file.
287      [Ulf Möller]
288
289   *) Add support for the the free Netwide assembler (NASM) under Win32,
290      since not many people have MASM (ml) and it can be hard to obtain.
291      This is currently experimental but it seems to work OK and pass all
292      the tests. Check out INSTALL.W32 for info.
293      [Steve Henson]
294
295   *) Fix memory leaks in s3_clnt.c: All non-anonymous SSL3/TLS1 connections
296      without temporary keys kept an extra copy of the server key,
297      and connections with temporary keys did not free everything in case
298      of an error.
299      [Bodo Moeller]
300
301   *) New function RSA_check_key and new openssl rsa option -check
302      for verifying the consistency of RSA keys.
303      [Ulf Moeller, Bodo Moeller]
304
305   *) Various changes to make Win32 compile work: 
306      1. Casts to avoid "loss of data" warnings in p5_crpt2.c
307      2. Change unsigned int to int in b_dump.c to avoid "signed/unsigned
308         comparison" warnings.
309      3. Add sk_<TYPE>_sort to DEF file generator and do make update.
310      [Steve Henson]
311
312   *) Add a debugging option to PKCS#5 v2 key generation function: when
313      you #define DEBUG_PKCS5V2 passwords, salts, iteration counts and
314      derived keys are printed to stderr.
315      [Steve Henson]
316
317   *) Copy the flags in ASN1_STRING_dup().
318      [Roman E. Pavlov <pre@mo.msk.ru>]
319
320   *) The x509 application mishandled signing requests containing DSA
321      keys when the signing key was also DSA and the parameters didn't match.
322
323      It was supposed to omit the parameters when they matched the signing key:
324      the verifying software was then supposed to automatically use the CA's
325      parameters if they were absent from the end user certificate.
326
327      Omitting parameters is no longer recommended. The test was also
328      the wrong way round! This was probably due to unusual behaviour in
329      EVP_cmp_parameters() which returns 1 if the parameters match. 
330      This meant that parameters were omitted when they *didn't* match and
331      the certificate was useless. Certificates signed with 'ca' didn't have
332      this bug.
333      [Steve Henson, reported by Doug Erickson <Doug.Erickson@Part.NET>]
334
335   *) Memory leak checking (-DCRYPTO_MDEBUG) had some problems.
336      The interface is as follows:
337      Applications can use
338          CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON) aka MemCheck_start(),
339          CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_OFF) aka MemCheck_stop();
340      "off" is now the default.
341      The library internally uses
342          CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_DISABLE) aka MemCheck_off(),
343          CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE) aka MemCheck_on()
344      to disable memory-checking temporarily.
345
346      Some inconsistent states that previously were possible (and were
347      even the default) are now avoided.
348
349      -DCRYPTO_MDEBUG_TIME is new and additionally stores the current time
350      with each memory chunk allocated; this is occasionally more helpful
351      than just having a counter.
352
353      -DCRYPTO_MDEBUG_THREAD is also new and adds the thread ID.
354
355      -DCRYPTO_MDEBUG_ALL enables all of the above, plus any future
356      extensions.
357      [Bodo Moeller]
358
359   *) Introduce "mode" for SSL structures (with defaults in SSL_CTX),
360      which largely parallels "options", but is for changing API behaviour,
361      whereas "options" are about protocol behaviour.
362      Initial "mode" flags are:
363
364      SSL_MODE_ENABLE_PARTIAL_WRITE   Allow SSL_write to report success when
365                                      a single record has been written.
366      SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER  Don't insist that SSL_write
367                                      retries use the same buffer location.
368                                      (But all of the contents must be
369                                      copied!)
370      [Bodo Moeller]
371
372   *) Bugfix: SSL_set_mode ignored its parameter, only SSL_CTX_set_mode
373      worked.
374
375   *) Fix problems with no-hmac etc.
376      [Ulf Möller, pointed out by Brian Wellington <bwelling@tislabs.com>]
377
378   *) New functions RSA_get_default_method(), RSA_set_method() and
379      RSA_get_method(). These allows replacement of RSA_METHODs without having
380      to mess around with the internals of an RSA structure.
381      [Steve Henson]
382
383   *) Fix memory leaks in DSA_do_sign and DSA_is_prime.
384      Also really enable memory leak checks in openssl.c and in some
385      test programs.
386      [Chad C. Mulligan, Bodo Moeller]
387
388   *) Fix a bug in d2i_ASN1_INTEGER() and i2d_ASN1_INTEGER() which can mess
389      up the length of negative integers. This has now been simplified to just
390      store the length when it is first determined and use it later, rather
391      than trying to keep track of where data is copied and updating it to
392      point to the end.
393      [Steve Henson, reported by Brien Wheeler
394       <bwheeler@authentica-security.com>]
395
396   *) Add a new function PKCS7_signatureVerify. This allows the verification
397      of a PKCS#7 signature but with the signing certificate passed to the
398      function itself. This contrasts with PKCS7_dataVerify which assumes the
399      certificate is present in the PKCS#7 structure. This isn't always the
400      case: certificates can be omitted from a PKCS#7 structure and be
401      distributed by "out of band" means (such as a certificate database).
402      [Steve Henson]
403
404   *) Complete the PEM_* macros with DECLARE_PEM versions to replace the
405      function prototypes in pem.h, also change util/mkdef.pl to add the
406      necessary function names. 
407      [Steve Henson]
408
409   *) mk1mf.pl (used by Windows builds) did not properly read the
410      options set by Configure in the top level Makefile, and Configure
411      was not even able to write more than one option correctly.
412      Fixed, now "no-idea no-rc5 -DCRYPTO_MDEBUG" etc. works as intended.
413      [Bodo Moeller]
414
415   *) New functions CONF_load_bio() and CONF_load_fp() to allow a config
416      file to be loaded from a BIO or FILE pointer. The BIO version will
417      for example allow memory BIOs to contain config info.
418      [Steve Henson]
419
420   *) New function "CRYPTO_num_locks" that returns CRYPTO_NUM_LOCKS.
421      Whoever hopes to achieve shared-library compatibility across versions
422      must use this, not the compile-time macro.
423      (Exercise 0.9.4: Which is the minimum library version required by
424      such programs?)
425      Note: All this applies only to multi-threaded programs, others don't
426      need locks.
427      [Bodo Moeller]
428
429   *) Add missing case to s3_clnt.c state machine -- one of the new SSL tests
430      through a BIO pair triggered the default case, i.e.
431      SSLerr(...,SSL_R_UNKNOWN_STATE).
432      [Bodo Moeller]
433
434   *) New "BIO pair" concept (crypto/bio/bss_bio.c) so that applications
435      can use the SSL library even if none of the specific BIOs is
436      appropriate.
437      [Bodo Moeller]
438
439   *) Fix a bug in i2d_DSAPublicKey() which meant it returned the wrong value
440      for the encoded length.
441      [Jeon KyoungHo <khjeon@sds.samsung.co.kr>]
442
443   *) Add initial documentation of the X509V3 functions.
444      [Steve Henson]
445
446   *) Add a new pair of functions PEM_write_PKCS8PrivateKey() and 
447      PEM_write_bio_PKCS8PrivateKey() that are equivalent to
448      PEM_write_PrivateKey() and PEM_write_bio_PrivateKey() but use the more
449      secure PKCS#8 private key format with a high iteration count.
450      [Steve Henson]
451
452   *) Fix determination of Perl interpreter: A perl or perl5
453      _directory_ in $PATH was also accepted as the interpreter.
454      [Ralf S. Engelschall]
455
456   *) Fix demos/sign/sign.c: well there wasn't anything strictly speaking
457      wrong with it but it was very old and did things like calling
458      PEM_ASN1_read() directly and used MD5 for the hash not to mention some
459      unusual formatting.
460      [Steve Henson]
461
462   *) Fix demos/selfsign.c: it used obsolete and deleted functions, changed
463      to use the new extension code.
464      [Steve Henson]
465
466   *) Implement the PEM_read/PEM_write functions in crypto/pem/pem_all.c
467      with macros. This should make it easier to change their form, add extra
468      arguments etc. Fix a few PEM prototypes which didn't have cipher as a
469      constant.
470      [Steve Henson]
471
472   *) Add to configuration table a new entry that can specify an alternative
473      name for unistd.h (for pre-POSIX systems); we need this for NeXTstep,
474      according to Mark Crispin <MRC@Panda.COM>.
475      [Bodo Moeller]
476
477 #if 0
478   *) DES CBC did not update the IV. Weird.
479      [Ben Laurie]
480 #else
481      des_cbc_encrypt does not update the IV, but des_ncbc_encrypt does.
482      Changing the behaviour of the former might break existing programs --
483      where IV updating is needed, des_ncbc_encrypt can be used.
484 #endif
485
486   *) When bntest is run from "make test" it drives bc to check its
487      calculations, as well as internally checking them. If an internal check
488      fails, it needs to cause bc to give a non-zero result or make test carries
489      on without noticing the failure. Fixed.
490      [Ben Laurie]
491
492   *) DES library cleanups.
493      [Ulf Möller]
494
495   *) Add support for PKCS#5 v2.0 PBE algorithms. This will permit PKCS#8 to be
496      used with any cipher unlike PKCS#5 v1.5 which can at most handle 64 bit
497      ciphers. NOTE: although the key derivation function has been verified
498      against some published test vectors it has not been extensively tested
499      yet. Added a -v2 "cipher" option to pkcs8 application to allow the use
500      of v2.0.
501      [Steve Henson]
502
503   *) Instead of "mkdir -p", which is not fully portable, use new
504      Perl script "util/mkdir-p.pl".
505      [Bodo Moeller]
506
507   *) Rewrite the way password based encryption (PBE) is handled. It used to
508      assume that the ASN1 AlgorithmIdentifier parameter was a PBEParameter
509      structure. This was true for the PKCS#5 v1.5 and PKCS#12 PBE algorithms
510      but doesn't apply to PKCS#5 v2.0 where it can be something else. Now
511      the 'parameter' field of the AlgorithmIdentifier is passed to the
512      underlying key generation function so it must do its own ASN1 parsing.
513      This has also changed the EVP_PBE_CipherInit() function which now has a
514      'parameter' argument instead of literal salt and iteration count values
515      and the function EVP_PBE_ALGOR_CipherInit() has been deleted.
516      [Steve Henson]
517
518   *) Support for PKCS#5 v1.5 compatible password based encryption algorithms
519      and PKCS#8 functionality. New 'pkcs8' application linked to openssl.
520      Needed to change the PEM_STRING_EVP_PKEY value which was just "PRIVATE
521      KEY" because this clashed with PKCS#8 unencrypted string. Since this
522      value was just used as a "magic string" and not used directly its
523      value doesn't matter.
524      [Steve Henson]
525
526   *) Introduce some semblance of const correctness to BN. Shame C doesn't
527      support mutable.
528      [Ben Laurie]
529
530   *) "linux-sparc64" configuration (ultrapenguin).
531      [Ray Miller <ray.miller@oucs.ox.ac.uk>]
532      "linux-sparc" configuration.
533      [Christian Forster <fo@hawo.stw.uni-erlangen.de>]
534
535   *) config now generates no-xxx options for missing ciphers.
536      [Ulf Möller]
537
538   *) Support the EBCDIC character set (work in progress).
539      File ebcdic.c not yet included because it has a different license.
540      [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>]
541
542   *) Support BS2000/OSD-POSIX.
543      [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>]
544
545   *) Make callbacks for key generation use void * instead of char *.
546      [Ben Laurie]
547
548   *) Make S/MIME samples compile (not yet tested).
549      [Ben Laurie]
550
551   *) Additional typesafe stacks.
552      [Ben Laurie]
553
554   *) New configuration variants "bsdi-elf-gcc" (BSD/OS 4.x).
555      [Bodo Moeller]
556
557
558  Changes between 0.9.3 and 0.9.3a  [29 May 1999]
559
560   *) New configuration variant "sco5-gcc".
561
562   *) Updated some demos.
563      [Sean O Riordain, Wade Scholine]
564
565   *) Add missing BIO_free at exit of pkcs12 application.
566      [Wu Zhigang]
567
568   *) Fix memory leak in conf.c.
569      [Steve Henson]
570
571   *) Updates for Win32 to assembler version of MD5.
572      [Steve Henson]
573
574   *) Set #! path to perl in apps/der_chop to where we found it
575      instead of using a fixed path.
576      [Bodo Moeller]
577
578   *) SHA library changes for irix64-mips4-cc.
579      [Andy Polyakov]
580
581   *) Improvements for VMS support.
582      [Richard Levitte]
583
584
585  Changes between 0.9.2b and 0.9.3  [24 May 1999]
586
587   *) Bignum library bug fix. IRIX 6 passes "make test" now!
588      This also avoids the problems with SC4.2 and unpatched SC5.  
589      [Andy Polyakov <appro@fy.chalmers.se>]
590
591   *) New functions sk_num, sk_value and sk_set to replace the previous macros.
592      These are required because of the typesafe stack would otherwise break 
593      existing code. If old code used a structure member which used to be STACK
594      and is now STACK_OF (for example cert in a PKCS7_SIGNED structure) with
595      sk_num or sk_value it would produce an error because the num, data members
596      are not present in STACK_OF. Now it just produces a warning. sk_set
597      replaces the old method of assigning a value to sk_value
598      (e.g. sk_value(x, i) = y) which the library used in a few cases. Any code
599      that does this will no longer work (and should use sk_set instead) but
600      this could be regarded as a "questionable" behaviour anyway.
601      [Steve Henson]
602
603   *) Fix most of the other PKCS#7 bugs. The "experimental" code can now
604      correctly handle encrypted S/MIME data.
605      [Steve Henson]
606
607   *) Change type of various DES function arguments from des_cblock
608      (which means, in function argument declarations, pointer to char)
609      to des_cblock * (meaning pointer to array with 8 char elements),
610      which allows the compiler to do more typechecking; it was like
611      that back in SSLeay, but with lots of ugly casts.
612
613      Introduce new type const_des_cblock.
614      [Bodo Moeller]
615
616   *) Reorganise the PKCS#7 library and get rid of some of the more obvious
617      problems: find RecipientInfo structure that matches recipient certificate
618      and initialise the ASN1 structures properly based on passed cipher.
619      [Steve Henson]
620
621   *) Belatedly make the BN tests actually check the results.
622      [Ben Laurie]
623
624   *) Fix the encoding and decoding of negative ASN1 INTEGERS and conversion
625      to and from BNs: it was completely broken. New compilation option
626      NEG_PUBKEY_BUG to allow for some broken certificates that encode public
627      key elements as negative integers.
628      [Steve Henson]
629
630   *) Reorganize and speed up MD5.
631      [Andy Polyakov <appro@fy.chalmers.se>]
632
633   *) VMS support.
634      [Richard Levitte <richard@levitte.org>]
635
636   *) New option -out to asn1parse to allow the parsed structure to be
637      output to a file. This is most useful when combined with the -strparse
638      option to examine the output of things like OCTET STRINGS.
639      [Steve Henson]
640
641   *) Make SSL library a little more fool-proof by not requiring any longer
642      that SSL_set_{accept,connect}_state be called before
643      SSL_{accept,connect} may be used (SSL_set_..._state is omitted
644      in many applications because usually everything *appeared* to work as
645      intended anyway -- now it really works as intended).
646      [Bodo Moeller]
647
648   *) Move openssl.cnf out of lib/.
649      [Ulf Möller]
650
651   *) Fix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall
652      -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes
653      -Wmissing-declarations -Wnested-externs -Winline'' with EGCS 1.1.2+ 
654      [Ralf S. Engelschall]
655
656   *) Various fixes to the EVP and PKCS#7 code. It may now be able to
657      handle PKCS#7 enveloped data properly.
658      [Sebastian Akerman <sak@parallelconsulting.com>, modified by Steve]
659
660   *) Create a duplicate of the SSL_CTX's CERT in SSL_new instead of
661      copying pointers.  The cert_st handling is changed by this in
662      various ways (and thus what used to be known as ctx->default_cert
663      is now called ctx->cert, since we don't resort to s->ctx->[default_]cert
664      any longer when s->cert does not give us what we need).
665      ssl_cert_instantiate becomes obsolete by this change.
666      As soon as we've got the new code right (possibly it already is?),
667      we have solved a couple of bugs of the earlier code where s->cert
668      was used as if it could not have been shared with other SSL structures.
669
670      Note that using the SSL API in certain dirty ways now will result
671      in different behaviour than observed with earlier library versions:
672      Changing settings for an SSL_CTX *ctx after having done s = SSL_new(ctx)
673      does not influence s as it used to.
674      
675      In order to clean up things more thoroughly, inside SSL_SESSION
676      we don't use CERT any longer, but a new structure SESS_CERT
677      that holds per-session data (if available); currently, this is
678      the peer's certificate chain and, for clients, the server's certificate
679      and temporary key.  CERT holds only those values that can have
680      meaningful defaults in an SSL_CTX.
681      [Bodo Moeller]
682
683   *) New function X509V3_EXT_i2d() to create an X509_EXTENSION structure
684      from the internal representation. Various PKCS#7 fixes: remove some
685      evil casts and set the enc_dig_alg field properly based on the signing
686      key type.
687      [Steve Henson]
688
689   *) Allow PKCS#12 password to be set from the command line or the
690      environment. Let 'ca' get its config file name from the environment
691      variables "OPENSSL_CONF" or "SSLEAY_CONF" (for consistency with 'req'
692      and 'x509').
693      [Steve Henson]
694
695   *) Allow certificate policies extension to use an IA5STRING for the
696      organization field. This is contrary to the PKIX definition but
697      VeriSign uses it and IE5 only recognises this form. Document 'x509'
698      extension option.
699      [Steve Henson]
700
701   *) Add PEDANTIC compiler flag to allow compilation with gcc -pedantic,
702      without disallowing inline assembler and the like for non-pedantic builds.
703      [Ben Laurie]
704
705   *) Support Borland C++ builder.
706      [Janez Jere <jj@void.si>, modified by Ulf Möller]
707
708   *) Support Mingw32.
709      [Ulf Möller]
710
711   *) SHA-1 cleanups and performance enhancements.
712      [Andy Polyakov <appro@fy.chalmers.se>]
713
714   *) Sparc v8plus assembler for the bignum library.
715      [Andy Polyakov <appro@fy.chalmers.se>]
716
717   *) Accept any -xxx and +xxx compiler options in Configure.
718      [Ulf Möller]
719
720   *) Update HPUX configuration.
721      [Anonymous]
722   
723   *) Add missing sk_<type>_unshift() function to safestack.h
724      [Ralf S. Engelschall]
725
726   *) New function SSL_CTX_use_certificate_chain_file that sets the
727      "extra_cert"s in addition to the certificate.  (This makes sense
728      only for "PEM" format files, as chains as a whole are not
729      DER-encoded.)
730      [Bodo Moeller]
731
732   *) Support verify_depth from the SSL API.
733      x509_vfy.c had what can be considered an off-by-one-error:
734      Its depth (which was not part of the external interface)
735      was actually counting the number of certificates in a chain;
736      now it really counts the depth.
737      [Bodo Moeller]
738
739   *) Bugfix in crypto/x509/x509_cmp.c: The SSLerr macro was used
740      instead of X509err, which often resulted in confusing error
741      messages since the error codes are not globally unique
742      (e.g. an alleged error in ssl3_accept when a certificate
743      didn't match the private key).
744
745   *) New function SSL_CTX_set_session_id_context that allows to set a default
746      value (so that you don't need SSL_set_session_id_context for each
747      connection using the SSL_CTX).
748      [Bodo Moeller]
749
750   *) OAEP decoding bug fix.
751      [Ulf Möller]
752
753   *) Support INSTALL_PREFIX for package builders, as proposed by
754      David Harris.
755      [Bodo Moeller]
756
757   *) New Configure options "threads" and "no-threads".  For systems
758      where the proper compiler options are known (currently Solaris
759      and Linux), "threads" is the default.
760      [Bodo Moeller]
761
762   *) New script util/mklink.pl as a faster substitute for util/mklink.sh.
763      [Bodo Moeller]
764
765   *) Install various scripts to $(OPENSSLDIR)/misc, not to
766      $(INSTALLTOP)/bin -- they shouldn't clutter directories
767      such as /usr/local/bin.
768      [Bodo Moeller]
769
770   *) "make linux-shared" to build shared libraries.
771      [Niels Poppe <niels@netbox.org>]
772
773   *) New Configure option no-<cipher> (rsa, idea, rc5, ...).
774      [Ulf Möller]
775
776   *) Add the PKCS#12 API documentation to openssl.txt. Preliminary support for
777      extension adding in x509 utility.
778      [Steve Henson]
779
780   *) Remove NOPROTO sections and error code comments.
781      [Ulf Möller]
782
783   *) Partial rewrite of the DEF file generator to now parse the ANSI
784      prototypes.
785      [Steve Henson]
786
787   *) New Configure options --prefix=DIR and --openssldir=DIR.
788      [Ulf Möller]
789
790   *) Complete rewrite of the error code script(s). It is all now handled
791      by one script at the top level which handles error code gathering,
792      header rewriting and C source file generation. It should be much better
793      than the old method: it now uses a modified version of Ulf's parser to
794      read the ANSI prototypes in all header files (thus the old K&R definitions
795      aren't needed for error creation any more) and do a better job of
796      translating function codes into names. The old 'ASN1 error code imbedded
797      in a comment' is no longer necessary and it doesn't use .err files which
798      have now been deleted. Also the error code call doesn't have to appear all
799      on one line (which resulted in some large lines...).
800      [Steve Henson]
801
802   *) Change #include filenames from <foo.h> to <openssl/foo.h>.
803      [Bodo Moeller]
804
805   *) Change behaviour of ssl2_read when facing length-0 packets: Don't return
806      0 (which usually indicates a closed connection), but continue reading.
807      [Bodo Moeller]
808
809   *) Fix some race conditions.
810      [Bodo Moeller]
811
812   *) Add support for CRL distribution points extension. Add Certificate
813      Policies and CRL distribution points documentation.
814      [Steve Henson]
815
816   *) Move the autogenerated header file parts to crypto/opensslconf.h.
817      [Ulf Möller]
818
819   *) Fix new 56-bit DES export ciphersuites: they were using 7 bytes instead of
820      8 of keying material. Merlin has also confirmed interop with this fix
821      between OpenSSL and Baltimore C/SSL 2.0 and J/SSL 2.0.
822      [Merlin Hughes <merlin@baltimore.ie>]
823
824   *) Fix lots of warnings.
825      [Richard Levitte <levitte@stacken.kth.se>]
826  
827   *) In add_cert_dir() in crypto/x509/by_dir.c, break out of the loop if
828      the directory spec didn't end with a LIST_SEPARATOR_CHAR.
829      [Richard Levitte <levitte@stacken.kth.se>]
830  
831   *) Fix problems with sizeof(long) == 8.
832      [Andy Polyakov <appro@fy.chalmers.se>]
833
834   *) Change functions to ANSI C.
835      [Ulf Möller]
836
837   *) Fix typos in error codes.
838      [Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>, Ulf Möller]
839
840   *) Remove defunct assembler files from Configure.
841      [Ulf Möller]
842
843   *) SPARC v8 assembler BIGNUM implementation.
844      [Andy Polyakov <appro@fy.chalmers.se>]
845
846   *) Support for Certificate Policies extension: both print and set.
847      Various additions to support the r2i method this uses.
848      [Steve Henson]
849
850   *) A lot of constification, and fix a bug in X509_NAME_oneline() that could
851      return a const string when you are expecting an allocated buffer.
852      [Ben Laurie]
853
854   *) Add support for ASN1 types UTF8String and VISIBLESTRING, also the CHOICE
855      types DirectoryString and DisplayText.
856      [Steve Henson]
857
858   *) Add code to allow r2i extensions to access the configuration database,
859      add an LHASH database driver and add several ctx helper functions.
860      [Steve Henson]
861
862   *) Fix an evil bug in bn_expand2() which caused various BN functions to
863      fail when they extended the size of a BIGNUM.
864      [Steve Henson]
865
866   *) Various utility functions to handle SXNet extension. Modify mkdef.pl to
867      support typesafe stack.
868      [Steve Henson]
869
870   *) Fix typo in SSL_[gs]et_options().
871      [Nils Frostberg <nils@medcom.se>]
872
873   *) Delete various functions and files that belonged to the (now obsolete)
874      old X509V3 handling code.
875      [Steve Henson]
876
877   *) New Configure option "rsaref".
878      [Ulf Möller]
879
880   *) Don't auto-generate pem.h.
881      [Bodo Moeller]
882
883   *) Introduce type-safe ASN.1 SETs.
884      [Ben Laurie]
885
886   *) Convert various additional casted stacks to type-safe STACK_OF() variants.
887      [Ben Laurie, Ralf S. Engelschall, Steve Henson]
888
889   *) Introduce type-safe STACKs. This will almost certainly break lots of code
890      that links with OpenSSL (well at least cause lots of warnings), but fear
891      not: the conversion is trivial, and it eliminates loads of evil casts. A
892      few STACKed things have been converted already. Feel free to convert more.
893      In the fullness of time, I'll do away with the STACK type altogether.
894      [Ben Laurie]
895
896   *) Add `openssl ca -revoke <certfile>' facility which revokes a certificate
897      specified in <certfile> by updating the entry in the index.txt file.
898      This way one no longer has to edit the index.txt file manually for
899      revoking a certificate. The -revoke option does the gory details now.
900      [Massimiliano Pala <madwolf@openca.org>, Ralf S. Engelschall]
901
902   *) Fix `openssl crl -noout -text' combination where `-noout' killed the
903      `-text' option at all and this way the `-noout -text' combination was
904      inconsistent in `openssl crl' with the friends in `openssl x509|rsa|dsa'.
905      [Ralf S. Engelschall]
906
907   *) Make sure a corresponding plain text error message exists for the
908      X509_V_ERR_CERT_REVOKED/23 error number which can occur when a
909      verify callback function determined that a certificate was revoked.
910      [Ralf S. Engelschall]
911
912   *) Bugfix: In test/testenc, don't test "openssl <cipher>" for
913      ciphers that were excluded, e.g. by -DNO_IDEA.  Also, test
914      all available cipers including rc5, which was forgotten until now.
915      In order to let the testing shell script know which algorithms
916      are available, a new (up to now undocumented) command
917      "openssl list-cipher-commands" is used.
918      [Bodo Moeller]
919
920   *) Bugfix: s_client occasionally would sleep in select() when
921      it should have checked SSL_pending() first.
922      [Bodo Moeller]
923
924   *) New functions DSA_do_sign and DSA_do_verify to provide access to
925      the raw DSA values prior to ASN.1 encoding.
926      [Ulf Möller]
927
928   *) Tweaks to Configure
929      [Niels Poppe <niels@netbox.org>]
930
931   *) Add support for PKCS#5 v2.0 ASN1 PBES2 structures. No other support,
932      yet...
933      [Steve Henson]
934
935   *) New variables $(RANLIB) and $(PERL) in the Makefiles.
936      [Ulf Möller]
937
938   *) New config option to avoid instructions that are illegal on the 80386.
939      The default code is faster, but requires at least a 486.
940      [Ulf Möller]
941   
942   *) Got rid of old SSL2_CLIENT_VERSION (inconsistently used) and
943      SSL2_SERVER_VERSION (not used at all) macros, which are now the
944      same as SSL2_VERSION anyway.
945      [Bodo Moeller]
946
947   *) New "-showcerts" option for s_client.
948      [Bodo Moeller]
949
950   *) Still more PKCS#12 integration. Add pkcs12 application to openssl
951      application. Various cleanups and fixes.
952      [Steve Henson]
953
954   *) More PKCS#12 integration. Add new pkcs12 directory with Makefile.ssl and
955      modify error routines to work internally. Add error codes and PBE init
956      to library startup routines.
957      [Steve Henson]
958
959   *) Further PKCS#12 integration. Added password based encryption, PKCS#8 and
960      packing functions to asn1 and evp. Changed function names and error
961      codes along the way.
962      [Steve Henson]
963
964   *) PKCS12 integration: and so it begins... First of several patches to
965      slowly integrate PKCS#12 functionality into OpenSSL. Add PKCS#12
966      objects to objects.h
967      [Steve Henson]
968
969   *) Add a new 'indent' option to some X509V3 extension code. Initial ASN1
970      and display support for Thawte strong extranet extension.
971      [Steve Henson]
972
973   *) Add LinuxPPC support.
974      [Jeff Dubrule <igor@pobox.org>]
975
976   *) Get rid of redundant BN file bn_mulw.c, and rename bn_div64 to
977      bn_div_words in alpha.s.
978      [Hannes Reinecke <H.Reinecke@hw.ac.uk> and Ben Laurie]
979
980   *) Make sure the RSA OAEP test is skipped under -DRSAref because
981      OAEP isn't supported when OpenSSL is built with RSAref.
982      [Ulf Moeller <ulf@fitug.de>]
983
984   *) Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h 
985      so they no longer are missing under -DNOPROTO. 
986      [Soren S. Jorvang <soren@t.dk>]
987
988
989  Changes between 0.9.1c and 0.9.2b  [22 Mar 1999]
990
991   *) Make SSL_get_peer_cert_chain() work in servers. Unfortunately, it still
992      doesn't work when the session is reused. Coming soon!
993      [Ben Laurie]
994
995   *) Fix a security hole, that allows sessions to be reused in the wrong
996      context thus bypassing client cert protection! All software that uses
997      client certs and session caches in multiple contexts NEEDS PATCHING to
998      allow session reuse! A fuller solution is in the works.
999      [Ben Laurie, problem pointed out by Holger Reif, Bodo Moeller (and ???)]
1000
1001   *) Some more source tree cleanups (removed obsolete files
1002      crypto/bf/asm/bf586.pl, test/test.txt and crypto/sha/asm/f.s; changed
1003      permission on "config" script to be executable) and a fix for the INSTALL
1004      document.
1005      [Ulf Moeller <ulf@fitug.de>]
1006
1007   *) Remove some legacy and erroneous uses of malloc, free instead of
1008      Malloc, Free.
1009      [Lennart Bang <lob@netstream.se>, with minor changes by Steve]
1010
1011   *) Make rsa_oaep_test return non-zero on error.
1012      [Ulf Moeller <ulf@fitug.de>]
1013
1014   *) Add support for native Solaris shared libraries. Configure
1015      solaris-sparc-sc4-pic, make, then run shlib/solaris-sc4.sh. It'd be nice
1016      if someone would make that last step automatic.
1017      [Matthias Loepfe <Matthias.Loepfe@AdNovum.CH>]
1018
1019   *) ctx_size was not built with the right compiler during "make links". Fixed.
1020      [Ben Laurie]
1021
1022   *) Change the meaning of 'ALL' in the cipher list. It now means "everything
1023      except NULL ciphers". This means the default cipher list will no longer
1024      enable NULL ciphers. They need to be specifically enabled e.g. with
1025      the string "DEFAULT:eNULL".
1026      [Steve Henson]
1027
1028   *) Fix to RSA private encryption routines: if p < q then it would
1029      occasionally produce an invalid result. This will only happen with
1030      externally generated keys because OpenSSL (and SSLeay) ensure p > q.
1031      [Steve Henson]
1032
1033   *) Be less restrictive and allow also `perl util/perlpath.pl
1034      /path/to/bin/perl' in addition to `perl util/perlpath.pl /path/to/bin',
1035      because this way one can also use an interpreter named `perl5' (which is
1036      usually the name of Perl 5.xxx on platforms where an Perl 4.x is still
1037      installed as `perl').
1038      [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
1039
1040   *) Let util/clean-depend.pl work also with older Perl 5.00x versions.
1041      [Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
1042
1043   *) Fix Makefile.org so CC,CFLAG etc are passed to 'make links' add
1044      advapi32.lib to Win32 build and change the pem test comparision
1045      to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the
1046      suggestion). Fix misplaced ASNI prototypes and declarations in evp.h
1047      and crypto/des/ede_cbcm_enc.c.
1048      [Steve Henson]
1049
1050   *) DES quad checksum was broken on big-endian architectures. Fixed.
1051      [Ben Laurie]
1052
1053   *) Comment out two functions in bio.h that aren't implemented. Fix up the
1054      Win32 test batch file so it (might) work again. The Win32 test batch file
1055      is horrible: I feel ill....
1056      [Steve Henson]
1057
1058   *) Move various #ifdefs around so NO_SYSLOG, NO_DIRENT etc are now selected
1059      in e_os.h. Audit of header files to check ANSI and non ANSI
1060      sections: 10 functions were absent from non ANSI section and not exported
1061      from Windows DLLs. Fixed up libeay.num for new functions.
1062      [Steve Henson]
1063
1064   *) Make `openssl version' output lines consistent.
1065      [Ralf S. Engelschall]
1066
1067   *) Fix Win32 symbol export lists for BIO functions: Added
1068      BIO_get_ex_new_index, BIO_get_ex_num, BIO_get_ex_data and BIO_set_ex_data
1069      to ms/libeay{16,32}.def.
1070      [Ralf S. Engelschall]
1071
1072   *) Second round of fixing the OpenSSL perl/ stuff. It now at least compiled
1073      fine under Unix and passes some trivial tests I've now added. But the
1074      whole stuff is horribly incomplete, so a README.1ST with a disclaimer was
1075      added to make sure no one expects that this stuff really works in the
1076      OpenSSL 0.9.2 release.  Additionally I've started to clean the XS sources
1077      up and fixed a few little bugs and inconsistencies in OpenSSL.{pm,xs} and
1078      openssl_bio.xs.
1079      [Ralf S. Engelschall]
1080
1081   *) Fix the generation of two part addresses in perl.
1082      [Kenji Miyake <kenji@miyake.org>, integrated by Ben Laurie]
1083
1084   *) Add config entry for Linux on MIPS.
1085      [John Tobey <jtobey@channel1.com>]
1086
1087   *) Make links whenever Configure is run, unless we are on Windoze.
1088      [Ben Laurie]
1089
1090   *) Permit extensions to be added to CRLs using crl_section in openssl.cnf.
1091      Currently only issuerAltName and AuthorityKeyIdentifier make any sense
1092      in CRLs.
1093      [Steve Henson]
1094
1095   *) Add a useful kludge to allow package maintainers to specify compiler and
1096      other platforms details on the command line without having to patch the
1097      Configure script everytime: One now can use ``perl Configure
1098      <id>:<details>'', i.e. platform ids are allowed to have details appended
1099      to them (seperated by colons). This is treated as there would be a static
1100      pre-configured entry in Configure's %table under key <id> with value
1101      <details> and ``perl Configure <id>'' is called.  So, when you want to
1102      perform a quick test-compile under FreeBSD 3.1 with pgcc and without
1103      assembler stuff you can use ``perl Configure "FreeBSD-elf:pgcc:-O6:::"''
1104      now, which overrides the FreeBSD-elf entry on-the-fly.
1105      [Ralf S. Engelschall]
1106
1107   *) Disable new TLS1 ciphersuites by default: they aren't official yet.
1108      [Ben Laurie]
1109
1110   *) Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified
1111      on the `perl Configure ...' command line. This way one can compile
1112      OpenSSL libraries with Position Independent Code (PIC) which is needed
1113      for linking it into DSOs.
1114      [Ralf S. Engelschall]
1115
1116   *) Remarkably, export ciphers were totally broken and no-one had noticed!
1117      Fixed.
1118      [Ben Laurie]
1119
1120   *) Cleaned up the LICENSE document: The official contact for any license
1121      questions now is the OpenSSL core team under openssl-core@openssl.org.
1122      And add a paragraph about the dual-license situation to make sure people
1123      recognize that _BOTH_ the OpenSSL license _AND_ the SSLeay license apply
1124      to the OpenSSL toolkit.
1125      [Ralf S. Engelschall]
1126
1127   *) General source tree makefile cleanups: Made `making xxx in yyy...'
1128      display consistent in the source tree and replaced `/bin/rm' by `rm'.
1129      Additonally cleaned up the `make links' target: Remove unnecessary
1130      semicolons, subsequent redundant removes, inline point.sh into mklink.sh
1131      to speed processing and no longer clutter the display with confusing
1132      stuff. Instead only the actually done links are displayed.
1133      [Ralf S. Engelschall]
1134
1135   *) Permit null encryption ciphersuites, used for authentication only. It used
1136      to be necessary to set the preprocessor define SSL_ALLOW_ENULL to do this.
1137      It is now necessary to set SSL_FORBID_ENULL to prevent the use of null
1138      encryption.
1139      [Ben Laurie]
1140
1141   *) Add a bunch of fixes to the PKCS#7 stuff. It used to sometimes reorder
1142      signed attributes when verifying signatures (this would break them), 
1143      the detached data encoding was wrong and public keys obtained using
1144      X509_get_pubkey() weren't freed.
1145      [Steve Henson]
1146
1147   *) Add text documentation for the BUFFER functions. Also added a work around
1148      to a Win95 console bug. This was triggered by the password read stuff: the
1149      last character typed gets carried over to the next fread(). If you were 
1150      generating a new cert request using 'req' for example then the last
1151      character of the passphrase would be CR which would then enter the first
1152      field as blank.
1153      [Steve Henson]
1154
1155   *) Added the new `Includes OpenSSL Cryptography Software' button as
1156      doc/openssl_button.{gif,html} which is similar in style to the old SSLeay
1157      button and can be used by applications based on OpenSSL to show the
1158      relationship to the OpenSSL project.  
1159      [Ralf S. Engelschall]
1160
1161   *) Remove confusing variables in function signatures in files
1162      ssl/ssl_lib.c and ssl/ssl.h.
1163      [Lennart Bong <lob@kulthea.stacken.kth.se>]
1164
1165   *) Don't install bss_file.c under PREFIX/include/
1166      [Lennart Bong <lob@kulthea.stacken.kth.se>]
1167
1168   *) Get the Win32 compile working again. Modify mkdef.pl so it can handle
1169      functions that return function pointers and has support for NT specific
1170      stuff. Fix mk1mf.pl and VC-32.pl to support NT differences also. Various
1171      #ifdef WIN32 and WINNTs sprinkled about the place and some changes from
1172      unsigned to signed types: this was killing the Win32 compile.
1173      [Steve Henson]
1174
1175   *) Add new certificate file to stack functions,
1176      SSL_add_dir_cert_subjects_to_stack() and
1177      SSL_add_file_cert_subjects_to_stack().  These largely supplant
1178      SSL_load_client_CA_file(), and can be used to add multiple certs easily
1179      to a stack (usually this is then handed to SSL_CTX_set_client_CA_list()).
1180      This means that Apache-SSL and similar packages don't have to mess around
1181      to add as many CAs as they want to the preferred list.
1182      [Ben Laurie]
1183
1184   *) Experiment with doxygen documentation. Currently only partially applied to
1185      ssl/ssl_lib.c.
1186      See http://www.stack.nl/~dimitri/doxygen/index.html, and run doxygen with
1187      openssl.doxy as the configuration file.
1188      [Ben Laurie]
1189   
1190   *) Get rid of remaining C++-style comments which strict C compilers hate.
1191      [Ralf S. Engelschall, pointed out by Carlos Amengual]
1192
1193   *) Changed BN_RECURSION in bn_mont.c to BN_RECURSION_MONT so it is not
1194      compiled in by default: it has problems with large keys.
1195      [Steve Henson]
1196
1197   *) Add a bunch of SSL_xxx() functions for configuring the temporary RSA and
1198      DH private keys and/or callback functions which directly correspond to
1199      their SSL_CTX_xxx() counterparts but work on a per-connection basis. This
1200      is needed for applications which have to configure certificates on a
1201      per-connection basis (e.g. Apache+mod_ssl) instead of a per-context basis
1202      (e.g. s_server). 
1203         For the RSA certificate situation is makes no difference, but
1204      for the DSA certificate situation this fixes the "no shared cipher"
1205      problem where the OpenSSL cipher selection procedure failed because the
1206      temporary keys were not overtaken from the context and the API provided
1207      no way to reconfigure them. 
1208         The new functions now let applications reconfigure the stuff and they
1209      are in detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
1210      SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback.  Additionally a new
1211      non-public-API function ssl_cert_instantiate() is used as a helper
1212      function and also to reduce code redundancy inside ssl_rsa.c.
1213      [Ralf S. Engelschall]
1214
1215   *) Move s_server -dcert and -dkey options out of the undocumented feature
1216      area because they are useful for the DSA situation and should be
1217      recognized by the users.
1218      [Ralf S. Engelschall]
1219
1220   *) Fix the cipher decision scheme for export ciphers: the export bits are
1221      *not* within SSL_MKEY_MASK or SSL_AUTH_MASK, they are within
1222      SSL_EXP_MASK.  So, the original variable has to be used instead of the
1223      already masked variable.
1224      [Richard Levitte <levitte@stacken.kth.se>]
1225
1226   *) Fix 'port' variable from `int' to `unsigned int' in crypto/bio/b_sock.c
1227      [Richard Levitte <levitte@stacken.kth.se>]
1228
1229   *) Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
1230      from `int' to `unsigned int' because it's a length and initialized by
1231      EVP_DigestFinal() which expects an `unsigned int *'.
1232      [Richard Levitte <levitte@stacken.kth.se>]
1233
1234   *) Don't hard-code path to Perl interpreter on shebang line of Configure
1235      script. Instead use the usual Shell->Perl transition trick.
1236      [Ralf S. Engelschall]
1237
1238   *) Make `openssl x509 -noout -modulus' functional also for DSA certificates
1239      (in addition to RSA certificates) to match the behaviour of `openssl dsa
1240      -noout -modulus' as it's already the case for `openssl rsa -noout
1241      -modulus'.  For RSA the -modulus is the real "modulus" while for DSA
1242      currently the public key is printed (a decision which was already done by
1243      `openssl dsa -modulus' in the past) which serves a similar purpose.
1244      Additionally the NO_RSA no longer completely removes the whole -modulus
1245      option; it now only avoids using the RSA stuff. Same applies to NO_DSA
1246      now, too.
1247      [Ralf S.  Engelschall]
1248
1249   *) Add Arne Ansper's reliable BIO - this is an encrypted, block-digested
1250      BIO. See the source (crypto/evp/bio_ok.c) for more info.
1251      [Arne Ansper <arne@ats.cyber.ee>]
1252
1253   *) Dump the old yucky req code that tried (and failed) to allow raw OIDs
1254      to be added. Now both 'req' and 'ca' can use new objects defined in the
1255      config file.
1256      [Steve Henson]
1257
1258   *) Add cool BIO that does syslog (or event log on NT).
1259      [Arne Ansper <arne@ats.cyber.ee>, integrated by Ben Laurie]
1260
1261   *) Add support for new TLS ciphersuites, TLS_RSA_EXPORT56_WITH_RC4_56_MD5,
1262      TLS_RSA_EXPORT56_WITH_RC2_CBC_56_MD5 and
1263      TLS_RSA_EXPORT56_WITH_DES_CBC_SHA, as specified in "56-bit Export Cipher
1264      Suites For TLS", draft-ietf-tls-56-bit-ciphersuites-00.txt.
1265      [Ben Laurie]
1266
1267   *) Add preliminary config info for new extension code.
1268      [Steve Henson]
1269
1270   *) Make RSA_NO_PADDING really use no padding.
1271      [Ulf Moeller <ulf@fitug.de>]
1272
1273   *) Generate errors when private/public key check is done.
1274      [Ben Laurie]
1275
1276   *) Overhaul for 'crl' utility. New function X509_CRL_print. Partial support
1277      for some CRL extensions and new objects added.
1278      [Steve Henson]
1279
1280   *) Really fix the ASN1 IMPLICIT bug this time... Partial support for private
1281      key usage extension and fuller support for authority key id.
1282      [Steve Henson]
1283
1284   *) Add OAEP encryption for the OpenSSL crypto library. OAEP is the improved
1285      padding method for RSA, which is recommended for new applications in PKCS
1286      #1 v2.0 (RFC 2437, October 1998).
1287      OAEP (Optimal Asymmetric Encryption Padding) has better theoretical
1288      foundations than the ad-hoc padding used in PKCS #1 v1.5. It is secure
1289      against Bleichbacher's attack on RSA.
1290      [Ulf Moeller <ulf@fitug.de>, reformatted, corrected and integrated by
1291       Ben Laurie]
1292
1293   *) Updates to the new SSL compression code
1294      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
1295
1296   *) Fix so that the version number in the master secret, when passed
1297      via RSA, checks that if TLS was proposed, but we roll back to SSLv3
1298      (because the server will not accept higher), that the version number
1299      is 0x03,0x01, not 0x03,0x00
1300      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
1301
1302   *) Run extensive memory leak checks on SSL apps. Fixed *lots* of memory
1303      leaks in ssl/ relating to new X509_get_pubkey() behaviour. Also fixes
1304      in apps/ and an unrelated leak in crypto/dsa/dsa_vrf.c
1305      [Steve Henson]
1306
1307   *) Support for RAW extensions where an arbitrary extension can be
1308      created by including its DER encoding. See apps/openssl.cnf for
1309      an example.
1310      [Steve Henson]
1311
1312   *) Make sure latest Perl versions don't interpret some generated C array
1313      code as Perl array code in the crypto/err/err_genc.pl script.
1314      [Lars Weber <3weber@informatik.uni-hamburg.de>]
1315
1316   *) Modify ms/do_ms.bat to not generate assembly language makefiles since
1317      not many people have the assembler. Various Win32 compilation fixes and
1318      update to the INSTALL.W32 file with (hopefully) more accurate Win32
1319      build instructions.
1320      [Steve Henson]
1321
1322   *) Modify configure script 'Configure' to automatically create crypto/date.h
1323      file under Win32 and also build pem.h from pem.org. New script
1324      util/mkfiles.pl to create the MINFO file on environments that can't do a
1325      'make files': perl util/mkfiles.pl >MINFO should work.
1326      [Steve Henson]
1327
1328   *) Major rework of DES function declarations, in the pursuit of correctness
1329      and purity. As a result, many evil casts evaporated, and some weirdness,
1330      too. You may find this causes warnings in your code. Zapping your evil
1331      casts will probably fix them. Mostly.
1332      [Ben Laurie]
1333
1334   *) Fix for a typo in asn1.h. Bug fix to object creation script
1335      obj_dat.pl. It considered a zero in an object definition to mean
1336      "end of object": none of the objects in objects.h have any zeros
1337      so it wasn't spotted.
1338      [Steve Henson, reported by Erwann ABALEA <eabalea@certplus.com>]
1339
1340   *) Add support for Triple DES Cipher Block Chaining with Output Feedback
1341      Masking (CBCM). In the absence of test vectors, the best I have been able
1342      to do is check that the decrypt undoes the encrypt, so far. Send me test
1343      vectors if you have them.
1344      [Ben Laurie]
1345
1346   *) Correct calculation of key length for export ciphers (too much space was
1347      allocated for null ciphers). This has not been tested!
1348      [Ben Laurie]
1349
1350   *) Modifications to the mkdef.pl for Win32 DEF file creation. The usage
1351      message is now correct (it understands "crypto" and "ssl" on its
1352      command line). There is also now an "update" option. This will update
1353      the util/ssleay.num and util/libeay.num files with any new functions.
1354      If you do a: 
1355      perl util/mkdef.pl crypto ssl update
1356      it will update them.
1357      [Steve Henson]
1358
1359   *) Overhauled the Perl interface (perl/*):
1360      - ported BN stuff to OpenSSL's different BN library
1361      - made the perl/ source tree CVS-aware
1362      - renamed the package from SSLeay to OpenSSL (the files still contain
1363        their history because I've copied them in the repository)
1364      - removed obsolete files (the test scripts will be replaced
1365        by better Test::Harness variants in the future)
1366      [Ralf S. Engelschall]
1367
1368   *) First cut for a very conservative source tree cleanup:
1369      1. merge various obsolete readme texts into doc/ssleay.txt
1370      where we collect the old documents and readme texts.
1371      2. remove the first part of files where I'm already sure that we no
1372      longer need them because of three reasons: either they are just temporary
1373      files which were left by Eric or they are preserved original files where
1374      I've verified that the diff is also available in the CVS via "cvs diff
1375      -rSSLeay_0_8_1b" or they were renamed (as it was definitely the case for
1376      the crypto/md/ stuff).
1377      [Ralf S. Engelschall]
1378
1379   *) More extension code. Incomplete support for subject and issuer alt
1380      name, issuer and authority key id. Change the i2v function parameters
1381      and add an extra 'crl' parameter in the X509V3_CTX structure: guess
1382      what that's for :-) Fix to ASN1 macro which messed up
1383      IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
1384      [Steve Henson]
1385
1386   *) Preliminary support for ENUMERATED type. This is largely copied from the
1387      INTEGER code.
1388      [Steve Henson]
1389
1390   *) Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
1391      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
1392
1393   *) Make sure `make rehash' target really finds the `openssl' program.
1394      [Ralf S. Engelschall, Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
1395
1396   *) Squeeze another 7% of speed out of MD5 assembler, at least on a P2. I'd
1397      like to hear about it if this slows down other processors.
1398      [Ben Laurie]
1399
1400   *) Add CygWin32 platform information to Configure script.
1401      [Alan Batie <batie@aahz.jf.intel.com>]
1402
1403   *) Fixed ms/32all.bat script: `no_asm' -> `no-asm'
1404      [Rainer W. Gerling <gerling@mpg-gv.mpg.de>]
1405   
1406   *) New program nseq to manipulate netscape certificate sequences
1407      [Steve Henson]
1408
1409   *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a
1410      few typos.
1411      [Steve Henson]
1412
1413   *) Fixes to BN code.  Previously the default was to define BN_RECURSION
1414      but the BN code had some problems that would cause failures when
1415      doing certificate verification and some other functions.
1416      [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
1417
1418   *) Add ASN1 and PEM code to support netscape certificate sequences.
1419      [Steve Henson]
1420
1421   *) Add ASN1 and PEM code to support netscape certificate sequences.
1422      [Steve Henson]
1423
1424   *) Add several PKIX and private extended key usage OIDs.
1425      [Steve Henson]
1426
1427   *) Modify the 'ca' program to handle the new extension code. Modify
1428      openssl.cnf for new extension format, add comments.
1429      [Steve Henson]
1430
1431   *) More X509 V3 changes. Fix typo in v3_bitstr.c. Add support to 'req'
1432      and add a sample to openssl.cnf so req -x509 now adds appropriate
1433      CA extensions.
1434      [Steve Henson]
1435
1436   *) Continued X509 V3 changes. Add to other makefiles, integrate with the
1437      error code, add initial support to X509_print() and x509 application.
1438      [Steve Henson]
1439
1440   *) Takes a deep breath and start addding X509 V3 extension support code. Add
1441      files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
1442      stuff is currently isolated and isn't even compiled yet.
1443      [Steve Henson]
1444
1445   *) Continuing patches for GeneralizedTime. Fix up certificate and CRL
1446      ASN1 to use ASN1_TIME and modify print routines to use ASN1_TIME_print.
1447      Removed the versions check from X509 routines when loading extensions:
1448      this allows certain broken certificates that don't set the version
1449      properly to be processed.
1450      [Steve Henson]
1451
1452   *) Deal with irritating shit to do with dependencies, in YAAHW (Yet Another
1453      Ad Hoc Way) - Makefile.ssls now all contain local dependencies, which
1454      can still be regenerated with "make depend".
1455      [Ben Laurie]
1456
1457   *) Spelling mistake in C version of CAST-128.
1458      [Ben Laurie, reported by Jeremy Hylton <jeremy@cnri.reston.va.us>]
1459
1460   *) Changes to the error generation code. The perl script err-code.pl 
1461      now reads in the old error codes and retains the old numbers, only
1462      adding new ones if necessary. It also only changes the .err files if new
1463      codes are added. The makefiles have been modified to only insert errors
1464      when needed (to avoid needlessly modifying header files). This is done
1465      by only inserting errors if the .err file is newer than the auto generated
1466      C file. To rebuild all the error codes from scratch (the old behaviour)
1467      either modify crypto/Makefile.ssl to pass the -regen flag to err_code.pl
1468      or delete all the .err files.
1469      [Steve Henson]
1470
1471   *) CAST-128 was incorrectly implemented for short keys. The C version has
1472      been fixed, but is untested. The assembler versions are also fixed, but
1473      new assembler HAS NOT BEEN GENERATED FOR WIN32 - the Makefile needs fixing
1474      to regenerate it if needed.
1475      [Ben Laurie, reported (with fix for C version) by Jun-ichiro itojun
1476       Hagino <itojun@kame.net>]
1477
1478   *) File was opened incorrectly in randfile.c.
1479      [Ulf Möller <ulf@fitug.de>]
1480
1481   *) Beginning of support for GeneralizedTime. d2i, i2d, check and print
1482      functions. Also ASN1_TIME suite which is a CHOICE of UTCTime or
1483      GeneralizedTime. ASN1_TIME is the proper type used in certificates et
1484      al: it's just almost always a UTCTime. Note this patch adds new error
1485      codes so do a "make errors" if there are problems.
1486      [Steve Henson]
1487
1488   *) Correct Linux 1 recognition in config.
1489      [Ulf Möller <ulf@fitug.de>]
1490
1491   *) Remove pointless MD5 hash when using DSA keys in ca.
1492      [Anonymous <nobody@replay.com>]
1493
1494   *) Generate an error if given an empty string as a cert directory. Also
1495      generate an error if handed NULL (previously returned 0 to indicate an
1496      error, but didn't set one).
1497      [Ben Laurie, reported by Anonymous <nobody@replay.com>]
1498
1499   *) Add prototypes to SSL methods. Make SSL_write's buffer const, at last.
1500      [Ben Laurie]
1501
1502   *) Fix the dummy function BN_ref_mod_exp() in rsaref.c to have the correct
1503      parameters. This was causing a warning which killed off the Win32 compile.
1504      [Steve Henson]
1505
1506   *) Remove C++ style comments from crypto/bn/bn_local.h.
1507      [Neil Costigan <neil.costigan@celocom.com>]
1508
1509   *) The function OBJ_txt2nid was broken. It was supposed to return a nid
1510      based on a text string, looking up short and long names and finally
1511      "dot" format. The "dot" format stuff didn't work. Added new function
1512      OBJ_txt2obj to do the same but return an ASN1_OBJECT and rewrote 
1513      OBJ_txt2nid to use it. OBJ_txt2obj can also return objects even if the
1514      OID is not part of the table.
1515      [Steve Henson]
1516
1517   *) Add prototypes to X509 lookup/verify methods, fixing a bug in
1518      X509_LOOKUP_by_alias().
1519      [Ben Laurie]
1520
1521   *) Sort openssl functions by name.
1522      [Ben Laurie]
1523
1524   *) Get the gendsa program working (hopefully) and add it to app list. Remove
1525      encryption from sample DSA keys (in case anyone is interested the password
1526      was "1234").
1527      [Steve Henson]
1528
1529   *) Make _all_ *_free functions accept a NULL pointer.
1530      [Frans Heymans <fheymans@isaserver.be>]
1531
1532   *) If a DH key is generated in s3_srvr.c, don't blow it by trying to use
1533      NULL pointers.
1534      [Anonymous <nobody@replay.com>]
1535
1536   *) s_server should send the CAfile as acceptable CAs, not its own cert.
1537      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
1538
1539   *) Don't blow it for numeric -newkey arguments to apps/req.
1540      [Bodo Moeller <3moeller@informatik.uni-hamburg.de>]
1541
1542   *) Temp key "for export" tests were wrong in s3_srvr.c.
1543      [Anonymous <nobody@replay.com>]
1544
1545   *) Add prototype for temp key callback functions
1546      SSL_CTX_set_tmp_{rsa,dh}_callback().
1547      [Ben Laurie]
1548
1549   *) Make DH_free() tolerate being passed a NULL pointer (like RSA_free() and
1550      DSA_free()). Make X509_PUBKEY_set() check for errors in d2i_PublicKey().
1551      [Steve Henson]
1552
1553   *) X509_name_add_entry() freed the wrong thing after an error.
1554      [Arne Ansper <arne@ats.cyber.ee>]
1555
1556   *) rsa_eay.c would attempt to free a NULL context.
1557      [Arne Ansper <arne@ats.cyber.ee>]
1558
1559   *) BIO_s_socket() had a broken should_retry() on Windoze.
1560      [Arne Ansper <arne@ats.cyber.ee>]
1561
1562   *) BIO_f_buffer() didn't pass on BIO_CTRL_FLUSH.
1563      [Arne Ansper <arne@ats.cyber.ee>]
1564
1565   *) Make sure the already existing X509_STORE->depth variable is initialized
1566      in X509_STORE_new(), but document the fact that this variable is still
1567      unused in the certificate verification process.
1568      [Ralf S. Engelschall]
1569
1570   *) Fix the various library and apps files to free up pkeys obtained from
1571      X509_PUBKEY_get() et al. Also allow x509.c to handle netscape extensions.
1572      [Steve Henson]
1573
1574   *) Fix reference counting in X509_PUBKEY_get(). This makes
1575      demos/maurice/example2.c work, amongst others, probably.
1576      [Steve Henson and Ben Laurie]
1577
1578   *) First cut of a cleanup for apps/. First the `ssleay' program is now named
1579      `openssl' and second, the shortcut symlinks for the `openssl <command>'
1580      are no longer created. This way we have a single and consistent command
1581      line interface `openssl <command>', similar to `cvs <command>'.
1582      [Ralf S. Engelschall, Paul Sutton and Ben Laurie]
1583
1584   *) ca.c: move test for DSA keys inside #ifndef NO_DSA. Make pubkey
1585      BIT STRING wrapper always have zero unused bits.
1586      [Steve Henson]
1587
1588   *) Add CA.pl, perl version of CA.sh, add extended key usage OID.
1589      [Steve Henson]
1590
1591   *) Make the top-level INSTALL documentation easier to understand.
1592      [Paul Sutton]
1593
1594   *) Makefiles updated to exit if an error occurs in a sub-directory
1595      make (including if user presses ^C) [Paul Sutton]
1596
1597   *) Make Montgomery context stuff explicit in RSA data structure.
1598      [Ben Laurie]
1599
1600   *) Fix build order of pem and err to allow for generated pem.h.
1601      [Ben Laurie]
1602
1603   *) Fix renumbering bug in X509_NAME_delete_entry().
1604      [Ben Laurie]
1605
1606   *) Enhanced the err-ins.pl script so it makes the error library number 
1607      global and can add a library name. This is needed for external ASN1 and
1608      other error libraries.
1609      [Steve Henson]
1610
1611   *) Fixed sk_insert which never worked properly.
1612      [Steve Henson]
1613
1614   *) Fix ASN1 macros so they can handle indefinite length construted 
1615      EXPLICIT tags. Some non standard certificates use these: they can now
1616      be read in.
1617      [Steve Henson]
1618
1619   *) Merged the various old/obsolete SSLeay documentation files (doc/xxx.doc)
1620      into a single doc/ssleay.txt bundle. This way the information is still
1621      preserved but no longer messes up this directory. Now it's new room for
1622      the new set of documenation files.
1623      [Ralf S. Engelschall]
1624
1625   *) SETs were incorrectly DER encoded. This was a major pain, because they
1626      shared code with SEQUENCEs, which aren't coded the same. This means that
1627      almost everything to do with SETs or SEQUENCEs has either changed name or
1628      number of arguments.
1629      [Ben Laurie, based on a partial fix by GP Jayan <gp@nsj.co.jp>]
1630
1631   *) Fix test data to work with the above.
1632      [Ben Laurie]
1633
1634   *) Fix the RSA header declarations that hid a bug I fixed in 0.9.0b but
1635      was already fixed by Eric for 0.9.1 it seems.
1636      [Ben Laurie - pointed out by Ulf Möller <ulf@fitug.de>]
1637
1638   *) Autodetect FreeBSD3.
1639      [Ben Laurie]
1640
1641   *) Fix various bugs in Configure. This affects the following platforms:
1642      nextstep
1643      ncr-scde
1644      unixware-2.0
1645      unixware-2.0-pentium
1646      sco5-cc.
1647      [Ben Laurie]
1648
1649   *) Eliminate generated files from CVS. Reorder tests to regenerate files
1650      before they are needed.
1651      [Ben Laurie]
1652
1653   *) Generate Makefile.ssl from Makefile.org (to keep CVS happy).
1654      [Ben Laurie]
1655
1656
1657  Changes between 0.9.1b and 0.9.1c  [23-Dec-1998]
1658
1659   *) Added OPENSSL_VERSION_NUMBER to crypto/crypto.h and 
1660      changed SSLeay to OpenSSL in version strings.
1661      [Ralf S. Engelschall]
1662   
1663   *) Some fixups to the top-level documents.
1664      [Paul Sutton]
1665
1666   *) Fixed the nasty bug where rsaref.h was not found under compile-time
1667      because the symlink to include/ was missing.
1668      [Ralf S. Engelschall]
1669
1670   *) Incorporated the popular no-RSA/DSA-only patches 
1671      which allow to compile a RSA-free SSLeay.
1672      [Andrew Cooke / Interrader Ldt., Ralf S. Engelschall]
1673
1674   *) Fixed nasty rehash problem under `make -f Makefile.ssl links'
1675      when "ssleay" is still not found.
1676      [Ralf S. Engelschall]
1677
1678   *) Added more platforms to Configure: Cray T3E, HPUX 11, 
1679      [Ralf S. Engelschall, Beckmann <beckman@acl.lanl.gov>]
1680
1681   *) Updated the README file.
1682      [Ralf S. Engelschall]
1683
1684   *) Added various .cvsignore files in the CVS repository subdirs
1685      to make a "cvs update" really silent.
1686      [Ralf S. Engelschall]
1687
1688   *) Recompiled the error-definition header files and added
1689      missing symbols to the Win32 linker tables.
1690      [Ralf S. Engelschall]
1691
1692   *) Cleaned up the top-level documents;
1693      o new files: CHANGES and LICENSE
1694      o merged VERSION, HISTORY* and README* files a CHANGES.SSLeay 
1695      o merged COPYRIGHT into LICENSE
1696      o removed obsolete TODO file
1697      o renamed MICROSOFT to INSTALL.W32
1698      [Ralf S. Engelschall]
1699
1700   *) Removed dummy files from the 0.9.1b source tree: 
1701      crypto/asn1/x crypto/bio/cd crypto/bio/fg crypto/bio/grep crypto/bio/vi
1702      crypto/bn/asm/......add.c crypto/bn/asm/a.out crypto/dsa/f crypto/md5/f
1703      crypto/pem/gmon.out crypto/perlasm/f crypto/pkcs7/build crypto/rsa/f
1704      crypto/sha/asm/f crypto/threads/f ms/zzz ssl/f ssl/f.mak test/f
1705      util/f.mak util/pl/f util/pl/f.mak crypto/bf/bf_locl.old apps/f
1706      [Ralf S. Engelschall]
1707
1708   *) Added various platform portability fixes.
1709      [Mark J. Cox]
1710
1711   *) The Genesis of the OpenSSL rpject:
1712      We start with the latest (unreleased) SSLeay version 0.9.1b which Eric A.
1713      Young and Tim J. Hudson created while they were working for C2Net until
1714      summer 1998.
1715      [The OpenSSL Project]
1716  
1717
1718  Changes between 0.9.0b and 0.9.1b  [not released]
1719
1720   *) Updated a few CA certificates under certs/
1721      [Eric A. Young]
1722
1723   *) Changed some BIGNUM api stuff.
1724      [Eric A. Young]
1725
1726   *) Various platform ports: OpenBSD, Ultrix, IRIX 64bit, NetBSD, 
1727      DGUX x86, Linux Alpha, etc.
1728      [Eric A. Young]
1729
1730   *) New COMP library [crypto/comp/] for SSL Record Layer Compression: 
1731      RLE (dummy implemented) and ZLIB (really implemented when ZLIB is
1732      available).
1733      [Eric A. Young]
1734
1735   *) Add -strparse option to asn1pars program which parses nested 
1736      binary structures 
1737      [Dr Stephen Henson <shenson@bigfoot.com>]
1738
1739   *) Added "oid_file" to ssleay.cnf for "ca" and "req" programs.
1740      [Eric A. Young]
1741
1742   *) DSA fix for "ca" program.
1743      [Eric A. Young]
1744
1745   *) Added "-genkey" option to "dsaparam" program.
1746      [Eric A. Young]
1747
1748   *) Added RIPE MD160 (rmd160) message digest.
1749      [Eric A. Young]
1750
1751   *) Added -a (all) option to "ssleay version" command.
1752      [Eric A. Young]
1753
1754   *) Added PLATFORM define which is the id given to Configure.
1755      [Eric A. Young]
1756
1757   *) Added MemCheck_XXXX functions to crypto/mem.c for memory checking.
1758      [Eric A. Young]
1759
1760   *) Extended the ASN.1 parser routines.
1761      [Eric A. Young]
1762
1763   *) Extended BIO routines to support REUSEADDR, seek, tell, etc.
1764      [Eric A. Young]
1765
1766   *) Added a BN_CTX to the BN library.
1767      [Eric A. Young]
1768
1769   *) Fixed the weak key values in DES library
1770      [Eric A. Young]
1771
1772   *) Changed API in EVP library for cipher aliases.
1773      [Eric A. Young]
1774
1775   *) Added support for RC2/64bit cipher.
1776      [Eric A. Young]
1777
1778   *) Converted the lhash library to the crypto/mem.c functions.
1779      [Eric A. Young]
1780
1781   *) Added more recognized ASN.1 object ids.
1782      [Eric A. Young]
1783
1784   *) Added more RSA padding checks for SSL/TLS.
1785      [Eric A. Young]
1786
1787   *) Added BIO proxy/filter functionality.
1788      [Eric A. Young]
1789
1790   *) Added extra_certs to SSL_CTX which can be used
1791      send extra CA certificates to the client in the CA cert chain sending
1792      process. It can be configured with SSL_CTX_add_extra_chain_cert().
1793      [Eric A. Young]
1794
1795   *) Now Fortezza is denied in the authentication phase because
1796      this is key exchange mechanism is not supported by SSLeay at all.
1797      [Eric A. Young]
1798
1799   *) Additional PKCS1 checks.
1800      [Eric A. Young]
1801
1802   *) Support the string "TLSv1" for all TLS v1 ciphers.
1803      [Eric A. Young]
1804
1805   *) Added function SSL_get_ex_data_X509_STORE_CTX_idx() which gives the
1806      ex_data index of the SSL context in the X509_STORE_CTX ex_data.
1807      [Eric A. Young]
1808
1809   *) Fixed a few memory leaks.
1810      [Eric A. Young]
1811
1812   *) Fixed various code and comment typos.
1813      [Eric A. Young]
1814
1815   *) A minor bug in ssl/s3_clnt.c where there would always be 4 0 
1816      bytes sent in the client random.
1817      [Edward Bishop <ebishop@spyglass.com>]
1818