Update copyright year
[openssl.git] / test / rdcpu_sanitytest.c
index df1858ae9b89d8427fadcd564932f950d5b7fcb5..c14e85c9b70ff7ffbd788b97f943a7c4b0a5307c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2018-2022 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the Apache License 2.0 (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -23,7 +23,7 @@ size_t OPENSSL_ia32_rdseed_bytes(unsigned char *buf, size_t len);
 # define IS_X_86 0
 #endif
 
-#if defined(__aarch64__)
+#if defined(__aarch64__) && defined(OPENSSL_CPUID_OBJ)
 # define IS_AARCH_64 1
 # include "arm_arch.h"