Skip to content

Commit ba4842a

Browse files
Merge pull request #6703 from anhu/guard_sphincs
Guard sphincs away properly.
2 parents afd0d07 + 9bb6c1b commit ba4842a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/asn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5733,7 +5733,7 @@ static int GetOID(const byte* input, word32* inOutIdx, word32* oid,
57335733
actualOidSz = (word32)length;
57345734
#endif /* NO_VERIFY_OID */
57355735

5736-
#if defined(HAVE_PQC) && defined(HAVE_LIBOQS)
5736+
#if defined(HAVE_PQC) && defined(HAVE_LIBOQS) && defined(HAVE_SPHINCS)
57375737
/* Since we are summing it up, there could be collisions...and indeed there
57385738
* are: SPHINCS_FAST_LEVEL1 and SPHINCS_FAST_LEVEL3.
57395739
*

0 commit comments

Comments
 (0)