Skip to content

Commit 9bb6c1b

Browse files
committed
Guard away properly; don't build sphincs code.
1 parent 24f60cc commit 9bb6c1b

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)