summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiswatosh.chakraborty%sun.com <devnull@localhost>2007-10-01 11:55:04 +0000
committerbiswatosh.chakraborty%sun.com <devnull@localhost>2007-10-01 11:55:04 +0000
commitd9da09da6b254ee230a377ef74f99c030837f33c (patch)
tree0e188a87beaff113b9561e663d726a8476848b0b
parent1eaf6fbe663c07fe4cada5c898587894000d97f1 (diff)
downloadnss-hg-d9da09da6b254ee230a377ef74f99c030837f33c.tar.gz
Committing in NSSBranch.
Modified Files: secder.h For Bug Id: 352929 Reviewed by Wan-Teh Chang and Nelson Removed DER_Decode declaration
-rw-r--r--security/nss/lib/util/secder.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/security/nss/lib/util/secder.h b/security/nss/lib/util/secder.h
index 57a53bfb9..ced5dcb59 100644
--- a/security/nss/lib/util/secder.h
+++ b/security/nss/lib/util/secder.h
@@ -59,25 +59,6 @@
SEC_BEGIN_PROTOS
/*
-** Decode a piece of der encoded data.
-** "dest" points to a structure that will be filled in with the
-** decoding results. (NOTE: it should be zeroed before calling;
-** optional/missing fields are not zero-filled by DER_Decode.)
-** "t" is a template structure which defines the shape of the
-** expected data.
-** "src" is the der encoded data.
-** NOTE: substructures of "dest" will be allocated as needed from
-** "arena", but data subfields will point directly into the buffer
-** passed in as src->data. That is, the resulting "dest" structure
-** will contain pointers back into src->data, which must remain
-** active (allocated) and unmodified for as long as "dest" is active.
-** If this is a potential problem, you may want to just dup the buffer
-** (allocated from "arena", probably) and pass *that* in instead.
-*/
-extern SECStatus DER_Decode(PRArenaPool *arena, void *dest, DERTemplate *t,
- SECItem *src);
-
-/*
** Encode a data structure into DER.
** "dest" will be filled in (and memory allocated) to hold the der
** encoded structure in "src"