Skip to content

Commit 2972f78

Browse files
committed
cleanup
Signed-off-by: Arthur Gautier <[email protected]>
1 parent 7358fa6 commit 2972f78

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

cryptoki-rustcrypto/src/ecdsa.rs

-2
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ where
182182
<<C as ecdsa::elliptic_curve::Curve>::FieldBytesSize as Add>::Output: ArrayLength<u8>,
183183
{
184184
fn try_sign(&self, msg: &[u8]) -> Result<Signature<C>, signature::Error> {
185-
println!("try sign");
186-
187185
let msg = C::Digest::digest(msg);
188186

189187
let bytes = self

cryptoki-rustcrypto/tests/ecdsa.rs

-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ fn sign_verify() -> TestResult {
5151
let priv_key_template = vec![
5252
Attribute::Token(true),
5353
Attribute::Private(true),
54-
//Attribute::KeyType(KeyType::EC),
55-
//Attribute::EcParams(secp256r1_oid),
56-
//Attribute::Sensitive(true),
57-
//Attribute::Extractable(false),
5854
Attribute::Sign(true),
5955
Attribute::Label(label.to_vec()),
6056
];

0 commit comments

Comments
 (0)