diff --git a/selftest.cpp b/selftest.cpp index cc161777b..f2d1d14df 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -400,7 +400,7 @@ static int testCrypto() C25519::agree(p1,p2.pub,buf1,64); C25519::agree(p2,p1.pub,buf2,64); C25519::agree(p3,p1.pub,buf3,64); - // p1<>p2 should equal p1<>p2 + // p1<>p2 should equal p2<>p1 if (memcmp(buf1,buf2,64)) { std::cout << "FAIL (1)" << std::endl; return -1; diff --git a/zeroidc/src/lib.rs b/zeroidc/src/lib.rs index 11efb932b..52ab56f1c 100644 --- a/zeroidc/src/lib.rs +++ b/zeroidc/src/lib.rs @@ -136,7 +136,7 @@ impl ZeroIDC { }; println!( - "issuer: {}, client_id: {}, auth_endopint: {}, local_web_port: {}", + "issuer: {}, client_id: {}, auth_endpoint: {}, local_web_port: {}", issuer, client_id, auth_ep, local_web_port ); let iss = IssuerUrl::new(issuer.to_string())?;