From 2535bd58f38a3c0f5ddb38ffefbfbbf671da3ce7 Mon Sep 17 00:00:00 2001
From: Lev Walkin <vlm@lionet.info>
Date: Sun, 27 Aug 2017 23:45:56 -0700
Subject: [PATCH] verified OCTET STRING OER operation

---
 skeletons/OCTET_STRING.c     | 4 ++--
 skeletons/OCTET_STRING_oer.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/skeletons/OCTET_STRING.c b/skeletons/OCTET_STRING.c
index 2c58cb4b..9d6bc9f6 100644
--- a/skeletons/OCTET_STRING.c
+++ b/skeletons/OCTET_STRING.c
@@ -37,8 +37,8 @@ asn_TYPE_operation_t asn_OP_OCTET_STRING = {
 	0,
 	0,
 #else
-	0,
-	0,
+	OCTET_STRING_decode_oer,
+	OCTET_STRING_encode_oer,
 #endif  /* ASN_DISABLE_OER_SUPPORT */
 #ifdef	ASN_DISABLE_PER_SUPPORT
 	0,
diff --git a/skeletons/OCTET_STRING_oer.c b/skeletons/OCTET_STRING_oer.c
index 8df3356a..9e6c2aa8 100644
--- a/skeletons/OCTET_STRING_oer.c
+++ b/skeletons/OCTET_STRING_oer.c
@@ -17,7 +17,7 @@ OCTET_STRING_decode_oer(asn_codec_ctx_t *opt_codec_ctx,
     asn_OCTET_STRING_specifics_t *specs =
         td->specifics
             ? (asn_OCTET_STRING_specifics_t *)td->specifics
-            : (asn_OCTET_STRING_specifics_t *)&asn_DEF_OCTET_STRING.specifics;
+            : (asn_OCTET_STRING_specifics_t *)&asn_SPC_OCTET_STRING_specs;
     OCTET_STRING_t *st = (OCTET_STRING_t *)*sptr;
     const asn_oer_constraints_t *cts =
         constraints ? constraints : td->oer_constraints;
@@ -107,7 +107,7 @@ OCTET_STRING_encode_oer(asn_TYPE_descriptor_t *td,
     asn_OCTET_STRING_specifics_t *specs =
         td->specifics
             ? (asn_OCTET_STRING_specifics_t *)td->specifics
-            : (asn_OCTET_STRING_specifics_t *)&asn_DEF_OCTET_STRING.specifics;
+            : (asn_OCTET_STRING_specifics_t *)&asn_SPC_OCTET_STRING_specs;
     OCTET_STRING_t *st = (OCTET_STRING_t *)sptr;
     const asn_oer_constraints_t *cts =
         constraints ? constraints : td->oer_constraints;
-- 
2.26.2