Skip to content

Commit 664a334

Browse files
Remove unused code and unnecessary else branches
1 parent 939577d commit 664a334

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Transport/Smtp/Auth/CramMd5Authenticator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ private function getResponse(#[\SensitiveParameter] string $secret, string $chal
5858
$kopad = substr($secret, 0, 64) ^ str_repeat(\chr(0x5C), 64);
5959

6060
$inner = pack('H32', md5($kipad.$challenge));
61-
$digest = md5($kopad.$inner);
6261

63-
return $digest;
62+
return md5($kopad.$inner);
6463
}
6564
}

0 commit comments

Comments
 (0)