summaryrefslogtreecommitdiff
path: root/ext/sodium
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2017-10-02 22:22:22 +0200
committerFrank Denis <github@pureftpd.org>2017-10-02 22:22:22 +0200
commit40ab4c9d4ed4ed4370b0681f80258314d81cde8e (patch)
treed7521f94f0d3394a0f1ad7961cf664dd6e470b72 /ext/sodium
parent7fc396c15d33c50599a593ee8be5c40290f864b8 (diff)
downloadphp-git-40ab4c9d4ed4ed4370b0681f80258314d81cde8e.tar.gz
ext/sodium: fix funky indentation
Diffstat (limited to 'ext/sodium')
-rw-r--r--ext/sodium/libsodium.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/sodium/libsodium.c b/ext/sodium/libsodium.c
index b5610520d9..0051b8e7cc 100644
--- a/ext/sodium/libsodium.c
+++ b/ext/sodium/libsodium.c
@@ -2823,7 +2823,7 @@ PHP_FUNCTION(sodium_crypto_kx_seed_keypair)
unsigned char *sk;
unsigned char *pk;
unsigned char *seed;
- size_t seed_len;
+ size_t seed_len;
zend_string *keypair;
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s",
@@ -2874,7 +2874,7 @@ PHP_FUNCTION(sodium_crypto_kx_secretkey)
{
zend_string *secretkey;
unsigned char *keypair;
- size_t keypair_len;
+ size_t keypair_len;
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s",
&keypair, &keypair_len) == FAILURE) {
@@ -2899,7 +2899,7 @@ PHP_FUNCTION(sodium_crypto_kx_publickey)
{
zend_string *publickey;
unsigned char *keypair;
- size_t keypair_len;
+ size_t keypair_len;
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s",
&keypair, &keypair_len) == FAILURE) {
@@ -2930,8 +2930,8 @@ PHP_FUNCTION(sodium_crypto_kx_client_session_keys)
unsigned char *client_pk;
unsigned char *server_pk;
unsigned char session_keys[2 * crypto_kx_SESSIONKEYBYTES];
- size_t keypair_len;
- size_t server_pk_len;
+ size_t keypair_len;
+ size_t server_pk_len;
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "ss",
&keypair, &keypair_len,
@@ -2980,8 +2980,8 @@ PHP_FUNCTION(sodium_crypto_kx_server_session_keys)
unsigned char *server_pk;
unsigned char *client_pk;
unsigned char session_keys[2 * crypto_kx_SESSIONKEYBYTES];
- size_t keypair_len;
- size_t client_pk_len;
+ size_t keypair_len;
+ size_t client_pk_len;
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "ss",
&keypair, &keypair_len,