]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Include the e_os.h before string.h
authorTomas Mraz <tomas@openssl.org>
Thu, 5 May 2022 10:35:11 +0000 (12:35 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 13 May 2022 06:30:41 +0000 (08:30 +0200)
Fixes #18244

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18282)

crypto/ctype.c
test/localetest.c

index f90ef19e79aafc187925555d3443b77423179672..dc930159170126587b7dd84913cd180bde60dfe7 100644 (file)
@@ -7,12 +7,11 @@
  * https://www.openssl.org/source/license.html
  */
 
+#include "internal/e_os.h"
 #include <string.h>
 #include <stdio.h>
 #include "crypto/ctype.h"
 #include <openssl/ebcdic.h>
-
-#include "internal/e_os.h"
 #include "internal/core.h"
 #ifndef OPENSSL_NO_LOCALE
 # include <locale.h>
index 9f13d38550d18f749d6ee38e055fb907c8306515..616356a1404d4e87f2ae7402eb2f1faf2ca8c2b2 100644 (file)
@@ -7,14 +7,14 @@
  * https://www.openssl.org/source/license.html
  */
 
+#include "internal/e_os.h"
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 #include <openssl/x509.h>
 #include "testutil.h"
 #include "testutil/output.h"
 
-#include <stdlib.h>
-#include "internal/e_os.h"
 #ifndef OPENSSL_NO_LOCALE
 # include <locale.h>
 # ifdef OPENSSL_SYS_MACOSX