We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ab4c9 commit 6de12a5Copy full SHA for 6de12a5
ext/sodium/libsodium.c
@@ -3141,8 +3141,6 @@ PHP_FUNCTION(sodium_crypto_sign_ed25519_pk_to_curve25519)
3141
RETURN_STR(ecdhkey);
3142
}
3143
3144
-#if SODIUM_LIBRARY_VERSION_MAJOR > 7 || \
3145
- (SODIUM_LIBRARY_VERSION_MAJOR == 7 && SODIUM_LIBRARY_VERSION_MINOR >= 6)
3146
PHP_FUNCTION(sodium_compare)
3147
{
3148
char *buf1;
@@ -3164,7 +3162,6 @@ PHP_FUNCTION(sodium_compare)
3164
3162
(const unsigned char *) buf2, (size_t) len1));
3165
3163
3166
3167
-#endif
3168
3169
#ifdef HAVE_AESGCM
3170
PHP_FUNCTION(sodium_crypto_aead_aes256gcm_keygen)
0 commit comments