Hello !<br>
<br>Here is another patch for Erlang asn1 library -> UPER<br>
<div class="im"><br>
The UPER encoding function for OCTETSTRING doesn't accept binaries in argument.<br>It's strange because<br> * BER function accept them<br>
</div><div class="im"> * The encoding function of UPER transforms the list passed in argument in a binary.<br>
</div> * it would be needlessly wastefull to wrap our data inside a list when it is already a binary<br>So it should directly accept binaries in argument too.<br>
<br>.diff file attached is a patch which adds this functionality.<br>It just modifies encode_octet_string function in<br>
* asn1rt_uper_bin.erl<br>
<br> There is the same problem with APER (files asn1rt_per_bin.erl and asn1rt_per_bin_rt2ct.erl)<br> but it would take too much time to change it because it's more complicated in these files.<br>
<br>Best regards,<br>Aude.<br>