]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/md5, crypto/sha1: exclude amd64p32 from generic implementations.
authorDave Cheney <dave@cheney.net>
Fri, 7 Mar 2014 20:54:41 +0000 (07:54 +1100)
committerDave Cheney <dave@cheney.net>
Fri, 7 Mar 2014 20:54:41 +0000 (07:54 +1100)
We provide amd64p32 implementations for md5 and sha1 so we need to exclude amd64p32 from the generic implementations in those packages.

Fixes build once CL 72360044 lands.

LGTM=agl, remyoudompheng
R=rsc, bradfitz, agl, remyoudompheng
CC=golang-codereviews
https://golang.org/cl/72460043

src/pkg/crypto/md5/md5block_generic.go
src/pkg/crypto/sha1/sha1block_generic.go

index 239bf4d2152b2f6b5a541bd1300abecabd7b3435..263463e51cdc9cc538287e94e07474da5867ac82 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !amd64,!386,!arm
+// +build !amd64,!amd64p32,!386,!arm
 
 package md5
 
index 2c78683aa49c9e2cd31486479fc8728e889fa3a3..696e26b6257fdfa411f7bc7fc8dd50cc1f10f604 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !amd64,!386,!arm
+// +build !amd64,!amd64p32,!386,!arm
 
 package sha1