doc/man1: fix malformed options
[oweals/openssl.git] / engines / e_afalg_err.h
index 3eb1332bbfe465a3268c02e9fc0fa03d23e86c7f..371723535b99d3d568cfa137a2f1f1a2a9656fac 100644 (file)
@@ -1,28 +1,34 @@
 /*
  * 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_AFALGERR_H
-# define HEADER_AFALGERR_H
+#ifndef OSSL_ENGINES_E_AFALG_ERR_H
+# define OSSL_ENGINES_E_AFALG_ERR_H
 
-# define AFALGerr(f, r) ERR_AFALG_error((f), (r), OPENSSL_FILE, OPENSSL_LINE)
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
+
+# define AFALGerr(f, r) ERR_AFALG_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)
 
 
 /*
  * AFALG function codes.
  */
-# define AFALG_F_AFALG_CHK_PLATFORM                       100
-# define AFALG_F_AFALG_CREATE_SK                          101
-# define AFALG_F_AFALG_INIT_AIO                           102
-# define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION     103
-# define AFALG_F_AFALG_SET_KEY                            104
-# define AFALG_F_BIND_AFALG                               105
+# if !OPENSSL_API_3
+#  define AFALG_F_AFALG_CHK_PLATFORM                       0
+#  define AFALG_F_AFALG_CREATE_SK                          0
+#  define AFALG_F_AFALG_INIT_AIO                           0
+#  define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION     0
+#  define AFALG_F_AFALG_SET_KEY                            0
+#  define AFALG_F_BIND_AFALG                               0
+# endif
 
 /*
  * AFALG reason codes.