Skip to content

Commit

Permalink
Add missing attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
blackshirt committed Jan 8, 2025
1 parent 920688e commit 1da7ce5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vlib/crypto/ecdsa/ecdsa.v
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ pub enum Nid {
}

@[params]
struct CurveOptions {
pub struct CurveOptions {
pub mut:
nid Nid = .prime256v1 // default to NIST P-256 curve
}

Expand Down Expand Up @@ -344,7 +345,7 @@ pub enum HashConfig {

@[params]
pub struct SignerOpts {
mut:
pub mut:
hash_config HashConfig = .with_recomended_hash
// make sense when HashConfig != with_recomended_hash
allow_smaller_size bool
Expand Down

0 comments on commit 1da7ce5

Please sign in to comment.