Brenton Bostick 2 年 前
コミット
be95b56c10
2 ファイル変更2 行追加2 行削除
  1. 1 1
      selftest.cpp
  2. 1 1
      zeroidc/src/lib.rs

+ 1 - 1
selftest.cpp

@@ -400,7 +400,7 @@ static int testCrypto()
 		C25519::agree(p1,p2.pub,buf1,64);
 		C25519::agree(p1,p2.pub,buf1,64);
 		C25519::agree(p2,p1.pub,buf2,64);
 		C25519::agree(p2,p1.pub,buf2,64);
 		C25519::agree(p3,p1.pub,buf3,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)) {
 		if (memcmp(buf1,buf2,64)) {
 			std::cout << "FAIL (1)" << std::endl;
 			std::cout << "FAIL (1)" << std::endl;
 			return -1;
 			return -1;

+ 1 - 1
zeroidc/src/lib.rs

@@ -136,7 +136,7 @@ impl ZeroIDC {
         };
         };
 
 
         println!(
         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
             issuer, client_id, auth_ep, local_web_port
         );
         );
         let iss = IssuerUrl::new(issuer.to_string())?;
         let iss = IssuerUrl::new(issuer.to_string())?;