doc: update Go1 release notes in light of the crypto/hmac change.

R=r
CC=golang-dev
https://golang.org/cl/5532108
This commit is contained in:
Adam Langley 2012-01-27 10:12:27 -08:00
parent 903752f484
commit 68aff958ae
2 changed files with 26 additions and 0 deletions

View file

@ -875,6 +875,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
as their first argument.
</p>
<h3 id="crypto/hmac">The crypto/hmac package</h3>
<p>
In Go 1, the hash-specific functions, such as <code>hmac.NewMD5</code>, have
been removed from <code>crypto/hmac</code>. Instead, <code>hmac.New</code> takes
a function that returns a <code>hash.Hash</code>, such as <code>md5.New</code>.
</p>
<p>
<em>Updating</em>:
Gofix will perform the needed changes.
</p>
<h3 id="crypto_x509">The crypto/x509 package</h3>
<p>

View file

@ -779,6 +779,19 @@ in <code>crypto/elliptic</code> that take an <code>elliptic.Curve</code>
as their first argument.
</p>
<h3 id="crypto/hmac">The crypto/hmac package</h3>
<p>
In Go 1, the hash-specific functions, such as <code>hmac.NewMD5</code>, have
been removed from <code>crypto/hmac</code>. Instead, <code>hmac.New</code> takes
a function that returns a <code>hash.Hash</code>, such as <code>md5.New</code>.
</p>
<p>
<em>Updating</em>:
Gofix will perform the needed changes.
</p>
<h3 id="crypto_x509">The crypto/x509 package</h3>
<p>