Skip to content

Commit 806c790

Browse files
committed
Fix
1 parent 267fcc2 commit 806c790

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/aead.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ mod recprot {
510510
}
511511
}
512512
}
513-
514513
}
515514

516515
#[cfg(not(feature = "blapi"))]

src/freebl.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,14 @@ unsafe extern "C" {
134134
// Single-argument destructor wrappers required by scoped_ptr!.
135135
unsafe fn destroy_aes_context(cx: *mut AESContext) {
136136
unsafe {
137-
AES_DestroyContext(cx, 1 /* PR_TRUE */)
138-
};
137+
AES_DestroyContext(cx, 1 /* PR_TRUE */);
138+
}
139139
}
140140

141141
unsafe fn destroy_chacha20_context(ctx: *mut ChaCha20Poly1305Context) {
142142
unsafe {
143-
ChaCha20Poly1305_DestroyContext(ctx, 1 /* PR_TRUE */)
144-
};
143+
ChaCha20Poly1305_DestroyContext(ctx, 1 /* PR_TRUE */);
144+
}
145145
}
146146

147147
scoped_ptr!(AesCtx, AESContext, destroy_aes_context);

0 commit comments

Comments
 (0)