File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,9 @@ impl CipherCtxRef {
581
581
/// output size check removed. It can be used when the exact
582
582
/// buffer size control is maintained by the caller.
583
583
///
584
- /// SAFETY: The caller is expected to provide `output` buffer
584
+ /// # Safety
585
+ ///
586
+ /// The caller is expected to provide `output` buffer
585
587
/// large enough to contain correct number of bytes. For streaming
586
588
/// ciphers the output buffer size should be at least as big as
587
589
/// the input buffer. For block ciphers the size of the output
@@ -693,7 +695,9 @@ impl CipherCtxRef {
693
695
/// This function is the same as [`Self::cipher_final`] but with
694
696
/// the output buffer size check removed.
695
697
///
696
- /// SAFETY: The caller is expected to provide `output` buffer
698
+ /// # Safety
699
+ ///
700
+ /// The caller is expected to provide `output` buffer
697
701
/// large enough to contain correct number of bytes. For streaming
698
702
/// ciphers the output buffer can be empty, for block ciphers the
699
703
/// output buffer should be at least as big as the block.
Original file line number Diff line number Diff line change 119
119
//! ```
120
120
#![ doc( html_root_url = "https://docs.rs/openssl/0.10" ) ]
121
121
#![ warn( rust_2018_idioms) ]
122
- #![ allow( clippy:: uninlined_format_args) ]
122
+ #![ allow( clippy:: uninlined_format_args, clippy :: needless_doctest_main ) ]
123
123
124
124
#[ doc( inline) ]
125
125
pub use ffi:: init;
You can’t perform that action at this time.
0 commit comments