Skip to content

Commit

Permalink
ext/sodium: fix funky indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 2, 2017
1 parent 7fc396c commit 40ab4c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ext/sodium/libsodium.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 40ab4c9

Please sign in to comment.