Skip to content

Commit

Permalink
Use correct conditional to guard load
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Apr 14, 2021
1 parent 6c00282 commit 93f84d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/php72compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ function sodium_crypto_stream_xchacha20_keygen()
return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_keygen();
}
}
if (!is_callable('sodium_crypto_stream_xor')) {
if (!is_callable('sodium_crypto_stream_xchacha20_xor')) {
/**
* @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor()
* @param string $message
Expand Down

0 comments on commit 93f84d9

Please sign in to comment.