Tidy includes.
authorjsing <jsing@openbsd.org>
Thu, 28 Mar 2024 08:04:27 +0000 (08:04 +0000)
committerjsing <jsing@openbsd.org>
Thu, 28 Mar 2024 08:04:27 +0000 (08:04 +0000)
lib/libcrypto/sm3/sm3.c

index 04fc9f2..5269655 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: sm3.c,v 1.7 2024/03/28 08:01:01 jsing Exp $   */
+/*     $OpenBSD: sm3.c,v 1.8 2024/03/28 08:04:27 jsing Exp $   */
 /*
  * Copyright (c) 2018, Ribose Inc
  *
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#ifndef OPENSSL_NO_SM3
-
-#include <openssl/sm3.h>
-
 #include <string.h>
 
 #include <openssl/opensslconf.h>
 
+#include <openssl/sm3.h>
+
+#ifndef OPENSSL_NO_SM3
+
 #define DATA_ORDER_IS_BIG_ENDIAN
 
 #define HASH_LONG              SM3_WORD