Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > 675c8c8167236dfcf8d66da674f931e8 > files > 1365

erlang-doc-R15B-03.3.fc17.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css">
<title>Erlang -- SSL Release Notes</title>
</head>
<body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container">
<script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript">
            <!--
              function getWinHeight() {
                var myHeight = 0;
                if( typeof( window.innerHeight ) == 'number' ) {
                  //Non-IE
                  myHeight = window.innerHeight;
                } else if( document.documentElement && ( document.documentElement.clientWidth ||
                                                         document.documentElement.clientHeight ) ) {
                  //IE 6+ in 'standards compliant mode'
                  myHeight = document.documentElement.clientHeight;
                } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
                  //IE 4 compatible
                  myHeight = document.body.clientHeight;
                }
                return myHeight;
              }

              function setscrollpos() {
                var objf=document.getElementById('loadscrollpos');
                 document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2;
              }

              function addEvent(obj, evType, fn){
                if (obj.addEventListener){
                obj.addEventListener(evType, fn, true);
                return true;
              } else if (obj.attachEvent){
                var r = obj.attachEvent("on"+evType, fn);
                return r;
              } else {
                return false;
              }
             }

             addEvent(window, 'load', setscrollpos);

             //--></script><div id="leftnav"><div class="innertube">
<img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/ssl-5.1.2.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>Secure Socket Layer </strong><br><strong>Release Notes</strong><br><small>Version 5.1.2</small></p>
<br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p>
<ul class="flipMenu" imagepath="../../../../doc/js/flipmenu"><li id="loadscrollpos" title="SSL Release Notes" expanded="true">SSL Release Notes<ul>
<li><a href="notes.html">
              Top of chapter
            </a></li>
<li title="SSL 5.1.2"><a href="notes.html#id60087">SSL 5.1.2</a></li>
<li title="SSL 5.1.1"><a href="notes.html#id60115">SSL 5.1.1</a></li>
<li title="SSL 5.1"><a href="notes.html#id62259">SSL 5.1</a></li>
<li title="SSL 5.0.1"><a href="notes.html#id57104">SSL 5.0.1</a></li>
<li title="SSL 5.0"><a href="notes.html#id57178">SSL 5.0</a></li>
<li title="SSL 4.1.6"><a href="notes.html#id61601">SSL 4.1.6</a></li>
<li title="SSL 4.1.5"><a href="notes.html#id66293">SSL 4.1.5</a></li>
<li title="SSL 4.1.3"><a href="notes.html#id66326">SSL 4.1.3</a></li>
<li title="SSL 4.1.2"><a href="notes.html#id66369">SSL 4.1.2</a></li>
<li title="SSL 4.1.1"><a href="notes.html#id66412">SSL 4.1.1</a></li>
<li title="SSL 4.1"><a href="notes.html#id66481">SSL 4.1</a></li>
<li title="SSL 4.0.1"><a href="notes.html#id66543">SSL 4.0.1</a></li>
<li title="SSL 4.0"><a href="notes.html#id66722">SSL 4.0</a></li>
<li title="SSL 3.11.1"><a href="notes.html#id66765">SSL 3.11.1</a></li>
<li title="SSL 3.11"><a href="notes.html#id66864">SSL 3.11</a></li>
<li title="SSL 3.10.9"><a href="notes.html#id66971">SSL 3.10.9</a></li>
<li title="SSL 3.10.8"><a href="notes.html#id67001">SSL 3.10.8</a></li>
<li title="SSL 3.10.7"><a href="notes.html#id67097">SSL 3.10.7</a></li>
<li title="SSL 3.10.6"><a href="notes.html#id67169">SSL 3.10.6</a></li>
<li title="SSL 3.10.5"><a href="notes.html#id67200">SSL 3.10.5</a></li>
<li title="SSL 3.10.4"><a href="notes.html#id67255">SSL 3.10.4</a></li>
<li title="SSL 3.10.3"><a href="notes.html#id67285">SSL 3.10.3</a></li>
<li title="SSL 3.10.2"><a href="notes.html#id67329">SSL 3.10.2</a></li>
<li title="SSL 3.10.1"><a href="notes.html#id67360">SSL 3.10.1</a></li>
<li title="SSL 3.10"><a href="notes.html#id67442">SSL 3.10</a></li>
<li title="SSL 3.9"><a href="notes.html#id67558">SSL 3.9</a></li>
<li title="SSL 3.1.1.1"><a href="notes.html#id67733">SSL 3.1.1.1</a></li>
<li title="SSL 3.1.1"><a href="notes.html#id67769">SSL 3.1.1</a></li>
<li title="SSL 3.1"><a href="notes.html#id67806">SSL 3.1</a></li>
<li title="SSL 3.0.12"><a href="notes.html#id67845">SSL 3.0.12</a></li>
<li title="SSL 3.0.11"><a href="notes.html#id67891">SSL 3.0.11</a></li>
<li title="SSL 3.0.10"><a href="notes.html#id67926">SSL 3.0.10</a></li>
<li title="SSL 3.0.9"><a href="notes.html#id67958">SSL 3.0.9</a></li>
<li title="SSL 3.0.8"><a href="notes.html#id67993">SSL 3.0.8</a></li>
<li title="Ssl 3.0.7"><a href="notes.html#id68079">Ssl 3.0.7</a></li>
<li title="Ssl 3.0.6"><a href="notes.html#id68112">Ssl 3.0.6</a></li>
<li title="Ssl 3.0.5"><a href="notes.html#id68156">Ssl 3.0.5</a></li>
<li title="Ssl 3.0.4"><a href="notes.html#id68203">Ssl 3.0.4</a></li>
<li title="Ssl 3.0.3"><a href="notes.html#id68238">Ssl 3.0.3</a></li>
<li title="SSL 3.0.2"><a href="notes.html#id68310">SSL 3.0.2</a></li>
<li title="SSL 3.0.1"><a href="notes.html#id68356">SSL 3.0.1</a></li>
<li title="SSL 3.0"><a href="notes.html#id68403">SSL 3.0</a></li>
<li title="SSL 2.3.6"><a href="notes.html#id68729">SSL 2.3.6</a></li>
<li title="SSL 2.3.5"><a href="notes.html#id68777">SSL 2.3.5</a></li>
<li title="SSL 2.3.4"><a href="notes.html#id68857">SSL 2.3.4</a></li>
<li title="SSL 2.3.3"><a href="notes.html#id68902">SSL 2.3.3</a></li>
<li title="SSL 2.3.2"><a href="notes.html#id69023">SSL 2.3.2</a></li>
<li title="SSL 2.3.1"><a href="notes.html#id69073">SSL 2.3.1</a></li>
<li title="SSL 2.3"><a href="notes.html#id69106">SSL 2.3</a></li>
<li title="SSL 2.2.1"><a href="notes.html#id69118">SSL 2.2.1</a></li>
<li title="SSL 2.2"><a href="notes.html#id69130">SSL 2.2</a></li>
<li title="SSL 2.1"><a href="notes.html#id69263">SSL 2.1</a></li>
<li title="SSL 2.0"><a href="notes.html#id69493">SSL 2.0</a></li>
</ul>
</li></ul>
</div></div>
<div id="content">
<div class="innertube">
<h1>1 SSL Release Notes</h1>
  
  <p>This document describes the changes made to the SSL application.</p>
  
  <h3><a name="id60087">1.1 
        SSL 5.1.2</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    ssl:ssl_accept/2 timeout is no longer ignored</p>
          <p>
	    Own Id: OTP-10600</p>
        </li>
      </ul>
    



