Guard away properly; don't build sphincs code.

This commit is contained in:
Anthony Hu
2023-08-14 21:31:28 -04:00
parent 24f60cc435
commit 9bb6c1b70e

View File

@ -5733,7 +5733,7 @@ static int GetOID(const byte* input, word32* inOutIdx, word32* oid,
actualOidSz = (word32)length; actualOidSz = (word32)length;
#endif /* NO_VERIFY_OID */ #endif /* NO_VERIFY_OID */
#if defined(HAVE_PQC) && defined(HAVE_LIBOQS) #if defined(HAVE_PQC) && defined(HAVE_LIBOQS) && defined(HAVE_SPHINCS)
/* Since we are summing it up, there could be collisions...and indeed there /* Since we are summing it up, there could be collisions...and indeed there
* are: SPHINCS_FAST_LEVEL1 and SPHINCS_FAST_LEVEL3. * are: SPHINCS_FAST_LEVEL1 and SPHINCS_FAST_LEVEL3.
* *