فهرست منبع

nacl: use HTTPS for nacl.cr.yp.to links

nacl.cr.yp.to is available over HTTPS and presents a valid certificate, so
seems useful to use it.

Change-Id: I64d86e52cc314641b4169167fe5123d38c2904c0
Reviewed-on: https://go-review.googlesource.com/26812
Reviewed-by: Jonathan Rudenberg <jonathan@titanous.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Kevin Burke 9 سال پیش
والد
کامیت
88d0005bf4
2فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 3 2
      nacl/box/box.go
  2. 1 1
      nacl/secretbox/secretbox.go

+ 3 - 2
nacl/box/box.go

@@ -13,15 +13,16 @@ example, by using nonce 1 for the first message, nonce 2 for the second
 message, etc. Nonces are long enough that randomly generated nonces have
 message, etc. Nonces are long enough that randomly generated nonces have
 negligible risk of collision.
 negligible risk of collision.
 
 
-This package is interoperable with NaCl: http://nacl.cr.yp.to/box.html.
+This package is interoperable with NaCl: https://nacl.cr.yp.to/box.html.
 */
 */
 package box // import "golang.org/x/crypto/nacl/box"
 package box // import "golang.org/x/crypto/nacl/box"
 
 
 import (
 import (
+	"io"
+
 	"golang.org/x/crypto/curve25519"
 	"golang.org/x/crypto/curve25519"
 	"golang.org/x/crypto/nacl/secretbox"
 	"golang.org/x/crypto/nacl/secretbox"
 	"golang.org/x/crypto/salsa20/salsa"
 	"golang.org/x/crypto/salsa20/salsa"
-	"io"
 )
 )
 
 
 // Overhead is the number of bytes of overhead when boxing a message.
 // Overhead is the number of bytes of overhead when boxing a message.

+ 1 - 1
nacl/secretbox/secretbox.go

@@ -13,7 +13,7 @@ example, by using nonce 1 for the first message, nonce 2 for the second
 message, etc. Nonces are long enough that randomly generated nonces have
 message, etc. Nonces are long enough that randomly generated nonces have
 negligible risk of collision.
 negligible risk of collision.
 
 
-This package is interoperable with NaCl: http://nacl.cr.yp.to/secretbox.html.
+This package is interoperable with NaCl: https://nacl.cr.yp.to/secretbox.html.
 */
 */
 package secretbox // import "golang.org/x/crypto/nacl/secretbox"
 package secretbox // import "golang.org/x/crypto/nacl/secretbox"