@@ -573,11 +573,11 @@ ssh_list_public_key(Config) when is_list(Config) ->
573573 [" openssh_rsa_pub" , " openssh_dsa_pub" , " openssh_ecdsa_pub" ]),
574574
575575 true =
576- (chk_decode (Data_openssh , Expect_openssh , openssh_key ) and
577- chk_decode (Data_ssh2 , Expect_ssh2 , rfc4716_key ) and
578- chk_decode (Data_openssh , Expect_openssh , public_key ) and
579- chk_decode (Data_ssh2 , Expect_ssh2 , public_key ) and
580- chk_encode (Expect_openssh , openssh_key ) and
576+ (chk_decode (Data_openssh , Expect_openssh , openssh_key ) andalso
577+ chk_decode (Data_ssh2 , Expect_ssh2 , rfc4716_key ) andalso
578+ chk_decode (Data_openssh , Expect_openssh , public_key ) andalso
579+ chk_decode (Data_ssh2 , Expect_ssh2 , public_key ) andalso
580+ chk_encode (Expect_openssh , openssh_key ) andalso
581581 chk_encode (Expect_ssh2 , rfc4716_key )
582582 ).
583583
@@ -702,7 +702,7 @@ ssh_known_hosts(Config) when is_list(Config) ->
702702
703703 Value1 = proplists :get_value (hostnames , Attributes1 , undefined ),
704704 Value2 = proplists :get_value (hostnames , Attributes2 , undefined ),
705- true = ( Value1 =/= undefined ) and ( Value2 =/= undefined ) ,
705+ true = Value1 =/= undefined andalso Value2 =/= undefined ,
706706
707707 Encoded = ssh_file :encode (Decoded , known_hosts ),
708708 Decoded = ssh_file :decode (Encoded , known_hosts ).
@@ -717,7 +717,7 @@ ssh1_known_hosts(Config) when is_list(Config) ->
717717
718718 Value1 = proplists :get_value (hostnames , Attributes1 , undefined ),
719719 Value2 = proplists :get_value (hostnames , Attributes2 , undefined ),
720- true = ( Value1 =/= undefined ) and ( Value2 =/= undefined ) ,
720+ true = Value1 =/= undefined andalso Value2 =/= undefined ,
721721
722722 Comment = " dhopson@VMUbuntu-DSH comment with whitespaces" ,
723723 Comment = proplists :get_value (comment , Attributes3 ),
@@ -761,7 +761,7 @@ ssh1_auth_keys(Config) when is_list(Config) ->
761761
762762 Value1 = proplists :get_value (bits , Attributes2 , undefined ),
763763 Value2 = proplists :get_value (bits , Attributes3 , undefined ),
764- true = ( Value1 =/= undefined ) and ( Value2 =/= undefined ) ,
764+ true = Value1 =/= undefined andalso Value2 =/= undefined ,
765765
766766 Comment2 = Comment3 = " dhopson@VMUbuntu-DSH" ,
767767 Comment4 = Comment5 = " dhopson@VMUbuntu-DSH comment with whitespaces" ,
0 commit comments