From: Adam Langley Date: Fri, 27 Jan 2012 18:12:27 +0000 (-0800) Subject: doc: update Go1 release notes in light of the crypto/hmac change. X-Git-Tag: weekly.2012-02-07~250 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=68aff958ae7076ded8b4f051554106625c8dd56d;p=gostls13.git doc: update Go1 release notes in light of the crypto/hmac change. R=r CC=golang-dev https://golang.org/cl/5532108 --- diff --git a/doc/go1.html b/doc/go1.html index 23ed3709fb..d839b7a278 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -875,6 +875,19 @@ in crypto/elliptic that take an elliptic.Curve as their first argument.

+

The crypto/hmac package

+ +

+In Go 1, the hash-specific functions, such as hmac.NewMD5, have +been removed from crypto/hmac. Instead, hmac.New takes +a function that returns a hash.Hash, such as md5.New. +

+ +

+Updating: +Gofix will perform the needed changes. +

+

The crypto/x509 package

diff --git a/doc/go1.tmpl b/doc/go1.tmpl index fd005b102d..f1203f1907 100644 --- a/doc/go1.tmpl +++ b/doc/go1.tmpl @@ -779,6 +779,19 @@ in crypto/elliptic that take an elliptic.Curve as their first argument.

+

The crypto/hmac package

+ +

+In Go 1, the hash-specific functions, such as hmac.NewMD5, have +been removed from crypto/hmac. Instead, hmac.New takes +a function that returns a hash.Hash, such as md5.New. +

+ +

+Updating: +Gofix will perform the needed changes. +

+

The crypto/x509 package