We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267fcc2 commit 806c790Copy full SHA for 806c790
2 files changed
src/aead.rs
@@ -510,7 +510,6 @@ mod recprot {
510
}
511
512
513
-
514
515
516
#[cfg(not(feature = "blapi"))]
src/freebl.rs
@@ -134,14 +134,14 @@ unsafe extern "C" {
134
// Single-argument destructor wrappers required by scoped_ptr!.
135
unsafe fn destroy_aes_context(cx: *mut AESContext) {
136
unsafe {
137
- AES_DestroyContext(cx, 1 /* PR_TRUE */)
138
- };
+ AES_DestroyContext(cx, 1 /* PR_TRUE */);
+ }
139
140
141
unsafe fn destroy_chacha20_context(ctx: *mut ChaCha20Poly1305Context) {
142
143
- ChaCha20Poly1305_DestroyContext(ctx, 1 /* PR_TRUE */)
144
+ ChaCha20Poly1305_DestroyContext(ctx, 1 /* PR_TRUE */);
145
146
147
scoped_ptr!(AesCtx, AESContext, destroy_aes_context);
0 commit comments