001_crypto_includes.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. diff -Naur ngtcp2-1.7.0/crypto/quictls/quictls.c ngtcp2-1.7.0_/crypto/quictls/quictls.c
  2. --- ngtcp2-1.7.0/crypto/quictls/quictls.c 2024-08-24 08:46:22.370068166 +0300
  3. +++ ngtcp2-1.7.0_/crypto/quictls/quictls.c 2024-09-04 21:39:15.679675360 +0300
  4. @@ -37,10 +37,10 @@
  5. #include <openssl/rand.h>
  6. #if OPENSSL_VERSION_NUMBER >= 0x30000000L
  7. -# include <openssl/core_names.h>
  8. +# error #include <openssl/core_names.h>
  9. #endif /* OPENSSL_VERSION_NUMBER >= 0x30000000L */
  10. -#include "shared.h"
  11. +#include "ngtcp2_crypto_shared.h"
  12. #if OPENSSL_VERSION_NUMBER >= 0x30000000L
  13. static int crypto_initialized;
  14. diff -Naur ngtcp2-1.7.0/crypto/shared.c ngtcp2-1.7.0_/crypto/shared.c
  15. --- ngtcp2-1.7.0/crypto/shared.c 2024-08-24 08:46:22.370068166 +0300
  16. +++ ngtcp2-1.7.0_/crypto/shared.c 2024-09-04 21:39:30.427538339 +0300
  17. @@ -22,7 +22,7 @@
  18. * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  19. * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  20. */
  21. -#include "shared.h"
  22. +#include "ngtcp2_crypto_shared.h"
  23. #ifdef WIN32
  24. # include <winsock2.h>