<h3><a name="id60115">1.2 
        SSL 5.1.1</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    ssl:recv/3 could "loose" data when the timeout occurs. If
	    the timout in ssl:connect or ssl:ssl_accept expired the
	    ssl connection process was not terminated as it should,
	    this due to gen_fsm:send_all_state_event timout is a
	    client side time out. These timouts are now handled by
	    the gen_fsm-procss instead.</p>
          <p>
	    Own Id: OTP-10569</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    Better termination handling that avoids hanging.</p>
          <p>
	    Own Id: OTP-10574</p>
        </li>
      </ul>
    



<h3><a name="id62259">1.3 
        SSL 5.1</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    Sometimes the client process could receive an extra
	    {error, closed} message after ssl:recv had returned
	    {error, closed}.</p>
          <p>
	    Own Id: OTP-10118</p>
        </li>
        <li>
          <p>
	    ssl v3 alert number 41 (no_certificate_RESERVED) is now
	    recognized</p>
          <p>
	    Own Id: OTP-10196</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    Experimental support for TLS 1.1 is now available, will
	    be officially supported from OTP-R16. Thanks to Andreas
	    Schultz for implementing the first version.</p>
          <p>
	    Own Id: OTP-8871</p>
        </li>
        <li>
          <p>
	    Experimental support for TLS 1.2 is now available, will
	    be officially supported from OTP-R16. Thanks to Andreas
	    Schultz for implementing the first version.</p>
          <p>
	    Own Id: OTP-8872</p>
        </li>
        <li>
          <p>
	    Removed some bottlenecks increasing the applications
	    parallelism especially for the client side.</p>
          <p>
	    Own Id: OTP-10113</p>
        </li>
        <li>
          <p>
	    Workaround for handling certificates that wrongly encode
	    X509countryname in utf-8 when the actual value is a valid
	    ASCCI value of length 2. Such certificates are accepted
	    by many browsers such as Chrome and Fierfox so for
	    interoperability reasons we will too.</p>
          <p>
	    Own Id: OTP-10222</p>
        </li>
      </ul>
    



<h3><a name="id57104">1.4 
        SSL 5.0.1</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    Robustness and improvement to distribution over SSL</p>
          <p>
	    Fix a bug where ssl_tls_dist_proxy would crash at caller
	    timeout. Fix a bug where a timeout from the SSL layer
	    would block the distribution indefinately. Run the proxy
	    exclusively on the loopback interface. (Thanks to Paul
	    Guyot)</p>
          <p>
	    Own Id: OTP-9915</p>
        </li>
        <li>
          <p>
	    Fix setup loop of SSL TLS dist proxy</p>
          <p>
	    Fix potential leak of processes waiting indefinately for
	    data from closed sockets during socket setup phase.
	    (Thanks to Paul Guyot)</p>
          <p>
	    Own Id: OTP-9916</p>
        </li>
        <li>
          <p>
	    Correct spelling of registered (Thanks to Richard
	    Carlsson)</p>
          <p>
	    Own Id: OTP-9925</p>
        </li>
        <li>
          <p>
	    Added TLS PRF function to the SSL API for generation of
	    additional key material from a TLS session. (Thanks to
	    Andreas Schultz)</p>
          <p>
	    Own Id: OTP-10024</p>
        </li>
      </ul>
    



<h3><a name="id57178">1.5 
        SSL 5.0</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    Invalidation handling of sessions could cause the
	    time_stamp field in the session record to be set to
	    undefined crashing the session clean up process. This did
	    not affect the connections but would result in that the
	    session table would grow.</p>
          <p>
	    Own Id: OTP-9696 Aux Id: seq11947 </p>
        </li>
        <li>
          <p>
	    Changed code to use ets:foldl and throw instead of
	    ets:next traversal, avoiding the need to explicitly call
	    ets:safe_fixtable. It was possible to get a badarg-crash
	    under special circumstances.</p>
          <p>
	    Own Id: OTP-9703 Aux Id: seq11947 </p>
        </li>
        <li>
          <p>
	    Send ssl_closed notification to active ssl user when a
	    tcp error occurs.</p>
          <p>
	    Own Id: OTP-9734 Aux Id: seq11946 </p>
        </li>
        <li>
          <p>
	    If a passive receive was ongoing during a renegotiation
	    the process evaluating ssl:recv could be left hanging for
	    ever.</p>
          <p>
	    Own Id: OTP-9744</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    Support for the old ssl implementation is dropped and the
	    code is removed.</p>
          <p>
	    Own Id: OTP-7048</p>
        </li>
        <li>
          <p>
	    The erlang distribution can now be run over the new ssl
	    implementation. All options can currently not be set but
	    it is enough to replace to old ssl implementation.</p>
          <p>
	    Own Id: OTP-7053</p>
        </li>
        <li>
          <p>
	    public_key, ssl and crypto now supports PKCS-8</p>
          <p>
	    Own Id: OTP-9312</p>
        </li>
        <li>
          <p>
	    Implements a CBC timing attack counter measure. Thanks to
	    Andreas Schultz for providing the patch.</p>
          <p>
	    Own Id: OTP-9683</p>
        </li>
        <li>
          <p>
	    Mitigates an SSL/TLS Computational DoS attack by
	    disallowing the client to renegotiate many times in a row
	    in a short time interval, thanks to Tuncer Ayaz for
	    alerting us about this.</p>
          <p>
	    Own Id: OTP-9739</p>
        </li>
        <li>
          <p>
	    Implements the 1/n-1 splitting countermeasure to the
	    Rizzo Duong BEAST attack, affects SSL 3.0 and TLS 1.0.
	    Thanks to Tuncer Ayaz for alerting us about this.</p>
          <p>
	    Own Id: OTP-9750</p>
        </li>
      </ul>
    



