ldap-client/src/Ldap
Andrea Bedini 824b44ac22
Decode responses with Asn1.BER not Asn1.DER
According to RFC 4511 section 5.1:

The protocol elements of LDAP SHALL be encoded for exchange using the
Basic Encoding Rules [BER] of [ASN.1] with the following restrictions
[...]

The library does not have much choice except accepting everything the
server throws at it, therefore it makes sense using the more lax BER
encoding to parse server responses.

Using DER is still ok for the encoding part since DER is still a subset
of BER, and anything accepting BER will accept DER too.
2017-07-04 09:32:07 +08:00
..
Asn1 Refactoring. 2017-02-27 21:19:29 +00:00
Client Refactoring. 2017-02-27 21:19:29 +00:00
Client.hs Decode responses with Asn1.BER not Asn1.DER 2017-07-04 09:32:07 +08:00