aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testContextSwitchingTypes.erl
diff options
context:
space:
mode:
authorKenneth Lundin <[email protected]>2011-05-19 17:59:41 +0200
committerKenneth Lundin <[email protected]>2011-05-19 17:59:41 +0200
commit38a2271e2474c83ffbc6ed6a3f601cf873cb1699 (patch)
tree851df39509cf712d548157b780671df33f1dec2d /lib/asn1/test/testContextSwitchingTypes.erl
parentc666fa93b12399a0160b6bfedf002eacbc2f01e2 (diff)
downloadotp-38a2271e2474c83ffbc6ed6a3f601cf873cb1699.tar.gz
otp-38a2271e2474c83ffbc6ed6a3f601cf873cb1699.tar.bz2
otp-38a2271e2474c83ffbc6ed6a3f601cf873cb1699.zip
Corrected handling of long length in driver and updated test suites
Diffstat (limited to 'lib/asn1/test/testContextSwitchingTypes.erl')
-rw-r--r--lib/asn1/test/testContextSwitchingTypes.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/test/testContextSwitchingTypes.erl b/lib/asn1/test/testContextSwitchingTypes.erl
index 260a016c6c..7d05e5c352 100644
--- a/lib/asn1/test/testContextSwitchingTypes.erl
+++ b/lib/asn1/test/testContextSwitchingTypes.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2001-2010. All Rights Reserved.
+%% Copyright Ericsson AB 2001-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -77,7 +77,7 @@ check_EXTERNAL_DVD(asn1_NOVALUE) ->
ok;
check_EXTERNAL_DVD(DVD) ->
{error,"failed on data-value-descriptor alternative",DVD}.
-check_EXTERNAL_DV(DV) when is_list(DV) ->
+check_EXTERNAL_DV(DV) when is_list(DV);is_binary(DV) ->
ok;
check_EXTERNAL_DV(DV) ->
{error,"failed on data-value alternative",DV}.