<h3><a name="id61601">1.6 
        SSL 4.1.6</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    replace "a ssl" with "an ssl" reindent
	    pkix_path_validation/3 Trivial documentation fixes
	    (Thanks to Christian von Roques )</p>
          <p>
	    Own Id: OTP-9464</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    Adds function clause to avoid denial of service attack.
	    Thanks to Vinod for reporting this vulnerability.</p>
          <p>
	    Own Id: OTP-9364</p>
        </li>
        <li>
          <p>
	    Error handling code now takes care of inet:getopts/2 and
	    inets:setopts/2 crashes. Thanks to Richard Jones for
	    reporting this.</p>
          <p>
	    Own Id: OTP-9382</p>
        </li>
        <li>
          <p>
	    Support explicit use of packet option httph and httph_bin</p>
          <p>
	    Own Id: OTP-9461</p>
        </li>
        <li>
          <p>
	    Decoding of hello extensions could fail to come to the
	    correct conclusion due to an error in a binary match
	    pattern. Thanks to Ben Murphy.</p>
          <p>
	    Own Id: OTP-9589</p>
        </li>
      </ul>
    



<h3><a name="id66293">1.7 
        SSL 4.1.5</a></h3>
    
    
    <h4>Improvements and New Features</h4>
    <ul>
      <li>
	<p>Calling gen_tcp:connect with option {ip, {127,0,0,1}} results in 
	an exit with reason badarg. Neither SSL nor INETS This was not 
	catched, resulting in crashes with incomprehensible reasons.</p>
	<p>Own Id: OTP-9289 Aux Id: seq11845</p>
      </li>
    </ul>
    
    
  
  
  <h3><a name="id66326">1.8 
        SSL 4.1.3</a></h3>
    
  
    <h4>Fixed Bugs and Malfunctions</h4>
    <ul>
      <li>
	<p>
	Fixed error in cache-handling fix from ssl-4.1.2</p>
	<p>
	Own Id: OTP-9018 Aux Id: seq11739 </p>
      </li>
      <li>
	<p>Verification of a critical extended_key_usage-extension
	corrected</p>
	<p>Own Id: OTP-9029 Aux Id: seq11541 </p>
      </li>
    </ul>
    

  

  <h3><a name="id66369">1.9 
        SSL 4.1.2</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    The ssl application caches certificate files, it will now
	    invalidate cache entries if the diskfile is changed.</p>
          <p>
	    Own Id: OTP-8965 Aux Id: seq11739 </p>
        </li>
        <li>
          <p>
	    Now runs the terminate function before returning from the
	    call made by ssl:close/1, as before the caller of
	    ssl:close/1 could get problems with the reuseaddr option.</p>
          <p>
	    Own Id: OTP-8992</p>
        </li>
      </ul>
    



<h3><a name="id66412">1.10 
        SSL 4.1.1</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    Correct handling of client certificate verify message
	    When checking the client certificate verify message the
	    server used the wrong algorithm identifier to determine
	    the signing algorithm, causing a function clause error in
	    the public_key application when the key-exchange
	    algorithm and the public key algorithm of the client
	    certificate happen to differ.</p>
          <p>
	    Own Id: OTP-8897</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    For testing purposes ssl now also support some anonymous
	    cipher suites when explicitly configured to do so.</p>
          <p>
	    Own Id: OTP-8870</p>
        </li>
        <li>
          <p>
	    Sends an error alert instead of crashing if a crypto
	    function for the selected cipher suite fails.</p>
          <p>
	    Own Id: OTP-8930 Aux Id: seq11720 </p>
        </li>
      </ul>
    



<h3><a name="id66481">1.11 
        SSL 4.1</a></h3>

    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    Updated ssl to ignore CA certs that violate the asn1-spec
	    for a certificate, and updated public key asn1 spec to
	    handle inherited DSS-params.</p>
          <p>
	    Own Id: OTP-7884</p>
        </li>
        <li>
          <p>
	    Changed ssl implementation to retain backwards
	    compatibility for old option {verify, 0} that shall be
	    equivalent to {verify, verify_none}, also separate the
	    cases unknown ca and selfsigned peer cert, and restored
	    return value of deprecated function
	    public_key:pem_to_der/1.</p>
          <p>
	    Own Id: OTP-8858</p>
        </li>
        <li>
          <p>
	    Changed the verify fun so that it differentiate between
	    the peer certificate and CA certificates by using
	    valid_peer or valid as the second argument to the verify
	    fun. It may not always be trivial or even possible to
	    know when the peer certificate is reached otherwise.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-8873</p>
        </li>
      </ul>
    



<h3><a name="id66543">1.12 
        SSL 4.0.1</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
	    The server now verifies the client certificate verify
	    message correctly, instead of causing a case-clause.</p>
          <p>
	    Own Id: OTP-8721</p>
        </li>
        <li>
          <p>
	    The client hello message now always include ALL available
	    cipher suites (or those specified by the ciphers option).
	    Previous implementation would filter them based on the
	    client certificate key usage extension (such filtering
	    only makes sense for the server certificate).</p>
          <p>
	    Own Id: OTP-8772</p>
        </li>
        <li>
          <p>
	    Fixed handling of the option {mode, list} that was broken
	    for some packet types for instance line.</p>
          <p>
	    Own Id: OTP-8785</p>
        </li>
        <li>
          <p>
	    Empty packets were not delivered to the client.</p>
          <p>
	    Own Id: OTP-8790</p>
        </li>
        <li>
	    <p> Building in a source tree without prebuilt platform
	    independent build results failed on the SSL examples
	    when: </p> <ul>
<li> cross building. This has been
	    solved by not building the SSL examples during a cross
	    build. </li>
<li> building on Windows. </li>
</ul>
          <p>
	    Own Id: OTP-8791</p>
        </li>
        <li>
          <p>
	    Fixed a handshake error which occurred on some ssl
	    implementations.</p>
          <p>
	    Own Id: OTP-8793</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
	    Revise the public_key API - Cleaned up and documented the
	    public_key API to make it useful for general use, also
	    changed ssl to use the new API.</p>
          <p>
	    Own Id: OTP-8722</p>
        </li>
        <li>
          <p>
	    Added support for inputing certificates and keys directly
	    in DER format these options will override the pem-file
	    options if specified.</p>
          <p>
	    Own Id: OTP-8723</p>
        </li>
        <li>
          <p>
	    To gain interoperability ssl will not check for padding
	    errors when using TLS 1.0. It is first in TLS 1.1 that
	    checking the padding is an requirement.</p>
          <p>
	    Own Id: OTP-8740</p>
        </li>
        <li>
          <p>
	    Changed the semantics of the verify_fun option in the
	    ssl-application so that it takes care of both application
	    handling of path validation errors and verification of
	    application specific extensions. This means that it is
	    now possible for the server application in verify_peer
	    mode to handle path validation errors. This change moved
	    some functionality earlier in ssl to the public_key
	    application.</p>
          <p>
	    Own Id: OTP-8770</p>
        </li>
        <li>
          <p>
	    Added the functionality so that the verification fun will
	    be called when a certificate is considered valid by the
	    path validation to allow access to each certificate in
	    the path to the user application. Also try to verify
	    subject-AltName, if unable to verify it let the
	    application verify it.</p>
          <p>
	    Own Id: OTP-8825</p>
        </li>
      </ul>
    



