Skip to content

Commit 85ff5ed

Browse files
committed
Fix an incorrect comparison in crypto/sbox
1 parent f4adc25 commit 85ff5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/crypto/sbox.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ cdef class SBox(SageObject):
252252
raise NotImplemented
253253

254254
cdef SBox other = <SBox> rhs
255-
return (self._S_list == other._S_list) and (self._big_endian == self._big_endian)
255+
return (self._S_list == other._S_list) and (self._big_endian == other._big_endian)
256256

257257
def __ne__(self, other):
258258
"""

0 commit comments

Comments
 (0)