Browse Source

test: typo

pull/7/head
fatedier 9 years ago
parent
commit
30d79e66be
  1. 4
      src/frp/utils/pcrypto/pcrypto_test.go

4
src/frp/utils/pcrypto/pcrypto_test.go

@ -50,12 +50,12 @@ func TestDecrypto(t *testing.T) {
func TestPKCS7Padding(t *testing.T) { func TestPKCS7Padding(t *testing.T) {
ltt := []byte("Test_PKCS7Padding") ltt := []byte("Test_PKCS7Padding")
ltt = PKCS7Padding(ltt, aes.BlockSize) ltt = PKCS7Padding(ltt, aes.BlockSize)
fmt.Printf("[%x]\n", (ltt)) // fmt.Printf("[%x]\n", (ltt))
} }
func TestPKCS7UnPadding(t *testing.T) { func TestPKCS7UnPadding(t *testing.T) {
ltt := []byte("Test_PKCS7Padding") ltt := []byte("Test_PKCS7Padding")
ltt = PKCS7Padding(ltt, aes.BlockSize) ltt = PKCS7Padding(ltt, aes.BlockSize)
ltt = PKCS7UnPadding(ltt) ltt = PKCS7UnPadding(ltt)
fmt.Printf("[%x]\n", ltt) // fmt.Printf("[%x]\n", ltt)
} }

Loading…
Cancel
Save