Merge pull request #6009 from douzzer/20230124-fix-HAVE_C___ATOMIC

20230124-fix-HAVE_C___ATOMIC
This commit is contained in:
Sean Parkinson
2023-01-25 15:34:30 +10:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -31,6 +31,6 @@ AC_DEFUN([AC_C___ATOMIC],
if test $ac_cv_c___atomic = yes; then
AC_DEFINE([HAVE_C___ATOMIC], 1,
[Define to 1 if __atomic operations work.])
AM_CFLAGS="$AM_CFLAGS -DHAVE_C___ATOMIC"
AM_CFLAGS="$AM_CFLAGS -DHAVE_C___ATOMIC=1"
fi
])# AC_C___ATOMIC

View File

@@ -29102,7 +29102,7 @@ static int MakeCertReq(Cert* cert, byte* derBuffer, word32 derSz,
int sz = 0;
int ret = 0;
#if defined(WOLFSSL_CERT_EXT) || defined(OPENSSL_EXTRA)
word32 sbjRawSz;
word32 sbjRawSz = 0;
#endif
/* Unused without OQS */