summaryrefslogtreecommitdiff
path: root/lib/x509/common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-04 12:52:32 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-04 12:52:32 +0000
commit4b04282504153b2d33ebd039c6422b7f2666f182 (patch)
tree9a8ad39c966b4d03a8b995e0e6081fb0e796c966 /lib/x509/common.h
parentf6c3f96897a61ff9553d73da4643149fba7019fa (diff)
downloadgnutls-4b04282504153b2d33ebd039c6422b7f2666f182.tar.gz
some type fixes. Based on build logs sent by Dimitri Papadopoulos-Orfanos <papadopo@shfj.cea.fr>.
Diffstat (limited to 'lib/x509/common.h')
-rw-r--r--lib/x509/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/common.h b/lib/x509/common.h
index 0eb81c84d9..34d07d9a23 100644
--- a/lib/x509/common.h
+++ b/lib/x509/common.h
@@ -22,7 +22,7 @@ time_t _gnutls_x509_generalTime2gtime(const char *ttime);
int _gnutls_x509_set_time(ASN1_TYPE c2, const char *where, time_t tim);
int _gnutls_x509_oid_data2string( const char* OID, void* value,
- int value_size, char * res, int *res_size);
+ int value_size, char * res, size_t *res_size);
const char* _gnutls_x509_oid2ldap_string( const char* OID);
@@ -55,7 +55,7 @@ int _gnutls_x509_read_value( ASN1_TYPE c, const char* root, gnutls_datum *ret, i
int _gnutls_x509_write_value( ASN1_TYPE c, const char* root, const gnutls_datum* data, int str);
int _gnutls_x509_encode_and_write_attribute( const char* given_oid, ASN1_TYPE asn1_struct,
- const char* where, const unsigned char* data, int sizeof_data, int multi);
+ const char* where, const void* data, int sizeof_data, int multi);
int _gnutls_x509_decode_and_read_attribute(ASN1_TYPE asn1_struct, const char* where,
char* oid, int oid_size, gnutls_datum* value, int multi);