summaryrefslogtreecommitdiff
path: root/lib/defines.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-04 07:47:57 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-04 07:47:57 +0000
commit94b36a2b79c6216cbb502c65f08829be1a5b1989 (patch)
treec3ec781bd94f0218f2c13115bd226671696ee9df /lib/defines.h
parent9a740fdabd18b2b50097023dc72123dcfb8bb28c (diff)
downloadgnutls-94b36a2b79c6216cbb502c65f08829be1a5b1989.tar.gz
* Corrected a bug in 64 bit architectures, which affected the
serial number calculation in the record layer. * Added gnutls_certificate_free_keys() which deletes all the private keys and certificates from the credentials structure.
Diffstat (limited to 'lib/defines.h')
-rw-r--r--lib/defines.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/defines.h b/lib/defines.h
index 17b3add903..8afb31450f 100644
--- a/lib/defines.h
+++ b/lib/defines.h
@@ -96,19 +96,12 @@ typedef signed int sint;
#define SIZEOF_UNSIGNED_LONG_INT SIZEOF_UNSIGNED_LONG
-#if SIZEOF_UNSIGNED_LONG == 8
-# define HAVE_UINT64
-/* only used native uint64 in 64 bit machines */
-typedef unsigned long int uint64;
-#else
/* some systems had problems with long long int, thus,
* it is not used.
*/
typedef struct {
unsigned char i[8];
} uint64;
-#endif
-
#if SIZEOF_UNSIGNED_LONG == 4
typedef unsigned long int uint32;