diff options
author | Dan Gudmundsson <[email protected]> | 2014-09-16 12:55:25 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-12 11:40:24 +0100 |
commit | 369aebd67933c8f45cdd5feec360aace190ef019 (patch) | |
tree | b113d26770ab0141c7594384e4f5db3847611585 /lib/asn1/test/testInfObj.erl | |
parent | 33b19f4ed08f84459ed762dbb50ea0cf148ebfd3 (diff) | |
download | otp-369aebd67933c8f45cdd5feec360aace190ef019.tar.gz otp-369aebd67933c8f45cdd5feec360aace190ef019.tar.bz2 otp-369aebd67933c8f45cdd5feec360aace190ef019.zip |
asn1: Fix BER generation for non optional and extended object sets
Object sets with extension mark and without optional fields was not
generated properly. It needs the default [enc|dec]_xxx function clause
for the open type but no other clauses.
Diffstat (limited to 'lib/asn1/test/testInfObj.erl')
-rw-r--r-- | lib/asn1/test/testInfObj.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/asn1/test/testInfObj.erl b/lib/asn1/test/testInfObj.erl index 37c134b1b9..6562207815 100644 --- a/lib/asn1/test/testInfObj.erl +++ b/lib/asn1/test/testInfObj.erl @@ -132,6 +132,8 @@ main(_Erule) -> test_objset('ExOstSeq45', [4,5]), test_objset('ExOstSeq12345', [1,2,3,4,5]), + roundtrip('InfObj', 'ExtClassSeq', {'ExtClassSeq', 4}), + ok. test_objset(Type, Keys) -> |