com php-src: sodium ext: remove redundant and obsolete macros: ext/sodium/php_libsodium.h
| From: | Frank Denis | Date: | Sat, 22 Jul 2017 15:52:11 +0000 |
| Subject: | com php-src: sodium ext: remove redundant and obsolete macros: ext/sodium/php_libsodium.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98719@lists.php.net to get a copy of this message | ||
Commit: c908caf6dfd2f64ee2a72137f1bdb32a73e0e0e0
Author: Frank Denis <github@pureftpd.org> Sat, 22 Jul 2017 17:49:32 +0200
Parents: c264c24805f5b4da65b7709d76a1f1dcd14bedef
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c908caf6dfd2f64ee2a72137f1bdb32a73e0e0e0
Log:
sodium ext: remove redundant and obsolete macros
Changed paths:
M ext/sodium/php_libsodium.h
Diff:
diff --git a/ext/sodium/php_libsodium.h b/ext/sodium/php_libsodium.h
index 241fb3e..af12e27 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 */
/*