chiark / gitweb /
tokens: fiddle with commented-out debugging
[hippotat.git] / src / bin / client.rs
index 2578f7aabc6c5421b42be7ff254b3ca12d7fd19a..2497780c52a1e54c5707b7137426247535b37dd3 100644 (file)
@@ -48,6 +48,7 @@ fn submit_request<'r, 'c:'r, C:HCC>(
   let time_t = time_t_now();
   let time_t = format!("{:x}", time_t);
   let hmac = token_hmac(c.ic.secret.0.as_bytes(), time_t.as_bytes());
+  //dbg!(DumpHex(&hmac));
   let mut token = time_t;
   write!(token, " ").unwrap();
   base64::encode_config_buf(&hmac, BASE64_CONFIG, &mut token);