]> granicus.if.org Git - php/commitdiff
sodium ext: remove redundant and obsolete macros
authorFrank Denis <github@pureftpd.org>
Sat, 22 Jul 2017 15:49:32 +0000 (17:49 +0200)
committerFrank Denis <github@pureftpd.org>
Sat, 22 Jul 2017 15:50:22 +0000 (17:50 +0200)
ext/sodium/php_libsodium.h

index 241fb3eb9335cd8fd5e8ba7de6390bcd49c5ed36..af12e27c560463681c3ff2c3145fe3e1e43d2dab 100644 (file)
@@ -109,10 +109,6 @@ PHP_FUNCTION(sodium_increment);
 PHP_FUNCTION(sodium_memcmp);
 PHP_FUNCTION(sodium_memzero);
 
-#define crypto_kx_BYTES crypto_scalarmult_BYTES
-#define crypto_kx_PUBLICKEYBYTES crypto_scalarmult_SCALARBYTES
-#define crypto_kx_SECRETKEYBYTES crypto_scalarmult_SCALARBYTES
-
 #endif /* PHP_LIBSODIUM_H */
 
 /*