librasn / rasn

A Safe #[no_std] ASN.1 Codec Framework
Other
183 stars 43 forks source link

Fix ldap::UnbindRequest encoding/decoding #226

Closed michaldrabina closed 3 months ago

michaldrabina commented 4 months ago

This is an attempt to fix #225.

I've picked up rust 2 days ago, so there might be better ways to go about this.

I've thought about using #[rasn(delegate)], but that might break existing code, since the struct would have to contain the Null field. This seemed like a better approach, since it's a bit of an outlier among the operations.