summaryrefslogtreecommitdiffstats
path: root/include/internal/propertyerr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/internal/propertyerr.h')
-rw-r--r--include/internal/propertyerr.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/include/internal/propertyerr.h b/include/internal/propertyerr.h
index d4002977c1..a5d5125770 100644
--- a/include/internal/propertyerr.h
+++ b/include/internal/propertyerr.h
@@ -11,9 +11,9 @@
#ifndef HEADER_PROPERR_H
# define HEADER_PROPERR_H
-# ifndef HEADER_SYMHACKS_H
-# include <openssl/symhacks.h>
-# endif
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
# ifdef __cplusplus
extern "C"
@@ -23,14 +23,16 @@ int ERR_load_PROP_strings(void);
/*
* PROP function codes.
*/
-# define PROP_F_OSSL_PARSE_PROPERTY 100
-# define PROP_F_OSSL_PARSE_QUERY 101
-# define PROP_F_PARSE_HEX 102
-# define PROP_F_PARSE_NAME 103
-# define PROP_F_PARSE_NUMBER 104
-# define PROP_F_PARSE_OCT 105
-# define PROP_F_PARSE_STRING 106
-# define PROP_F_PARSE_UNQUOTED 107
+# if !OPENSSL_API_3
+# define PROP_F_OSSL_PARSE_PROPERTY 0
+# define PROP_F_OSSL_PARSE_QUERY 0
+# define PROP_F_PARSE_HEX 0
+# define PROP_F_PARSE_NAME 0
+# define PROP_F_PARSE_NUMBER 0
+# define PROP_F_PARSE_OCT 0
+# define PROP_F_PARSE_STRING 0
+# define PROP_F_PARSE_UNQUOTED 0
+# endif
/*
* PROP reason codes.