summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-03-13 09:13:27 +0000
committerSimon Josefsson <simon@josefsson.org>2006-03-13 09:13:27 +0000
commit6daefe178c1cb058a0a9a250b1d919230606a936 (patch)
tree5a056f262bb85c3f070aeada608b6afdb0059426
parent2295c26ee6c585c898260ed1eda1b95e5af84402 (diff)
downloadgnutls-6daefe178c1cb058a0a9a250b1d919230606a936.tar.gz
Remove.
-rw-r--r--lib/minitasn1/Makefile.am6
-rw-r--r--lib/minitasn1/der.h57
-rw-r--r--lib/minitasn1/errors_int.h22
3 files changed, 3 insertions, 82 deletions
diff --git a/lib/minitasn1/Makefile.am b/lib/minitasn1/Makefile.am
index dc7a31e432..ecc51372ba 100644
--- a/lib/minitasn1/Makefile.am
+++ b/lib/minitasn1/Makefile.am
@@ -2,8 +2,8 @@ INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../../gl
noinst_LTLIBRARIES = libminitasn1.la
-libminitasn1_la_SOURCES = libtasn1.h der.h mem.h gstr.h errors.h int.h \
- parser_aux.h structure.h errors_int.h element.h decoding.c \
- gstr.c errors.c parser_aux.c structure.c element.c coding.c
+libminitasn1_la_SOURCES = libtasn1.h mem.h gstr.h errors.h int.h \
+ parser_aux.h structure.h element.h decoding.c gstr.c errors.c \
+ parser_aux.c structure.c element.c coding.c
EXTRA_DIST = README
diff --git a/lib/minitasn1/der.h b/lib/minitasn1/der.h
deleted file mode 100644
index 543e70ce23..0000000000
--- a/lib/minitasn1/der.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************/
-/* File: der.h */
-/* Description: list of definitions and exported */
-/* objects by coding.c and decoding.c */
-/*************************************************/
-
-#ifndef _DER_H
-#define _DER_H
-
-
-#define UNIVERSAL 0x00
-#define APPLICATION 0x40
-#define CONTEXT_SPECIFIC 0x80
-#define PRIVATE 0xC0
-#define STRUCTURED 0x20
-
-
-#define TAG_BOOLEAN 0x01
-#define TAG_INTEGER 0x02
-#define TAG_SEQUENCE 0x10
-#define TAG_SET 0x11
-#define TAG_OCTET_STRING 0x04
-#define TAG_BIT_STRING 0x03
-#define TAG_UTCTime 0x17
-#define TAG_GENERALIZEDTime 0x18
-#define TAG_OBJECT_ID 0x06
-#define TAG_ENUMERATED 0x0A
-#define TAG_NULL 0x05
-#define TAG_GENERALSTRING 0x1B
-
-int _asn1_get_tag_der(const unsigned char *der, int der_len,
- unsigned char *class,int *len, unsigned long *tag);
-
-void _asn1_octet_der(const unsigned char *str,int str_len,
- unsigned char *der,int *der_len);
-
-asn1_retCode _asn1_get_octet_der(const unsigned char *der, int der_len,
- int *ret_len,unsigned char *str,int str_size, int *str_len);
-
-void _asn1_bit_der(const unsigned char *str,int bit_len,
- unsigned char *der,int *der_len);
-
-asn1_retCode _asn1_get_bit_der(const unsigned char *der, int der_len,
- int *ret_len,unsigned char *str, int str_size,
- int *bit_len);
-
-signed long _asn1_get_length_der(const unsigned char *der,int der_len, int *len);
-
-void _asn1_length_der(unsigned long len,unsigned char *ans,int *ans_len);
-
-
-#endif
-
-
-
-
-
diff --git a/lib/minitasn1/errors_int.h b/lib/minitasn1/errors_int.h
deleted file mode 100644
index 14f6265b88..0000000000
--- a/lib/minitasn1/errors_int.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* libtasn1 error codes. The mapping to a TLS alert is also shown in
- * comments.
- */
-
-#define ASN1_SUCCESS 0
-#define ASN1_FILE_NOT_FOUND 1
-#define ASN1_ELEMENT_NOT_FOUND 2
-#define ASN1_IDENTIFIER_NOT_FOUND 3
-#define ASN1_DER_ERROR 4
-#define ASN1_VALUE_NOT_FOUND 5
-#define ASN1_GENERIC_ERROR 6
-#define ASN1_VALUE_NOT_VALID 7
-#define ASN1_TAG_ERROR 8
-#define ASN1_TAG_IMPLICIT 9
-#define ASN1_ERROR_TYPE_ANY 10
-#define ASN1_SYNTAX_ERROR 11
-#define ASN1_MEM_ERROR 12
-#define ASN1_MEM_ALLOC_ERROR 13
-#define ASN1_DER_OVERFLOW 14
-#define ASN1_NAME_TOO_LONG 15
-#define ASN1_ARRAY_ERROR 16
-#define ASN1_ELEMENT_NOT_EMPTY 17