<h3><a name="id66722">1.13 
        SSL 4.0</a></h3>
    
    <h4>Improvements and New Features</h4>
    <ul>
      <li>
	<p>
	  New ssl now support client/server-certificates signed by
	dsa keys.</p>
	<p>
	Own Id: OTP-8587</p>
      </li>
      <li>
	<p>
	  Ssl has now switched default implementation and removed
	  deprecated certificate handling. All certificate handling
	is done by the public_key application.</p>
	<p>
	Own Id: OTP-8695</p>
      </li>
    </ul>
    
    
    

    
    <h3><a name="id66765">1.14 
        SSL 3.11.1</a></h3>
    
    <h4>Fixed Bugs and Malfunctions</h4>
    <ul>
      <li>
          <p>
            Fixed handling of several ssl/tls packets arriving at the
	    same time. This was broken during a refactoring of the
            code.</p>
	    <p>
	    Own Id: OTP-8679</p>
      </li>
      </ul>
    
    

    <h4>Improvements and New Features</h4>
    <ul>
        <li>
          <p>
            Added missing checks for padding and Mac value. Removed
            code for export ciphers and DH certificates as we decided
            not to support them.</p>
          <p>
            Own Id: OTP-7047</p>
        </li>
        <li>
          <p>
            New ssl will no longer return esslerrssl to be backwards
            compatible with old ssl as this hids infomation from the
            user. format_error/1 has been updated to support new ssl.</p>
          <p>
            *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
            Own Id: OTP-7049</p>
        </li>
        <li>
          <p>
            New ssl now supports secure renegotiation as described by
            RFC 5746.</p>
          <p>
            Own Id: OTP-8568</p>
        </li>
        <li>
          <p>
            Alert handling has been improved to better handle
            unexpected but valid messages and the implementation is
            also changed to avoid timing related issues that could
            cause different error messages depending on network
            latency. Packet handling was sort of broken but would
            mostly work as expected when socket was in binary mode.
            This has now been fixed.</p>
          <p>
            Own Id: OTP-8588</p>
        </li>
      </ul>
    
    

    
<h3><a name="id66864">1.15 
        SSL 3.11</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            Fixes handling of the option fail_if_no_peer_cert and
            some undocumented options. Thanks to Rory Byrne.</p>
          <p>
            Own Id: OTP-8557</p>
        </li>
      </ul>
    

    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
            Support for Diffie-Hellman. ssl-3.11 requires
            public_key-0.6.</p>
          <p>
            Own Id: OTP-7046</p>
        </li>
        <li>
          <p>
            New ssl now properly handles ssl renegotiation, and
            initiates a renegotiation if ssl/ltls-sequence numbers
            comes close to the max value. However RFC-5746 is not yet
            supported, but will be in an upcoming release.</p>
          <p>
            Own Id: OTP-8517</p>
        </li>
        <li>
          <p>
            When gen_tcp is configured with the {packet,http} option,
            it automatically switches to expect HTTP Headers after a
            HTTP Request/Response line has been received. This update
            fixes ssl to behave in the same way. Thanks to Rory
            Byrne.</p>
          <p>
            Own Id: OTP-8545</p>
        </li>
        <li>
          <p>
            Ssl now correctly verifies the extended_key_usage
            extension and also allows the user to verify application
            specific extensions by supplying an appropriate fun.</p>
          <p>
            Own Id: OTP-8554 Aux Id: OTP-8553 </p>
        </li>
        <li>
          <p>
            Fixed ssl:transport_accept/2 to return properly when
            socket is closed. Thanks to Rory Byrne.</p>
          <p>
            Own Id: OTP-8560</p>
        </li>
      </ul>
    



<h3><a name="id66971">1.16 
        SSL 3.10.9</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            Fixed a crash in the certificate certification part.</p>
          <p>
            Own Id: OTP-8510 Aux Id: seq11525 </p>
        </li>
      </ul>
    



<h3><a name="id67001">1.17 
        SSL 3.10.8</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
            <p><span class="code">ssl:send/2</span> ignored packet option, fix provided
            by YAMASHINA Hio.</p>
            <p>Fixed a file cache bug which caused problems when the
            same file was used for both cert and cacert.</p>
            <p>Allow <span class="code">ssl:listen/2</span> to be called with option
            {ssl_imp, old}.</p>
            <p> Fixed ssl:setopts(Socket, binary) which didn't work
            for 'new' ssl.</p>.
          <p>
            Own Id: OTP-8441</p>
        </li>
        <li>
          <p>
            Do a controlled shutdown if a non ssl packet arrives as
            the first packet.</p>
          <p>
            Own Id: OTP-8459 Aux Id: seq11505 </p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
            <p>Fixed session reuse (in new_ssl), thanks Wil Tan.</p>
            <p>Send CA list during Certificate Request (in new_ssl) ,
            thanks Wil Tan.</p> <p><span class="code">NOTE</span>: SSL (new_ssl)
            requires public_key-0.5.</p>
          <p>
            Own Id: OTP-8372</p>
        </li>
      </ul>
    



<h3><a name="id67097">1.18 
        SSL 3.10.7</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            A ticker process could potentially be blocked
            indefinitely trying to send a tick to a node not
            responding. If this happened, the connection would not be
            brought down as it should.</p>
	  <p> This requires erts-5.7.4 and kernel-2.13.4 or later 
	    to be able to get the erlang distribution over ssl to work.</p>
          <p>
            Own Id: OTP-8218</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
            The documentation is now built with open source tools
            (xsltproc and fop) that exists on most platforms. One
            visible change is that the frames are removed.</p>
          <p>
            Own Id: OTP-8250</p>
        </li>
        <li>
          <p>
            Code cleanup from Kostis.</p>
          <p>
            Own Id: OTP-8260</p>
        </li>
      </ul>
    



<h3><a name="id67169">1.19 
        SSL 3.10.6</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            The ssl:ssl_accept/3 issue was not properly fixed in the
            previous patch, see OTP-8244.</p>
          <p>
            Own Id: OTP-8275 Aux Id: seq11451 </p>
        </li>
      </ul>
    



<h3><a name="id67200">1.20 
        SSL 3.10.5</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            Allow clients to not send certificates if option
            <span class="code">fail_if_no_peer_cert</span> was not set.</p>
          <p>
            Own Id: OTP-8224</p>
        </li>
        <li>
            <p>An ssl:ssl_accept/3 could crash a connection if the
            timing was wrong.</p> <p>Removed info message if the
            socket closed without a proper disconnect from the ssl
            layer. </p> <p>ssl:send/2 is now blocking until the
            message is sent.</p>
          <p>
            Own Id: OTP-8244 Aux Id: seq11420 </p>
        </li>
      </ul>
    



