/*
* 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 Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
#ifndef HEADER_CAPIERR_H
# define HEADER_CAPIERR_H
-# define CAPIerr(f, r) ERR_CAPI_error((f), (r), OPENSSL_FILE, OPENSSL_LINE)
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
+
+# define CAPIerr(f, r) ERR_CAPI_error(0, (r), OPENSSL_FILE, OPENSSL_LINE)
/*
* CAPI function codes.
*/
-# define CAPI_F_CAPI_CERT_GET_FNAME 99
-# define CAPI_F_CAPI_CTRL 100
-# define CAPI_F_CAPI_CTX_NEW 101
-# define CAPI_F_CAPI_CTX_SET_PROVNAME 102
-# define CAPI_F_CAPI_DSA_DO_SIGN 114
-# define CAPI_F_CAPI_GET_KEY 103
-# define CAPI_F_CAPI_GET_PKEY 115
-# define CAPI_F_CAPI_GET_PROVNAME 104
-# define CAPI_F_CAPI_GET_PROV_INFO 105
-# define CAPI_F_CAPI_INIT 106
-# define CAPI_F_CAPI_LIST_CONTAINERS 107
-# define CAPI_F_CAPI_LOAD_PRIVKEY 108
-# define CAPI_F_CAPI_OPEN_STORE 109
-# define CAPI_F_CAPI_RSA_PRIV_DEC 110
-# define CAPI_F_CAPI_RSA_PRIV_ENC 111
-# define CAPI_F_CAPI_RSA_SIGN 112
-# define CAPI_F_CAPI_VTRACE 118
-# define CAPI_F_CERT_SELECT_DIALOG 117
-# define CAPI_F_CLIENT_CERT_SELECT 116
-# define CAPI_F_WIDE_TO_ASC 113
+# if !OPENSSL_API_3
+# define CAPI_F_CAPI_CERT_GET_FNAME 0
+# define CAPI_F_CAPI_CTRL 0
+# define CAPI_F_CAPI_CTX_NEW 0
+# define CAPI_F_CAPI_CTX_SET_PROVNAME 0
+# define CAPI_F_CAPI_DSA_DO_SIGN 0
+# define CAPI_F_CAPI_GET_KEY 0
+# define CAPI_F_CAPI_GET_PKEY 0
+# define CAPI_F_CAPI_GET_PROVNAME 0
+# define CAPI_F_CAPI_GET_PROV_INFO 0
+# define CAPI_F_CAPI_INIT 0
+# define CAPI_F_CAPI_LIST_CONTAINERS 0
+# define CAPI_F_CAPI_LOAD_PRIVKEY 0
+# define CAPI_F_CAPI_OPEN_STORE 0
+# define CAPI_F_CAPI_RSA_PRIV_DEC 0
+# define CAPI_F_CAPI_RSA_PRIV_ENC 0
+# define CAPI_F_CAPI_RSA_SIGN 0
+# define CAPI_F_CAPI_VTRACE 0
+# define CAPI_F_CERT_SELECT_DIALOG 0
+# define CAPI_F_CLIENT_CERT_SELECT 0
+# define CAPI_F_WIDE_TO_ASC 0
+# endif
/*
* CAPI reason codes.