Skip to content

Commit

Permalink
Update oqsprov/oqs_sig.c
Browse files Browse the repository at this point in the history
Fix typo

Co-authored-by: thomas <[email protected]>
  • Loading branch information
feventura and thomas authored Mar 7, 2024
1 parent a001407 commit 5131fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oqsprov/oqs_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ static int oqs_sig_sign(void *vpoqs_sigctx, unsigned char *sig, size_t *siglen,
}
final_tbs = OPENSSL_malloc(final_tbslen);
composite_prefix_conversion(final_tbs, oid_prefix);
memcpy(final_tbs + COMPOSITE_OID_PREFIRX_LEN / 2, tbs_hash,
memcpy(final_tbs + COMPOSITE_OID_PREFIX_LEN / 2, tbs_hash,
final_tbslen - COMPOSITE_OID_PREFIRX_LEN / 2);
OPENSSL_free(tbs_hash);

Expand Down

0 comments on commit 5131fc4

Please sign in to comment.