Skip to content

Commit

Permalink
Add classes rnp::CertParams and rnp::BindingParams instead of old str…
Browse files Browse the repository at this point in the history
…ucts.
  • Loading branch information
ni4 committed Oct 22, 2024
1 parent 8257c1c commit eaed98b
Show file tree
Hide file tree
Showing 12 changed files with 338 additions and 349 deletions.
8 changes: 4 additions & 4 deletions src/lib/ffi-priv-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ struct rnp_op_generate_st {
rnp::secure_vector<char> password;
/* request password for key encryption via ffi's password provider */
bool request_password{};
rnp::KeygenParams keygen_params;
rnp::KeygenParams keygen;
rnp_key_protection_params_t protection{};
rnp_selfsig_cert_info_t cert{};
rnp_selfsig_binding_info_t binding{};
rnp::CertParams cert;
rnp::BindingParams binding;

rnp_op_generate_st(rnp_ffi_t affi, pgp_pubkey_alg_t alg)
: ffi(affi), keygen_params(alg, affi->context)
: ffi(affi), keygen(alg, affi->context)
{
}
};
Expand Down
Loading

0 comments on commit eaed98b

Please sign in to comment.