summaryrefslogtreecommitdiff
path: root/ext/sodium/php_libsodium.h
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2017-07-22 17:49:32 +0200
committerFrank Denis <github@pureftpd.org>2017-07-22 17:50:22 +0200
commit8a2e747a7b8cac880e0aa9635e0f70ce222f3c21 (patch)
tree56c88e3e5dd18340fcb5a61a478e118203b518ee /ext/sodium/php_libsodium.h
parent4672411ef5f600b6e64e92098b98708351a65535 (diff)
downloadphp-git-8a2e747a7b8cac880e0aa9635e0f70ce222f3c21.tar.gz
sodium ext: remove redundant and obsolete macros
Diffstat (limited to 'ext/sodium/php_libsodium.h')
-rw-r--r--ext/sodium/php_libsodium.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/sodium/php_libsodium.h b/ext/sodium/php_libsodium.h
index 241fb3eb93..af12e27c56 100644
--- a/ext/sodium/php_libsodium.h
+++ b/ext/sodium/php_libsodium.h
@@ -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 */
/*