Skip to content

Commit

Permalink
CR fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemas committed Feb 3, 2025
1 parent 57cb9c4 commit 2abd022
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crypto/pqdsa/pqdsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,7 @@ int PQDSA_KEY_set_raw_keypair_from_seed(PQDSA_KEY *key, CBS *in) {
// set the public and private key
key->public_key = public_key;
key->private_key = private_key;

if (key->private_key == NULL || key->public_key == NULL ) {
return 0;
}


return 1;
}

Expand Down

0 comments on commit 2abd022

Please sign in to comment.