From 68aff958ae7076ded8b4f051554106625c8dd56d Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Fri, 27 Jan 2012 10:12:27 -0800 Subject: [PATCH] doc: update Go1 release notes in light of the crypto/hmac change. R=r CC=golang-dev https://golang.org/cl/5532108 --- doc/go1.html | 13 +++++++++++++ doc/go1.tmpl | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/doc/go1.html b/doc/go1.html index 23ed3709fbe..d839b7a278c 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 fd005b102df..f1203f19073 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