-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
usize
instead of u8
for sizes in |ring::aead|.
The use of `u8` comes from when the structure had to be binary compatible with BoringSSL's C structure. That's no longer the case. This change allows us to remove the last remaining uses of Rust's dangerous `as` operator.
- Loading branch information
1 parent
5cb9831
commit a8276b2
Showing
2 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters