diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-10-08 17:09:58 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-10-08 17:09:58 +0200 |
commit | 0d91e8fb205e94169687f44bb338d3812dae372a (patch) | |
tree | 59ed59f6c55a35eec707ebd77d0e0fab7264ee17 /lib/gnutls_pk.c | |
parent | ce23654ab3b8097241c1639ebe3e853c4f67b6d7 (diff) | |
download | gnutls-0d91e8fb205e94169687f44bb338d3812dae372a.tar.gz |
Indent.
Diffstat (limited to 'lib/gnutls_pk.c')
-rw-r--r-- | lib/gnutls_pk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c index c6a27a503b..c71ada6f20 100644 --- a/lib/gnutls_pk.c +++ b/lib/gnutls_pk.c @@ -55,7 +55,7 @@ _gnutls_pkcs1_rsa_encrypt (gnutls_datum_t * ciphertext, gnutls_pk_params_st pk_params; gnutls_datum to_encrypt, encrypted; - for (i=0;i<params_len;i++) + for (i = 0; i < params_len; i++) pk_params.params[i] = params[i]; pk_params.params_nr = params_len; @@ -215,7 +215,7 @@ _gnutls_pkcs1_rsa_decrypt (gnutls_datum_t * plaintext, size_t esize, mod_bits; gnutls_pk_params_st pk_params; - for (i=0;i<params_len;i++) + for (i = 0; i < params_len; i++) pk_params.params[i] = params[i]; pk_params.params_nr = params_len; @@ -415,7 +415,7 @@ _gnutls_dsa_sign (gnutls_datum_t * signature, size_t k; gnutls_pk_params_st pk_params; - for (i=0;i<params_len;i++) + for (i = 0; i < params_len; i++) pk_params.params[i] = params[i]; pk_params.params_nr = params_len; @@ -497,7 +497,7 @@ _gnutls_dsa_verify (const gnutls_datum_t * vdata, int ret, i; gnutls_pk_params_st pk_params; - for (i=0;i<params_len;i++) + for (i = 0; i < params_len; i++) pk_params.params[i] = params[i]; pk_params.params_nr = params_len; @@ -535,7 +535,7 @@ _generate_params (int algo, bigint_t * resarr, unsigned int *resarr_len, gnutls_assert (); return ret; } - + if (resarr && resarr_len && *resarr_len >= params.params_nr) { *resarr_len = params.params_nr; |