<h3><a name="id67255">1.21 
        SSL 3.10.4</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            A client could avoid a certificate check if the client
            code didn't send the requested certificate.</p>
          <p>
            Own Id: OTP-8137</p>
        </li>
      </ul>
    



<h3><a name="id67285">1.22 
        SSL 3.10.3</a></h3>

    <h4>Improvements and New Features</h4>
      <ul>
        <li>
            <p>Packet handling was not implemented correctly.</p>
            <p>Inet option handling support have been improved.</p>
            <p>The <span class="code">verify_fun</span> is now invoked even if
            verify_peer is used, that implies that by default
            {bad_cert,unknown_ca} is an accepted fault during the
            client connection phase. The check can still be done by
            suppling another verify_fun.</p>
          <p>
            Own Id: OTP-8011 Aux Id: seq11287 </p>
        </li>
      </ul>
    




<h3><a name="id67329">1.23 
        SSL 3.10.2</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            A "new_ssl" socket was not closed if the controlling
            process died without calling ssl:close/1.</p>
          <p>
            Own Id: OTP-7963 Aux Id: seq11276 </p>
        </li>
      </ul>
    



<h3><a name="id67360">1.24 
        SSL 3.10.1</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            Fixed bug that caused the ssl handshake finished message
            to be calculated wrongly under the circumstances that the
            server did not send the trusted cert and that the
            previous cert did not have the extension telling us the
            trusted certs name. This manifested it self as
            bad_record_mac alert from the server.</p>
          <p>
            Own Id: OTP-7878</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
            The cacertsfile option is now optional for ssl servers.</p>
          <p>
            Own Id: OTP-7656</p>
        </li>
        <li>
          <p>
            For the ssl client the options cacertfile, certfile and
            keyfile are now optional as they are not always needed
            depending on configuration of the client itself and the
            configuration of the server. Also as PEM-files may
            contain more than one entry the keyfile option will
            default to the same file as given by the certfile option.</p>
          <p>
            Own Id: OTP-7870</p>
        </li>
        <li>
          <p>
            Added new ssl client option verify_fun.</p>
          <p>
            Own Id: OTP-7871</p>
        </li>
      </ul>
    


    
  <h3><a name="id67442">1.25 
        SSL 3.10</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            Error log entries are now formatted correctly.</p>
          <p>
            Own Id: OTP-7258</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
            All handling of X509-certificates and public keys have
            been moved to the new application public_key.</p>
          <p>
            Own Id: OTP-6894</p>
        </li>
        <li>
          <p>
            New ssl now supports SSL-3.0 and TLS-1.0</p>
          <p>
            Own Id: OTP-7037</p>
        </li>
        <li>
          <p>
            New ssl now supports all inet-packet types.</p>
          <p>
            Own Id: OTP-7039</p>
        </li>
        <li>
          <p>
            The new ssl-server is now able to send a certificate
            request to the client. However new options may be
            introduced later to fully support all features regarding
            certificate requests.</p>
          <p>
            Own Id: OTP-7150</p>
        </li>
      </ul>
    


    <h4>Known Bugs and Problems</h4>
      <ul>
        <li>
          <p>
            Running erlang distribution over ssl don't work as
            described in the documentation.</p>
          <p>
            Own Id: OTP-7536</p>
        </li>
      </ul>
    
    
  

    
  <h3><a name="id67558">1.26 
        SSL 3.9</a></h3>

    <h4>Fixed Bugs and Malfunctions</h4>
      <ul>
        <li>
          <p>
            ssl_prim.erl was passing an FD rather than an #sslsocket
            to ssl_broker:ssl_accept_prim. This could cause problems
            in the deprecated accept function, this will not cause
            any more problems however this function is deprecated!</p>
          <p>
            Own Id: OTP-6926</p>
        </li>
        <li>
          <p>
            Erlang distribution over ssl was broken after R11B-0,
            this has now been fixed.</p>
          <p>
            Own Id: OTP-7004</p>
        </li>
      </ul>
    


    <h4>Improvements and New Features</h4>
      <ul>
        <li>
          <p>
            All inet options are available in the new ssl
            implementation that is released as a alfa in ssl-3.9 and
            will replace the old implementation in ssl-4.0. This will
            not be fixed in the old implementation.</p>
          <p>
            Own Id: OTP-4677</p>
        </li>
        <li>
          <p>
            The new ssl implementation released as a alfa in this
            version supports upgrading of a tcp connection to an ssl
            connection so that http client and servers may implement
            RFC 2817.</p>
          <p>
            Own Id: OTP-5510</p>
        </li>
        <li>
            <p>A new implementation of ssl is released as a alfa
            version in ssl-3.9 it will later replace the old
            implementation in ssl-4.0. The new implementation can be
            accessed by providing the option {ssl_imp, new} to the
            ssl:connect and ssl:listen functions.</p>
            <p>The new implementation is Erlang based and all logic
            is in Erlang and only payload encryption calculations are
            done in C via the crypto application. The main reason for
            making a new implementation is that the old solution was
            very crippled as the control of the ssl-socket was deep
            down in openssl making it hard if not impossible to
            support all inet options, ipv6 and upgrade of a tcp
            connection to an ssl connection. The alfa version has a
            few limitations that will be removed before the ssl-4.0
            release. Main differences and limitations in the alfa are
            listed below.</p>
          
            <ul> <li>New ssl requires the crypto
            application.</li> <li>The option reuseaddr is
            supported and the default value is false as in gen_tcp.
            Old ssl is patched to accept that the option is set to
            true to provide a smoother migration between the
            versions. In old ssl the option is hard coded to
            true.</li> <li>ssl:version/0 is replaced by
            ssl:versions/0</li> <li>ssl:ciphers/0 is replaced by
            ssl:cipher_suites/0</li> <li>ssl:pid/1 is a
            meaningless function in new ssl and will be deprecated in
            ssl-4.0 until it is removed it will return a valid but
            meaningless pid.</li> <li>New API functions are
            ssl:shutdown/2, ssl:cipher_suites/[0,1] and
            ssl:versions/0</li> <li>Diffie-Hellman keyexchange is
            not supported.</li> <li>Not all inet packet types are
            supported.</li> <li>CRL and policy certificate
            extensions are not supported.</li> <li>In this alfa
            only sslv3 is enabled, although tlsv1 and tlsv1.1
            versions are implemented and will be supported in future
            versions.</li> <li>For security reasons sslv2 is not
            supported.</li> </ul> 
          <p>
            Own Id: OTP-6619</p>
        </li>
        <li>
          <p>
            New ssl implementation, released as alfa in ssl-3.9,
            supports ipv6. It will not be supported in the old
            implementation.</p>
          <p>
            Own Id: OTP-6637 Aux Id: OTP-6636 </p>
        </li>
      </ul>
    

  

  <h3><a name="id67733">1.27 
        SSL 3.1.1.1</a></h3>
    

    <h4>Minor Makefile changes</h4>
      
      <ul>
        <li>
          <p>Removed use of <span class="code">erl_flags</span> from Makefile.</p>
          <p>Own Id: OTP-6689</p>
        </li>
      </ul>
    
  

  <h3><a name="id67769">1.28 
        SSL 3.1.1</a></h3>
    

    <h4>Crash on error in ssl_accept</h4>
      
      <ul>
        <li>
          <p>A bug in ssl_accept could cause all ssl
            connections to hang when a connection
            attempt was closed by the client while
            the server was in <span class="code">ssl_accept</span>.</p>
          <p>Own Id: OTP-6612 Aux Id: seq10599</p>
        </li>
      </ul>
    
  

  <h3><a name="id67806">1.29 
        SSL 3.1</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>SSL now uses a two-phase accept, with a separate accept
            calls for the socket and the ssl protocol. This avoids
            timeouts when a client doesn't initiate ssl handshake.</p>
          <p>With the old implementation of accept, the server
            was locked by a client, if the client didn't do
            proper ssl handshake.</p>
          <p>Own Id: OTP-6418 Aux Id: seq10105</p>
        </li>
      </ul>
    
  

  <h3><a name="id67845">1.30 
        SSL 3.0.12</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>An integer array pointing to a struct pollfd array, is
            now reset before file descriptors are collected to be
            included in a call to poll(). This is to prevent file
            descriptors to be mixed up.</p>
          <p>Own Id: OTP-6084</p>
        </li>
        <li>
          <p>The generation of the module ssl_pkix_oid contained
            multiple identifiers, which made the mapping between
            atoms and identifiers not one-to-one.</p>
          <p>Own Id: OTP-6085</p>
        </li>
      </ul>
    
  

  <h3><a name="id67891">1.31 
        SSL 3.0.11</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>The state of a connection in active mode could be in a
            restrictive state, so that an internal tcp_closed message
            was incorrectly considered illegal, resulting in a
            premature termination of the connection process.</p>
          <p>Own Id: OTP-5972 Aux Id: seq10188 </p>
        </li>
      </ul>
    
  

  <h3><a name="id67926">1.32 
        SSL 3.0.10</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>Erlang distribution over SSL was broken. Corrected.
            (Thanks to Fredrik Thulin.)</p>
          <p>Own Id: OTP-5863</p>
        </li>
      </ul>
    
  

  <h3><a name="id67958">1.33 
        SSL 3.0.9</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>The port program for the ssl application could waste huge
            amounts of CPU time if a write could not be completed
            directly and was put in the write queue. (Only on platforms
            where poll() is used, such as Solaris and Linux.)</p>
          <p>Own Id: OTP-5784</p>
        </li>
      </ul>
    
  

  <h3><a name="id67993">1.34 
        SSL 3.0.8</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>A process reading only a portion of a sufficiently large
            amount of data from an accepted socket, and then quering
            the ssl library (e.g. ssl:getpeername()), would cause a
            global deadlock in the esock port program.</p>
          <p>Own Id: OTP-5702</p>
        </li>
        <li>
          <p>A spelling error in the module <span class="code">ssl_pkix</span> caused the
            call to <span class="code">ssl:peercert/2</span> to fail when the option
            <span class="code">subject</span> was used.</p>
          <p>Own Id: OTP-5708</p>
        </li>
        <li>
          <p>Because fopen() on Solaris 8 can't handle file
            descriptor numbers above 255, reading of certificate
            files would fail if all file descriptors below 256 were
            in use (typically, if many connections were open). This
            problem has been worked around.</p>
          <p>The ssl application's port program used to use
            select(), which meant that it could not handle more than
            FD_SETSIZE file descriptors (usually 1024). To eliminate
            that limitation, poll() is now used on all platforms that
            support it.</p>
          <p>Solaris/Sparc, 64-bit emulator: The SO_REUSEADDR
            option was not set for listen sockets, which essentially
            made the ssl application unusable. Corrected.</p>
          <p>The default listen queue size for ssl port program was
            changed to 128 (from 5).</p>
          <p>Own Id: OTP-5755 Aux Id: seq10068 </p>
        </li>
      </ul>
    
  

  <h3><a name="id68079">1.35 
        Ssl 3.0.7</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>The R/W buffer length i esock.c was too small. It has
            been increased from 4k to 32k.</p>
          <p>Own Id: OTP-5620</p>
        </li>
      </ul>
    
  

  <h3><a name="id68112">1.36 
        Ssl 3.0.6</a></h3>
    

    <h4>Improvements and New Features</h4>
      
      <ul>
        <li>
          <p>A configuration option for choosing protocol versions has
            been added (<span class="code">sslv2</span>, <span class="code">sslv3</span>, and
            <span class="code">tlsv1</span>).</p>
          <p>Own Id: OTP-5429 Aux Id: seq9755 </p>
        </li>
      </ul>
    
  

  <h3><a name="id68156">1.37 
        Ssl 3.0.5</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>Linked in drivers in the crypto, and asn1 applications
            are now compiled with the -D_THREAD_SAFE and -D_REENTRANT
            switches on unix when the emulator has thread support
            enabled.</p>
          <p>Linked in drivers on MacOSX are not compiled with the
            undocumented -lbundle1.o switch anymore. Thanks to Sean
            Hinde who sent us a patch.</p>
          <p>Linked in driver in crypto, and port programs in ssl, now
            compiles on OSF1.</p>
          <p>Minor makefile improvements in runtime_tools.</p>
          <p>Own Id: OTP-5346</p>
        </li>
      </ul>
    
  

  <h3><a name="id68203">1.38 
        Ssl 3.0.4</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p><span class="code">ssl:recv/3</span> with finite timeout value, closed the
            connection at timeout.</p>
          <p>Own Id: OTP-4882</p>
        </li>
      </ul>
    
  

  <h3><a name="id68238">1.39 
        Ssl 3.0.3</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>When a file descriptor was marked for closing, and
            end-of-file condition had already been detected, the file
            descriptor was never closed.</p>
          <p>Own Id: OTP-5093 Aux Id: seq8806 </p>
        </li>
        <li>
          <p>When the number of open file descriptors reached
            FD_SETSIZE, the SSL port program entered a busy loop.</p>
          <p>Own Id: OTP-5094 Aux Id: seq8806 </p>
        </li>
      </ul>
    

    <h4>Improvements and New Features</h4>
      
      <ul>
        <li>
          <p>The SSL application now supports SSL sessions for
            servers, which typically speeds up HTTP requests from
            browsers.</p>
          <p>Own Id: OTP-5095</p>
        </li>
      </ul>
    
  

  <h3><a name="id68310">1.40 
        SSL 3.0.2</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>The UTF8String type is now defined in asn1-1.4.4.2 and
            later.  Therefore the definitions of UTF8String has been
            removed from the ASN.1 modules PKIX1Explicit88.asn1 and
            PKIXAttributeCertificate.asn1. The SSL application can now
            only be built using asn-1.4.4.2 or later.</p>
          <p>OwnId: OTP-4971.</p>
        </li>
      </ul>
    

    <h4>Known Bugs and Problems</h4>
      
      <p>See SSL-3.0.
        </p>
    
  

  <h3><a name="id68356">1.41 
        SSL 3.0.1</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>An unexpected object identifier would crash <span class="code">ssl:peercert</span>. </p>
          <p>OwnId: OTP-4771.</p>
        </li>
      </ul>
    

    <h4>Known Bugs and Problems</h4>
      
      <p>See SSL-3.0.
        </p>
    
  

  <h3><a name="id68403">1.42 
        SSL 3.0</a></h3>
    

    <h4>Improvements and New Features</h4>
      
      <ul>
        <li>
          <p>The <span class="code">cache_timout</span> option was silently ignored. It had 
            to do with SSL sessions, where multiple connections can occur.
            Since the Erlang SSL application does not support sessions the
            option is still ignored, and consequently  the documentation 
            about it has been removed.</p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>The Erlang SSL application is now based on OpenSSL version
            0.9.7a. OpenSSL 0.9.6 should also work.</p>
          <p>OwnId: OTP-4002</p>
        </li>
        <li>
          <p>When connecting it is now possible to bind to a local address
            and local port. </p>
          <p>OwnId: OTP-4675</p>
        </li>
        <li>
          <p>The <span class="code">ssl_esock</span> port program is now part of the
            distribution and thus does not have to be created
            explicitly.  It is dynamically linked to OpenSSL
            libraries in a "standard" location (typically
            <span class="code">/usr/local/lib</span> on UNIX; in the path on Win32).</p>
          <p>OwnId:
            OTP-4676</p>
        </li>
        <li>
          <p>The new functions <span class="code">ssl:peercert/1/2</span> provide information
            from the certificate of a peer of a connection.</p>
          <p>OwnId: OTP-4680 
                        <br>
