[erlang-questions] "Internal Error" compiling RFC 5912 asn1 modules

Christoph Egger christoph@REDACTED
Sun Apr 20 16:36:38 CEST 2014


Hi all!

I'm trying to compile the OCSP module from either RFC5912 or RFC6960
definitions which seems to fail for me:

> Internal error: error:{case_clause,
>                           {type,[],
>                               {'Externaltypereference',62,
>                                   'AlgorithmInformation-2009',
>                                   'DIGEST-ALGORITHM'},
>                               [],[],no}}
> [{asn1ct_check,check_class,2,[{file,"asn1ct_check.erl"},{line,575}]},
>  {asn1ct_check,check_type,3,[{file,"asn1ct_check.erl"},{line,3262}]},
>  {asn1ct_check,check_each_component2,4,
>                [{file,"asn1ct_check.erl"},{line,5734}]},
>  {asn1ct_check,check_sequence,3,[{file,"asn1ct_check.erl"},{line,5174}]},
>  {asn1ct_check,check_type,3,[{file,"asn1ct_check.erl"},{line,3202}]},
>  {asn1ct_check,check_type,3,[{file,"asn1ct_check.erl"},{line,3253}]},
>  {asn1ct_check,check_each_component2,4,
>                [{file,"asn1ct_check.erl"},{line,5734}]},
>  {asn1ct_check,check_sequence,3,[{file,"asn1ct_check.erl"},{line,5174}]}]

Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
but also with R16B3.1

Is that a erlang bug or some broken parts of the asn.1? doesn't seem to
mention anything in the rfc errata at least. if it's the later how would
I debug this?

Thanks

  Christoph



More information about the erlang-questions mailing list