make find-doc-nits report function typedef w/ space before arg list
[openssl.git] / engines / e_dasync_err.h
index 7c2c0278790b569acf7f401364a7b66d9d109fa0..7d2ea7936f3da247d7d866c1d7528fe037eed7a4 100644 (file)
@@ -1,33 +1,39 @@
 /*
  * 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_DASYNCERR_H
-# define HEADER_DASYNCERR_H
+#ifndef OSSL_ENGINES_E_DASYNC_ERR_H
+# define OSSL_ENGINES_E_DASYNC_ERR_H
 
-# define DASYNCerr(f, r) ERR_DASYNC_error((f), (r), OPENSSL_FILE, OPENSSL_LINE)
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
+
+# define DASYNCerr(f, r) ERR_DASYNC_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)
 
 
 /*
  * DASYNC function codes.
  */
-# define DASYNC_F_BIND_DASYNC                             107
-# define DASYNC_F_CIPHER_AES_128_CBC_CODE                 100
-# define DASYNC_F_DASYNC_AES128_CBC_HMAC_SHA1_INIT_KEY    109
-# define DASYNC_F_DASYNC_AES128_INIT_KEY                  108
-# define DASYNC_F_DASYNC_BN_MOD_EXP                       101
-# define DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER           110
-# define DASYNC_F_DASYNC_MOD_EXP                          102
-# define DASYNC_F_DASYNC_PRIVATE_DECRYPT                  103
-# define DASYNC_F_DASYNC_PRIVATE_ENCRYPT                  104
-# define DASYNC_F_DASYNC_PUBLIC_DECRYPT                   105
-# define DASYNC_F_DASYNC_PUBLIC_ENCRYPT                   106
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define DASYNC_F_BIND_DASYNC                             0
+#  define DASYNC_F_CIPHER_AES_128_CBC_CODE                 0
+#  define DASYNC_F_DASYNC_AES128_CBC_HMAC_SHA1_INIT_KEY    0
+#  define DASYNC_F_DASYNC_AES128_INIT_KEY                  0
+#  define DASYNC_F_DASYNC_BN_MOD_EXP                       0
+#  define DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER           0
+#  define DASYNC_F_DASYNC_MOD_EXP                          0
+#  define DASYNC_F_DASYNC_PRIVATE_DECRYPT                  0
+#  define DASYNC_F_DASYNC_PRIVATE_ENCRYPT                  0
+#  define DASYNC_F_DASYNC_PUBLIC_DECRYPT                   0
+#  define DASYNC_F_DASYNC_PUBLIC_ENCRYPT                   0
+# endif
 
 /*
  * DASYNC reason codes.