diff options
Diffstat (limited to 'lib/asn1/src/asn1rtt_ext.erl')
-rw-r--r-- | lib/asn1/src/asn1rtt_ext.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1rtt_ext.erl b/lib/asn1/src/asn1rtt_ext.erl index 59dbcc16bd..7510b01f17 100644 --- a/lib/asn1/src/asn1rtt_ext.erl +++ b/lib/asn1/src/asn1rtt_ext.erl @@ -62,8 +62,11 @@ transform_to_EXTERNAL1994({'EXTERNAL',DRef,IndRef,Data_v_desc,Encoding}=V) -> {'EXTERNAL_identification_context-negotiation',IndRef,DRef}} end, case Encoding of - {_,Val} when is_list(Val); is_binary(Val) -> + {'octet-aligned',Val} when is_list(Val); is_binary(Val) -> + %% Transform to the EXTERNAL 1994 definition. {'EXTERNAL',Identification,Data_v_desc,Val}; _ -> + %% Keep the EXTERNAL 1990 definition to avoid losing + %% information. V end. |