Apply mingw patches as supplied by Roumen Petrov an Alon Bar-Lev
[openssl.git] / crypto / store / store.h
index 40fb38fc43932f13a81332a6fb55c145d7460b72..64583377a94a8f9d52fe0281776d9bdc7643dc90 100644 (file)
 #define HEADER_STORE_H
 
 #include <openssl/ossl_typ.h>
-#include <openssl/x509.h>
+#ifndef OPENSSL_NO_DEPRECATED
 #include <openssl/evp.h>
 #include <openssl/bn.h>
+#include <openssl/x509.h>
+#endif
 
 #ifdef  __cplusplus
 extern "C" {
@@ -425,13 +427,13 @@ void ERR_load_STORE_strings(void);
 /* Error codes for the STORE functions. */
 
 /* Function codes. */
-#define STORE_F_CTRL                                    160
 #define STORE_F_MEM_DELETE                              134
 #define STORE_F_MEM_GENERATE                            135
+#define STORE_F_MEM_LIST_END                            168
 #define STORE_F_MEM_LIST_NEXT                           136
 #define STORE_F_MEM_LIST_START                          137
+#define STORE_F_MEM_MODIFY                              169
 #define STORE_F_MEM_STORE                               138
-#define STORE_F_STORE_ARBITRARY                                 157
 #define STORE_F_STORE_ATTR_INFO_GET0_CSTR               139
 #define STORE_F_STORE_ATTR_INFO_GET0_DN                         140
 #define STORE_F_STORE_ATTR_INFO_GET0_NUMBER             141
@@ -444,8 +446,7 @@ void ERR_load_STORE_strings(void);
 #define STORE_F_STORE_ATTR_INFO_SET_DN                  148
 #define STORE_F_STORE_ATTR_INFO_SET_NUMBER              149
 #define STORE_F_STORE_ATTR_INFO_SET_SHA1STR             150
-#define STORE_F_STORE_CERTIFICATE                       100
-#define STORE_F_STORE_CRL                               101
+#define STORE_F_STORE_CERTIFICATE                       170
 #define STORE_F_STORE_CTRL                              161
 #define STORE_F_STORE_DELETE_ARBITRARY                  158
 #define STORE_F_STORE_DELETE_CERTIFICATE                102
@@ -485,14 +486,19 @@ void ERR_load_STORE_strings(void);
 #define STORE_F_STORE_MODIFY_PUBLIC_KEY                         167
 #define STORE_F_STORE_NEW_ENGINE                        133
 #define STORE_F_STORE_NEW_METHOD                        132
-#define STORE_F_STORE_NUMBER                            126
 #define STORE_F_STORE_PARSE_ATTRS_END                   151
+#define STORE_F_STORE_PARSE_ATTRS_ENDP                  172
 #define STORE_F_STORE_PARSE_ATTRS_NEXT                  152
-#define STORE_F_STORE_PRIVATE_KEY                       127
-#define STORE_F_STORE_PUBLIC_KEY                        128
+#define STORE_F_STORE_PARSE_ATTRS_START                         171
 #define STORE_F_STORE_REVOKE_CERTIFICATE                129
 #define STORE_F_STORE_REVOKE_PRIVATE_KEY                130
 #define STORE_F_STORE_REVOKE_PUBLIC_KEY                         131
+#define STORE_F_STORE_STORE_ARBITRARY                   157
+#define STORE_F_STORE_STORE_CERTIFICATE                         100
+#define STORE_F_STORE_STORE_CRL                                 101
+#define STORE_F_STORE_STORE_NUMBER                      126
+#define STORE_F_STORE_STORE_PRIVATE_KEY                         127
+#define STORE_F_STORE_STORE_PUBLIC_KEY                  128
 
 /* Reason codes. */
 #define STORE_R_ALREADY_HAS_A_VALUE                     127