Aux Id: seq7688</p>
        </li>
        <li>
          <p>The function <span class="code">ssl:port/1</span> has been removed from the 
            documentation, but not from the <span class="code">ssl</span> interface module. 
            The recommendation is to use <span class="code">ssl:peername/1</span>
            instead, which provides both address and port of the peer.</p>
          <p>OwnId: OTP-4681 </p>
        </li>
        <li>
          <p>New User's Guide documentation has been added.</p>
          <p>OwnId: OTP-4682 </p>
        </li>
        <li>
          <p>The old <span class="code">ssl_socket</span> interface has been removed and also
            the documentation of it. </p>
          <p>OwnId: OTP-4683 </p>
        </li>
        <li>
          <p>The use of ephemeral RSA keys is now supported. It is
            a global configuration option (see the ssl(6) manual page).</p>
          <p>OwnId: OTP-4691.</p>
        </li>
      </ul>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>The option <span class="code">cacertfile</span> is now in effect, and can
            therefore no longer be set with the OS environment
            variable SSL_CERT_FILE (which did set the same value for
            all connections).  </p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>There was a synchronization error at closing of an SSL 
            connection. </p>
          <p>OwnId: OTP-4435
                        <br>
Aux Id: seq7534</p>
        </li>
        <li>
          <p>C macros in <span class="code">debuglog.c</span> were not ANSI C compliant.</p>
          <p>OwnId: OTP-4674</p>
        </li>
        <li>
          <p>The <span class="code">binary</span> option was not properly handled.</p>
          <p>OwnId: OTP-4678</p>
        </li>
        <li>
          <p>The <span class="code">ssl:format_error/1</span> did not consider <span class="code">inet</span>
            error codes, nor did it have a catch all for unknown error
            codes.</p>
          <p>OwnId: OTP-4679</p>
        </li>
      </ul>
    

    <h4>Known Bugs and Problems</h4>
      
      <ul>
        <li>
          <p>Change of controlling process in not OTP compliant. </p>
          <p>OwnId; OTP-4712</p>
        </li>
        <li>
          <p>There is still no way to restrict the cipher sizes. </p>
          <p>OwnId: OTP-4712</p>
        </li>
        <li>
          <p>The <span class="code">keep_alive</span> and <span class="code">reuse_addr</span> options will be
            added in a future release.  </p>
          <p>OwnId: OTP-4677</p>
        </li>
        <li>
          <p>There is currently no way to restrict the SSL/TLS
            protocol versions to use. In a future release this will be
            supported as a configuration option, and as an option for
            each connection as well.  </p>
          <p>OwnId: OTP-4711.</p>
        </li>
      </ul>
    
  

  <h3><a name="id68729">1.43 
        SSL 2.3.6</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>There was a synchronization error at closing, which could 
            result in that an SSL socket was removed prematurely, resulting
            in that a user process referring to it received an unexpected
            exit.</p>
          <p>OwnId: OTP-4435
                        <br>
