feat: updates

This commit is contained in:
2024-08-14 23:48:29 +08:00
parent ee23526697
commit ceb0a9469f
3 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,17 @@
// Copyright 2024 Hatter Jiang
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
use p256::ecdsa::signature::digest::Digest;
use p256::pkcs8::ObjectIdentifier;
use sha1::Sha1;

View File

@@ -8,9 +8,6 @@ rust-version.workspace = true
repository.workspace = true
license.workspace = true
[features]
custom-function-list = []
[dependencies]
cached = { version = "0.51.4", default-features = false }
native-pkcs11-core = { version = "^0.2.14", path = "../native-pkcs11-core" }

View File

@@ -277,7 +277,6 @@ cryptoki_fn!(
}
);
// #[cfg(not(feature = "custom-function-list"))]
cryptoki_fn!(
unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) {
not_null!(ppFunctionList);