diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-08 14:08:03 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-08 14:08:03 +0000 |
commit | 5472db878d486c6a9d61533984bb07d310efed94 (patch) | |
tree | 0efdc181fcaf58edb892f1b1f99e4e3f5d721b7d /includes/gnutls | |
parent | b419663a6ba93b2232e1ac83fd8553270c6eda4d (diff) | |
download | gnutls-5472db878d486c6a9d61533984bb07d310efed94.tar.gz |
Some changes in types.
Diffstat (limited to 'includes/gnutls')
-rw-r--r-- | includes/gnutls/openpgp.h | 2 | ||||
-rw-r--r-- | includes/gnutls/x509.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/gnutls/openpgp.h b/includes/gnutls/openpgp.h index a2bef1483e..902183839a 100644 --- a/includes/gnutls/openpgp.h +++ b/includes/gnutls/openpgp.h @@ -51,7 +51,7 @@ int gnutls_openpgp_key_get_name( gnutls_openpgp_key key, int idx, char *buf, size_t *sizeof_buf); int gnutls_openpgp_key_get_pk_algorithm(gnutls_openpgp_key key, - int *r_bits); + unsigned int *r_bits); int gnutls_openpgp_key_get_version( gnutls_openpgp_key key ); diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h index 416af91470..fc9ecd7080 100644 --- a/includes/gnutls/x509.h +++ b/includes/gnutls/x509.h @@ -74,7 +74,7 @@ time_t gnutls_x509_crt_get_activation_time(gnutls_x509_crt cert); time_t gnutls_x509_crt_get_expiration_time(gnutls_x509_crt cert); int gnutls_x509_crt_get_serial(gnutls_x509_crt cert, char* result, size_t* result_size); -int gnutls_x509_crt_get_pk_algorithm( gnutls_x509_crt cert, int* bits); +int gnutls_x509_crt_get_pk_algorithm( gnutls_x509_crt cert, unsigned int* bits); int gnutls_x509_crt_get_subject_alt_name(gnutls_x509_crt cert, int seq, char *ret, size_t *ret_size, unsigned int* critical); int gnutls_x509_crt_get_ca_status(gnutls_x509_crt cert, unsigned int* critical); @@ -235,7 +235,7 @@ int gnutls_x509_privkey_get_key_id( gnutls_x509_privkey key, unsigned int flags, unsigned char* output_data, size_t* output_data_size); int gnutls_x509_privkey_generate( gnutls_x509_privkey key, gnutls_pk_algorithm algo, - int bits, unsigned int flags); + unsigned int bits, unsigned int flags); int gnutls_x509_privkey_export( gnutls_x509_privkey key, gnutls_x509_crt_fmt format, unsigned char* output_data, size_t* output_data_size); |