Aux Id: seq7600</p>
        </li>
      </ul>
    

    <h4>Known Bugs and Problems</h4>
      
      <p>See SSL 2.2 .  </p>
    
  

  <h3><a name="id68777">1.44 
        SSL 2.3.5</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>Setting of the option `nodelay' caused the SSL port program
            to dump core.</p>
          <p>OwnId: OTP-4380
                        <br>
Aux Id: -</p>
        </li>
        <li>
          <p>Setting of the option '{active, once}' in <span class="code">setopts</span> was 
            wrong, causing a correct socket message to be regarded as
            erroneous. </p>
          <p>OwnId: OTP-4380 
                        <br>
Aux Id: -</p>
        </li>
        <li>
          <p>A self-signed peer certificate was always rejected with the
            error `eselfsignedcert', irrespective of the `depth' value. </p>
          <p>OwnId: OTP-4374
                        <br>
Aux Id: seq7417</p>
        </li>
      </ul>
    

    <h4>Known Bugs and Problems</h4>
      
      <p>See SSL 2.2 .  </p>
    
  

  <h3><a name="id68857">1.45 
        SSL 2.3.4</a></h3>
    

    <h4>Improvements and New Features</h4>
      
      <ul>
        <li>
          <p>All TCP options allowed in gen_tcp, are now also allowed in
            SSL, except the option <span class="code">{reuseaddr, Boolean}</span>. A new
            function <span class="code">getopts</span> has been added to the SSL interface
            module <span class="code">ssl</span>. </p>
          <p>OwnId: OTP-4305, OTP-4159</p>
        </li>
      </ul>
    
  

  <h3><a name="id68902">1.46 
        SSL 2.3.3</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>The roles of the SSLeay and OpenSSL packages has been
            clarified in the ssl(6) application manual page. Also
            the URLs from which to download SSLeay has been updated.</p>
          <p>OwnId: OTP-4002
                        <br>
