summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-16 20:48:36 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-16 21:27:24 +0200
commitac0f6c3e7efa242a4ccd0e55e0edbce283c97441 (patch)
treeec86c19c3b9846dd702c99f63d351d5d7a9be327
parenta501b7d37dda50953077b3e7083e6ec3be1157cc (diff)
downloadgnutls-ac0f6c3e7efa242a4ccd0e55e0edbce283c97441.tar.gz
removed old libtasn1 requirements
-rw-r--r--lib/x509/mpi.c3
-rw-r--r--lib/x509/x509_int.h8
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/x509/mpi.c b/lib/x509/mpi.c
index baef1ee89f..c9d3058932 100644
--- a/lib/x509/mpi.c
+++ b/lib/x509/mpi.c
@@ -229,9 +229,6 @@ _gnutls_x509_write_sig_params (ASN1_TYPE dst, const char *dst_name,
return 0;
}
-
-
-
/* this function reads a (small) unsigned integer
* from asn1 structs. Combines the read and the convertion
* steps.
diff --git a/lib/x509/x509_int.h b/lib/x509/x509_int.h
index 3cc18e4bb0..1173f95816 100644
--- a/lib/x509/x509_int.h
+++ b/lib/x509/x509_int.h
@@ -28,14 +28,6 @@
#include <libtasn1.h>
-/* Remove these when we require libtasn1 v1.6 or later. */
-#ifndef ASN1_MAX_NAME_SIZE
-#define ASN1_MAX_NAME_SIZE MAX_NAME_SIZE
-#endif
-#ifndef ASN1_MAX_ERROR_DESCRIPTION_SIZE
-#define ASN1_MAX_ERROR_DESCRIPTION_SIZE MAX_ERROR_DESCRIPTION_SIZE
-#endif
-
#define MAX_CRQ_EXTENSIONS_SIZE 8*1024
#define MAX_OID_SIZE 128