diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-15 16:02:29 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-21 01:05:59 +0100 |
commit | 37c8eaecbdaebc62aa4c2e8671fb366d20f9bbe8 (patch) | |
tree | 97b62330682aa8a6912d8413088addbf52579c67 /lib/gnutls_pk.c | |
parent | 99ad4c6b2ab76d386be76daed0c509e62d6334c7 (diff) | |
download | gnutls-37c8eaecbdaebc62aa4c2e8671fb366d20f9bbe8.tar.gz |
Fixed signed/unsigned warnings.
Dropped opaque type (replaced with uint8_t)
Diffstat (limited to 'lib/gnutls_pk.c')
-rw-r--r-- | lib/gnutls_pk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c index 3529c1d203..ef544c1321 100644 --- a/lib/gnutls_pk.c +++ b/lib/gnutls_pk.c @@ -47,7 +47,7 @@ _gnutls_pkcs1_rsa_encrypt (gnutls_datum_t * ciphertext, { unsigned int i, pad; int ret; - opaque *edata, *ps; + uint8_t *edata, *ps; size_t k, psize; size_t mod_bits; gnutls_datum_t to_encrypt, encrypted; @@ -447,7 +447,7 @@ _gnutls_decode_ber_rs (const gnutls_datum_t * sig_value, bigint_t * r, int _gnutls_pk_params_copy (gnutls_pk_params_st * dst, const gnutls_pk_params_st * src) { - int i, j; + unsigned int i, j; dst->params_nr = 0; if (src == NULL || src->params_nr == 0) |