Aux Id: seq5269</p>
        </li>
        <li>
          <p>A call to <span class="code">ssl:listen(Port, Options)</span> with
            <span class="code">Options = []</span> resulted in the cryptic <span class="code">{error, ebadf}</span> return value. The return value has been changed
            to <span class="code">{error, enooptions}</span>, and the behaviour has been
            documented in the <span class="code">listen/2</span> function.</p>
          <p>OwnId: OTP-4016 
                        <br>
Aux Id: seq7006</p>
        </li>
        <li>
          <p>Use of the option <span class="code">{nodelay, boolean()}</span> crashed
            the <span class="code">ssl_server</span>.</p>
          <p>OwnId: OTP-4070
                        <br>
Aux Id:</p>
        </li>
        <li>
          <p>A bug caused the Erlang distribution over ssl to fail.
            This bug has now been fixed.</p>
          <p>OwnId: OTP-4072
                        <br>
Aux Id:</p>
        </li>
        <li>
          <p>On Windows when the SSL port program encountered an
            error code not anticipated it crashed.  </p>
          <p>OwnId: OTP-4132
                        <br>
Aux Id:</p>
        </li>
      </ul>
    
  

  <h3><a name="id69023">1.47 
        SSL 2.3.2</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>The <span class="code">ssl:accept/1-2</span> function sometimes returned
            <span class="code">{error, {What, Where}}</span> instead of <span class="code">{error, What}</span>, where <span class="code">What</span> is an atom.  </p>
          <p>OwnId: OTP-3775
                        <br>
Aux Id: seq4991</p>
        </li>
      </ul>
    
  

  <h3><a name="id69073">1.48 
        SSL 2.3.1</a></h3>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>Sometimes the SSL portprogram would loop in an accept
            loop, without terminating even when the SSL application
            was stopped..  </p>
          <p>OwnId: OTP-3691</p>
        </li>
      </ul>
    
  

  <h3><a name="id69106">1.49 
        SSL 2.3</a></h3>
    
    <p>Functions have been added to SSL to experimentally support 
      Erlang distribution.
      </p>
  

  <h3><a name="id69118">1.50 
        SSL 2.2.1</a></h3>
    
    <p>The 2.2.1 version of SSL provides code replacement in runtime
      by upgrading from, or downgrading to, versions 2.1 and 2.2.
      </p>
  

  <h3><a name="id69130">1.51 
        SSL 2.2</a></h3>
    

    <h4>Improvements and New Features</h4>
      
      <ul>
        <li>
          <p>The restriction that only the creator of an SSL socket can
            read from and write to the socket has been lifted.</p>
          <p>OwnId: OTP-3301</p>
        </li>
        <li>
          <p>The option <span class="code">{packet, cdr}</span> for SSL sockets has been added,
            which means that SSL sockets also supports CDR encoded packets.</p>
          <p>OwnId: OTP-3302</p>
        </li>
      </ul>
    

    <h4>Known Bugs and Problems</h4>
      
      <ul>
        <li>
          <p>Setting of a CA certificate file with the <span class="code">cacertfile</span>
            option (in calls to <span class="code">ssl:accept/1/2</span> or 
            <span class="code">ssl:connect/3/4</span>) does not work due to weaknesses
            in the SSLeay package. </p>
          <p>A work-around is to set the OS environment variable
            <span class="code">SSL_CERT_FILE</span> before SSL is started. However, then
            the CA certificate file will be global for all connections.</p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>When changing controlling process of an SSL socket, a 
            temporary process is started, which is not gen_server
            compliant.</p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>Although there is a <span class="code">cache</span> timeout option, it is
            silently ignored.</p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>There is currently no way to restrict the cipher sizes.</p>
          <p>OwnId: OTP-3146</p>
        </li>
      </ul>
    
  

  <h3><a name="id69263">1.52 
        SSL 2.1</a></h3>
    

    <h4>Improvements and New Features</h4>
      
      <ul>
        <li>
          <p>The set of possible error reasons has been extended to
            contain diagnostics on erroneous certificates and failures
            to verify certificates.</p>
          <p>OwnId: OTP-3145</p>
        </li>
        <li>
          <p>The maximum number of simultaneous SSL connections on
            Windows has been increased from 31 to 127.</p>
          <p>OwnId: OTP-3145</p>
        </li>
      </ul>
    

    <h4>Fixed Bugs and Malfunctions</h4>
      
      <ul>
        <li>
          <p>A dead-lock occurring when write queues are not empty has 
            been removed.  </p>
          <p>OwnId: OTP-3145</p>
        </li>
        <li>
          <p>Error reasons have been unified and changed.</p>
          <p>(** POTENTIAL INCOMPATIBILITY **)</p>
          <p>OwnId: OTP-3145</p>
        </li>
        <li>
          <p>On Windows a check of the existence of the environment
            variable <span class="code">ERLSRV_SERVICE_NAME</span> has been added. If
            that variable is defined, the port program of the SSL
            application will not terminated when a user logs off.</p>
          <p>OwnId: OTP-3145</p>
        </li>
        <li>
          <p>An error in the setting of the <span class="code">nodelay</span> option 
            has been corrected.</p>
          <p>OwnId: OTP-3145</p>
        </li>
        <li>
          <p>The confounded notions of verify mode and verify depth has
            been corrected. The option <span class="code">verifydepth</span> has been 
            removed, and the two separate options <span class="code">verify</span> and
            <span class="code">depth</span> has been added.</p>
          <p>(** POTENTIAL INCOMPATIBILITY **)</p>
          <p>OwnId: OTP-3145</p>
        </li>
      </ul>
    

    <h4>Known Bugs and Problems</h4>
      
      <ul>
        <li>
          <p>Setting of a CA certificate file with the <span class="code">cacertfile</span>
            option (in calls to <span class="code">ssl:accept/1/2</span> or 
            <span class="code">ssl:connect/3/4</span>) does not work due to weaknesses
            in the SSLeay package. </p>
          <p>A work-around is to set the OS environment variable
            <span class="code">SSL_CERT_FILE</span> before SSL is started. However, then
            the CA certificate file will be global for all connections.</p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>When changing controlling process of an SSL socket, a 
            temporary process is started, which is not gen_server
            compliant.</p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>Although there is a <span class="code">cache</span> timeout option, it is
            silently ignored.</p>
          <p>OwnId: OTP-3146</p>
        </li>
        <li>
          <p>There is currently no way to restrict the cipher sizes.</p>
          <p>OwnId: OTP-3146</p>
        </li>
      </ul>
    
  

  <h3><a name="id69493">1.53 
        SSL 2.0</a></h3>
    
    <p>A complete new version of SSL with separate I/O channels
      for all connections with non-blocking I/O multiplexing.</p>
  
</div>
<div class="footer">
<hr>
<p>Copyright © 1999-2012 Ericsson AB. All Rights Reserved.</p>
</div>
</div>
</div></body>
</html>