You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure if this is intended, but I can't figure out any use case where this is correct. The current implementation is an issue when the output buffer does need to be oversized because e.g. padding to block size is added, and some code checks for this oversized attribute using the mentioned method.
You can work around this issue by writing
buf.get_out().len();
instead of
buf.get_out_len();
but this is obviously less ergonomic.
The text was updated successfully, but these errors were encountered:
Specifically this piece of code here:
utils/inout/src/reserved.rs
Lines 93 to 95 in 9d92d5e
I'm unsure if this is intended, but I can't figure out any use case where this is correct. The current implementation is an issue when the output buffer does need to be oversized because e.g. padding to block size is added, and some code checks for this oversized attribute using the mentioned method.
You can work around this issue by writing
instead of
but this is obviously less ergonomic.
The text was updated successfully, but these errors were encountered: