summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-02-23 14:38:50 +0000
committerSimon Josefsson <simon@josefsson.org>2006-02-23 14:38:50 +0000
commite7f4a31e0a4da050f2a4ff282e4832412a5d4f00 (patch)
tree51328c13075a8457e8f005a3ab225e051eb96235
parente848d50225e222e158fd3a15b316fdad30a6b9f7 (diff)
downloadlibtasn1-e7f4a31e0a4da050f2a4ff282e4832412a5d4f00.tar.gz
libtasn1-e7f4a31e0a4da050f2a4ff282e4832412a5d4f00.tar.bz2
libtasn1-e7f4a31e0a4da050f2a4ff282e4832412a5d4f00.zip
Remove der.h.
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/coding.c3
-rw-r--r--lib/decoding.c1
-rw-r--r--lib/der.h39
-rw-r--r--lib/element.c1
-rw-r--r--lib/parser_aux.c1
-rw-r--r--lib/structure.c1
7 files changed, 2 insertions, 46 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f44be73..591b949 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -34,7 +34,7 @@ pkgconfig_DATA = libtasn1.pc
lib_LTLIBRARIES = libtasn1.la
-libtasn1_la_SOURCES = libtasn1.h der.h mem.h gstr.h errors.h defines.h \
+libtasn1_la_SOURCES = libtasn1.h mem.h gstr.h errors.h defines.h \
int.h parser_aux.h structure.h element.h ASN1.y decoding.c \
gstr.c errors.c parser_aux.c structure.c element.c coding.c \
libtasn1.vers
diff --git a/lib/coding.c b/lib/coding.c
index 6f15712..45eda07 100644
--- a/lib/coding.c
+++ b/lib/coding.c
@@ -26,10 +26,9 @@
/* Description: Functions to create a DER coding of */
/* an ASN1 type. */
/*****************************************************/
-
+
#include <int.h>
#include <errors.h>
-#include "der.h"
#include "parser_aux.h"
#include <gstr.h>
#include "element.h"
diff --git a/lib/decoding.c b/lib/decoding.c
index bbabc4a..ce06aba 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -28,7 +28,6 @@
#include <int.h>
#include <errors.h>
-#include "der.h"
#include "parser_aux.h"
#include <gstr.h>
#include "structure.h"
diff --git a/lib/der.h b/lib/der.h
deleted file mode 100644
index 38c0535..0000000
--- a/lib/der.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2006 Free Software Foundation
- * Copyright (C) 2002 Fabio Fiorina
- *
- * This file is part of LIBTASN1.
- *
- * LIBTASN1 is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * LIBTASN1 is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with LIBTASN1; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA
- *
- */
-
-/*************************************************/
-/* 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
-
-#endif /* _DER_H */
diff --git a/lib/element.c b/lib/element.c
index 75eb269..6ec30d0 100644
--- a/lib/element.c
+++ b/lib/element.c
@@ -30,7 +30,6 @@
#include <int.h>
#include <errors.h>
#include "parser_aux.h"
-#include "der.h"
#include <gstr.h>
#include "structure.h"
diff --git a/lib/parser_aux.c b/lib/parser_aux.c
index 6267fae..7557623 100644
--- a/lib/parser_aux.c
+++ b/lib/parser_aux.c
@@ -23,7 +23,6 @@
#include <int.h>
#include <errors.h>
#include "parser_aux.h"
-#include "der.h"
#include "gstr.h"
#include "structure.h"
#include "element.h"
diff --git a/lib/structure.c b/lib/structure.c
index 8f94899..0df57e0 100644
--- a/lib/structure.c
+++ b/lib/structure.c
@@ -32,7 +32,6 @@
#include <errors.h>
#include <structure.h>
#include "parser_aux.h"
-#include "der.h"
#include <gstr.h>