aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/err/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/err/err.h')
-rw-r--r--crypto/err/err.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/err/err.h b/crypto/err/err.h
index d893f60bb7..b723cd977a 100644
--- a/crypto/err/err.h
+++ b/crypto/err/err.h
@@ -66,6 +66,7 @@
#include <stdlib.h>
#endif
+#include <openssl/ossl_typ.h>
#ifndef OPENSSL_NO_BIO
#include <openssl/bio.h>
#endif
@@ -301,8 +302,8 @@ int ERR_get_next_error_library(void);
int ERR_set_mark(void);
int ERR_pop_to_mark(void);
-/* This opaque type encapsulates the low-level error-state functions */
-typedef struct st_ERR_FNS ERR_FNS;
+/* Already defined in ossl_typ.h */
+/* typedef struct st_ERR_FNS ERR_FNS; */
/* An application can use this function and provide the return value to loaded
* modules that should use the application's ERR state/functionality */
const ERR_FNS *ERR_get_implementation(void);