updated comment

This commit is contained in:
mamoniot 2022-12-15 11:52:08 -05:00
parent fcd628c533
commit b58858a343

View file

@ -60,7 +60,7 @@ pub enum Error {
/// Data object is too large to send, even with fragmentation
DataTooLarge,
/// An unexpected buffer overrun occured while attempting to encode or decode a packet, this can only ever happen if exceptionally large keys are being used (which under p384 would imply there is a bug and potentially an attacker has control of a field they shouldn't), or as the result of an internal encoding bug.
/// An unexpected buffer overrun occured while attempting to encode or decode a packet, this can only ever happen if exceptionally large key blobs or metadata are being used, or as the result of an internal encoding bug.
UnexpectedBufferOverrun,
}