@@ -602,7 +602,7 @@ mod tests {
602602 target_hostname : Some ( "www.example.com" . to_string ( ) ) ,
603603 target_port : HTTP_PORT ,
604604 protocol : ProxyProtocol :: HTTP ,
605- originator_alias_public_key : cryptde. public_key ( ) . clone ( ) ,
605+ originator_public_key : cryptde. public_key ( ) . clone ( ) ,
606606 } ;
607607
608608 StreamHandlerPoolReal :: process_package ( payload, None , Arc :: new ( Mutex :: new ( inner) ) ) ;
@@ -635,7 +635,7 @@ mod tests {
635635 target_hostname : None ,
636636 target_port : HTTP_PORT ,
637637 protocol : ProxyProtocol :: HTTP ,
638- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
638+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
639639 } ;
640640 let write_parameters = Arc :: new ( Mutex :: new ( vec ! [ ] ) ) ;
641641 let tx_to_write = Box :: new (
@@ -697,7 +697,7 @@ mod tests {
697697 target_hostname : Some ( String :: from ( "that.try" ) ) ,
698698 target_port : HTTP_PORT ,
699699 protocol : ProxyProtocol :: HTTP ,
700- originator_alias_public_key : originator_key,
700+ originator_public_key : originator_key,
701701 } ;
702702 let package = ExpiredCoresPackage :: new (
703703 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -766,7 +766,7 @@ mod tests {
766766 target_hostname : Some ( String :: from ( "3.4.5.6:80" ) ) ,
767767 target_port : HTTP_PORT ,
768768 protocol : ProxyProtocol :: HTTP ,
769- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
769+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
770770 } ;
771771 let package = ExpiredCoresPackage :: new (
772772 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -875,7 +875,7 @@ mod tests {
875875 target_hostname : Some ( String :: from ( "3.4.5.6" ) ) ,
876876 target_port : HTTP_PORT ,
877877 protocol : ProxyProtocol :: HTTP ,
878- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
878+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
879879 } ;
880880 let package = ExpiredCoresPackage :: new (
881881 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -982,7 +982,7 @@ mod tests {
982982 target_hostname : None ,
983983 target_port : HTTP_PORT ,
984984 protocol : ProxyProtocol :: HTTP ,
985- originator_alias_public_key : originator_key,
985+ originator_public_key : originator_key,
986986 } ;
987987 let package = ExpiredCoresPackage :: new (
988988 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1051,7 +1051,7 @@ mod tests {
10511051 target_hostname : Some ( String :: from ( "that.try" ) ) ,
10521052 target_port : HTTP_PORT ,
10531053 protocol : ProxyProtocol :: HTTP ,
1054- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1054+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
10551055 } ;
10561056 let package = ExpiredCoresPackage :: new (
10571057 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1164,7 +1164,7 @@ mod tests {
11641164 target_hostname : Some ( String :: from ( "that.try" ) ) ,
11651165 target_port : HTTP_PORT ,
11661166 protocol : ProxyProtocol :: HTTP ,
1167- originator_alias_public_key : originator_key,
1167+ originator_public_key : originator_key,
11681168 } ;
11691169 let package = ExpiredCoresPackage :: new (
11701170 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1254,7 +1254,7 @@ mod tests {
12541254 target_hostname : Some ( String :: from ( "that.try" ) ) ,
12551255 target_port : HTTP_PORT ,
12561256 protocol : ProxyProtocol :: HTTP ,
1257- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1257+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
12581258 } ;
12591259
12601260 let package = ExpiredCoresPackage :: new (
@@ -1367,7 +1367,7 @@ mod tests {
13671367 target_hostname : Some ( String :: from ( "that.try" ) ) ,
13681368 target_port : HTTP_PORT ,
13691369 protocol : ProxyProtocol :: HTTP ,
1370- originator_alias_public_key : originator_key,
1370+ originator_public_key : originator_key,
13711371 } ;
13721372 let package = ExpiredCoresPackage :: new (
13731373 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1429,7 +1429,7 @@ mod tests {
14291429 target_hostname : Some ( String :: from ( "that.try" ) ) ,
14301430 target_port : HTTP_PORT ,
14311431 protocol : ProxyProtocol :: HTTP ,
1432- originator_alias_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
1432+ originator_public_key : PublicKey :: new ( & b"men's souls" [ ..] ) ,
14331433 } ;
14341434 let package = ExpiredCoresPackage :: new (
14351435 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
@@ -1497,7 +1497,7 @@ mod tests {
14971497 target_hostname : None ,
14981498 target_port : HTTP_PORT ,
14991499 protocol : ProxyProtocol :: HTTP ,
1500- originator_alias_public_key : PublicKey :: new ( & b"booga" [ ..] ) ,
1500+ originator_public_key : PublicKey :: new ( & b"booga" [ ..] ) ,
15011501 } ;
15021502 let package = ExpiredCoresPackage :: new (
15031503 SocketAddr :: from_str ( "1.2.3.4:1234" ) . unwrap ( ) ,
0 commit comments