Skip to content

Commit

Permalink
sodium ext: remove redundant and obsolete macros
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jul 22, 2017
1 parent 4672411 commit 8a2e747
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ext/sodium/php_libsodium.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

/*
Expand Down

0 comments on commit 8a2e747

Please sign in to comment.