Commit 00deac3e authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix no-ui on Windows



Ensure public functions have appropriate guards in header files.

GH Issue 899

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent ac3d0e13
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -59,12 +59,15 @@
#ifndef HEADER_UI_H
# define HEADER_UI_H

# include <openssl/opensslconf.h>

# ifndef OPENSSL_NO_UI

#  if OPENSSL_API_COMPAT < 0x10100000L
#   include <openssl/crypto.h>
#  endif
#  include <openssl/safestack.h>
#  include <openssl/ossl_typ.h>
# include <openssl/opensslconf.h>

#ifdef  __cplusplus
extern "C" {
@@ -413,4 +416,5 @@ void ERR_load_UI_strings(void);
#ifdef  __cplusplus
}
#endif
# endif /* OPENSSL_NO_UI */
#endif
+52 −52

File changed.

Preview size limit exceeded, changes collapsed.