From f09eee913a023f692014ab027e8722e658af22b1 Mon Sep 17 00:00:00 2001 From: Henry Case Date: Sun, 12 May 2019 18:42:15 +0100 Subject: [PATCH] Change package name from tls to trs --- 13.go | 2 +- alert.go | 2 +- auth.go | 2 +- auth_test.go | 2 +- cipher_suites.go | 2 +- common.go | 2 +- conn.go | 2 +- conn_test.go | 2 +- example_test.go.TEMPORARILY_DISABLED | 2 +- handshake_client.go | 2 +- handshake_client_test.go | 2 +- handshake_messages.go | 2 +- handshake_messages_test.go | 2 +- handshake_server.go | 2 +- handshake_server_test.go | 2 +- handshake_test.go | 2 +- hkdf.go | 2 +- key_agreement.go | 2 +- prf.go | 2 +- prf_test.go | 2 +- subcerts.go | 2 +- subcerts_test.go | 2 +- ticket.go | 2 +- tls.go | 2 +- tls_test.go | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/13.go b/13.go index 6b96a6e..167b40f 100644 --- a/13.go +++ b/13.go @@ -1,4 +1,4 @@ -package tls +package trs import ( "bytes" diff --git a/alert.go b/alert.go index e2fe2bd..ade82e2 100644 --- a/alert.go +++ b/alert.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import "strconv" diff --git a/auth.go b/auth.go index 0c6d240..8edd6dc 100644 --- a/auth.go +++ b/auth.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "crypto" diff --git a/auth_test.go b/auth_test.go index 3f876b9..2349e15 100644 --- a/auth_test.go +++ b/auth_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "crypto" diff --git a/cipher_suites.go b/cipher_suites.go index 6c78d98..7b5ec13 100644 --- a/cipher_suites.go +++ b/cipher_suites.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "crypto" diff --git a/common.go b/common.go index ce869c7..a04d7e0 100644 --- a/common.go +++ b/common.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "container/list" diff --git a/conn.go b/conn.go index 701bd76..9f64943 100644 --- a/conn.go +++ b/conn.go @@ -4,7 +4,7 @@ // TLS low level connection and record layer -package tls +package trs import ( "bytes" diff --git a/conn_test.go b/conn_test.go index 5c7f7ce..2a3abee 100644 --- a/conn_test.go +++ b/conn_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes" diff --git a/example_test.go.TEMPORARILY_DISABLED b/example_test.go.TEMPORARILY_DISABLED index 8b25f43..62dcc91 100644 --- a/example_test.go.TEMPORARILY_DISABLED +++ b/example_test.go.TEMPORARILY_DISABLED @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls_test +package trs_test import ( "crypto/tls" diff --git a/handshake_client.go b/handshake_client.go index fb07c4d..23894e7 100644 --- a/handshake_client.go +++ b/handshake_client.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes" diff --git a/handshake_client_test.go b/handshake_client_test.go index 57ee331..c0a709f 100644 --- a/handshake_client_test.go +++ b/handshake_client_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes" diff --git a/handshake_messages.go b/handshake_messages.go index 91f0ca8..64fac37 100644 --- a/handshake_messages.go +++ b/handshake_messages.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes" diff --git a/handshake_messages_test.go b/handshake_messages_test.go index 310af22..64ec682 100644 --- a/handshake_messages_test.go +++ b/handshake_messages_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes" diff --git a/handshake_server.go b/handshake_server.go index 4d4bff7..f2b9600 100644 --- a/handshake_server.go +++ b/handshake_server.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "crypto" diff --git a/handshake_server_test.go b/handshake_server_test.go index 93d4326..bf6f8bd 100644 --- a/handshake_server_test.go +++ b/handshake_server_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes" diff --git a/handshake_test.go b/handshake_test.go index 4b3fa23..47c0d8e 100644 --- a/handshake_test.go +++ b/handshake_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bufio" diff --git a/hkdf.go b/hkdf.go index 86db10b..f85467e 100644 --- a/hkdf.go +++ b/hkdf.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs // Mostly derived from golang.org/x/crypto/hkdf, but with an exposed // Extract API. diff --git a/key_agreement.go b/key_agreement.go index 0e65ea3..d19c0b0 100644 --- a/key_agreement.go +++ b/key_agreement.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "crypto" diff --git a/prf.go b/prf.go index 00f4035..63daf04 100644 --- a/prf.go +++ b/prf.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "crypto" diff --git a/prf_test.go b/prf_test.go index 5943e3d..aed3c93 100644 --- a/prf_test.go +++ b/prf_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "encoding/hex" diff --git a/subcerts.go b/subcerts.go index 564ac95..bd554c0 100644 --- a/subcerts.go +++ b/subcerts.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs // Delegated credentials for TLS // (https://tools.ietf.org/html/draft-ietf-tls-subcerts-02) is an IETF Internet diff --git a/subcerts_test.go b/subcerts_test.go index 08ac2be..f9299cc 100644 --- a/subcerts_test.go +++ b/subcerts_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "crypto" diff --git a/ticket.go b/ticket.go index 0f67c19..268dc1c 100644 --- a/ticket.go +++ b/ticket.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes" diff --git a/tls.go b/tls.go index 8fd4294..a3bab95 100644 --- a/tls.go +++ b/tls.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package tls partially implements TLS 1.2, as specified in RFC 5246. -package tls +package trs // BUG(agl): The crypto/tls package only implements some countermeasures // against Lucky13 attacks on CBC-mode encryption, and only on SHA1 diff --git a/tls_test.go b/tls_test.go index 1b6a445..569d82c 100644 --- a/tls_test.go +++ b/tls_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package tls +package trs import ( "bytes"