return retval;
}
+asn1_error_code
+asn1_decode_kdf_alg_id( asn1buf *buf, krb5_octet_data *val)
+{
+ setup();
+ val->data = NULL;
+ { begin_structure();
+ get_lenfield(val->length,val->data,0,asn1_decode_oid);
+ end_structure();
+ }
+ return 0;
+error_out:
+ free(val->data);
+ return retval;
+}
+
+asn1_error_code
+asn1_decode_sequence_of_kdf_alg_id(asn1buf *buf,
+ krb5_octet_data ***val)
+{
+ decode_array_body(krb5_octet_data, asn1_decode_kdf_alg_id_ptr,
+ krb5_free_octet_data);
+}
+
#endif /* DISABLE_PKINIT */
static void free_typed_data(void *dummy, krb5_typed_data *val)
{
decode_ptr(krb5_typed_data *, asn1_decode_typed_data);
}
-
-asn1_error_code
-asn1_decode_kdf_alg_id( asn1buf *buf, krb5_octet_data *val)
-{
- setup();
- val->data = NULL;
- { begin_structure();
- get_lenfield(val->length,val->data,0,asn1_decode_oid);
- end_structure();
- }
- return 0;
-error_out:
- free(val->data);
- return retval;
-}
-
-asn1_error_code
-asn1_decode_sequence_of_kdf_alg_id(asn1buf *buf,
- krb5_octet_data ***val)
-{
- decode_array_body(krb5_octet_data, asn1_decode_kdf_alg_id_ptr,
- krb5_free_octet_data);
-}