Add solaris assembler fixes for legacy provider
[openssl.git] / engines / e_ossltest_err.h
index e745c1a236d4dbd377d2360c2d8e125f0af30861..0c23b0c4539dc54bc5297e19eea714c25a23d586 100644 (file)
@@ -1,24 +1,30 @@
 /*
  * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
  *
- * Licensed under the OpenSSL license (the "License").  You may not use
+ * 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
  * in the file LICENSE in the source distribution or at
  * https://www.openssl.org/source/license.html
  */
 
-#ifndef HEADER_OSSLTESTERR_H
-# define HEADER_OSSLTESTERR_H
+#ifndef OSSL_ENGINES_E_OSSLTEST_ERR_H
+# define OSSL_ENGINES_E_OSSLTEST_ERR_H
 
-# define OSSLTESTerr(f, r) ERR_OSSLTEST_error((f), (r), OPENSSL_FILE, OPENSSL_LINE)
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
+
+# define OSSLTESTerr(f, r) ERR_OSSLTEST_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)
 
 
 /*
  * OSSLTEST function codes.
  */
-# define OSSLTEST_F_BIND_OSSLTEST                         100
-# define OSSLTEST_F_OSSLTEST_AES128_INIT_KEY              101
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define OSSLTEST_F_BIND_OSSLTEST                         0
+#  define OSSLTEST_F_OSSLTEST_AES128_INIT_KEY              0
+# endif
 
 /*
  * OSSLTEST reason codes.