Skip to content

Commit eb623c2

Browse files
Update src/hp.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8bf088c commit eb623c2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/hp.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ experimental_api!(SSL_HkdfExpandLabelWithMech(
4040
));
4141

4242
/// Creates an AES-ECB `PK11Context` from a `SymKey`.
43-
/// `PK11_CloneContext` is not supported for AES-ECB, so `Clone` stores the `SymKey`
44-
/// and recreates the context on first use via `mask`.
43+
fn make_aes_ctx(key: &SymKey) -> Res<Context> {
4544
fn make_aes_ctx(key: &SymKey) -> Res<Context> {
4645
Context::from_ptr(unsafe {
4746
PK11_CreateContextBySymKey(

0 commit comments

Comments
 (0)