dbm/include/Makefile.in
author chrisk%netscape.com
Tue, 20 Jun 2000 13:24:01 +0000
changeset 381 d748e5f9526290f415abb5815391bde83c5b45f8
parent 174 5997831da35e43b29b7482aa25edb7fcbc47ca14
child 6134 6371fb54bcc20c15c6075db70f6ba64511c9b3ca
permissions -rw-r--r--
Fix bug in decoder: When encoding indefinitely & encountering an optional field at the end of a sequence, right after an IMPLICIT or POINTER template, the decoder was not propagating the optionalness and the end-of-contents condition correctly as it hits the end-of-contents octets instead of the optional field. This is because IMPLICIT and POINTER push TWO states to look for the next tag, not just one. (The first state is "afterImplicit" or "afterPointer", the second one starts with "beforeIdentifier" as usual). This finally makes decoding envelopedData messages in cmsutil work.

#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation.  Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): 
#

DEPTH		= ../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= dbm

EXPORTS		= \
		nsres.h \
		cdefs.h \
		mcom_db.h \
		ncompat.h \
		winfile.h \
		$(NULL)

EXPORTS		:= $(addprefix $(srcdir)/, $(EXPORTS))

PRIVATE_EXPORTS	= \
		hsearch.h \
		page.h \
		extern.h \
		ndbm.h \
		queue.h \
		hash.h \
		mpool.h \
		search.h \
		$(NULL)

PRIVATE_EXPORTS	:= $(addprefix $(srcdir)/, $(PRIVATE_EXPORTS))

include $(topsrcdir)/config/rules.mk