summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/asn1.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/crypto/asn1.c b/src/crypto/asn1.c
index aca12bf3..9c71ffe1 100644
--- a/src/crypto/asn1.c
+++ b/src/crypto/asn1.c
@@ -82,18 +82,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
__einfo_uniqify ( EINFO_ENOTTY, 0x01, "Inappropriate algorithm" )
/**
- * Invalidate ASN.1 object cursor
- *
- * @v cursor ASN.1 object cursor
- */
-void asn1_invalidate_cursor ( struct asn1_cursor *cursor ) {
- static uint8_t asn1_invalid_object[] = { ASN1_END, 0 };
-
- cursor->data = asn1_invalid_object;
- cursor->len = 0;
-}
-
-/**
* Start parsing ASN.1 object
*
* @v cursor ASN.1 object cursor