diff --git a/connect/authenticated_test.go b/connect/authenticated_test.go index 3668a742229ed15a27af3697c8a1ae05ad7deca2..5a8a3112fbe10e7672fae864d75f995dcb0c1c50 100644 --- a/connect/authenticated_test.go +++ b/connect/authenticated_test.go @@ -42,7 +42,7 @@ func TestConnectWithAuthentication(t *testing.T) { myRsaPrivKey, err := rsa.LoadPrivateKeyFromPem(getPrivKey()) if err != nil { - t.Fatalf("Faled to load private key: %v", err) + t.Fatalf("Failed to load private key: %v", err) } // Construct client ID the proper way as server will need to verify it diff --git a/connect/connect.go b/connect/connect.go index 0f3329bc3443faae45326446660f40772523962a..0a6b9a7fc8b1d95125bf24ac9d0f9cfff245205e 100644 --- a/connect/connect.go +++ b/connect/connect.go @@ -191,8 +191,8 @@ func StartServer(identity xxdk.ReceptionIdentity, cb Callback, net *xxdk.Cmix, // ConnectionServer contains type ConnectionServer struct { - e2e *xxdk.E2e - cl *ConnectionList + E2e *xxdk.E2e + Cl *ConnectionList } // handler provides an implementation for the Connection interface.