Merge pull request #6703 from anhu/guard_sphincs

Guard sphincs away properly.
This commit is contained in:
JacobBarthelmeh 2023-08-16 14:40:11 -06:00 committed by GitHub
commit ba4842aded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5733,7 +5733,7 @@ static int GetOID(const byte* input, word32* inOutIdx, word32* oid,
actualOidSz = (word32)length;
#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
* are: SPHINCS_FAST_LEVEL1 and SPHINCS_FAST_LEVEL3.
*