提交 678c1e02 编写于 作者: G Geoff Thorpe

Moving opaque definitions to ossl_typ.h lets us reduce header dependencies.

Deprecate inclusion of crypto.h from ui.h.
上级 1ab61a91
...@@ -59,7 +59,9 @@ ...@@ -59,7 +59,9 @@
#ifndef HEADER_UI_H #ifndef HEADER_UI_H
#define HEADER_UI_H #define HEADER_UI_H
#ifndef OPENSSL_NO_DEPRECATED
#include <openssl/crypto.h> #include <openssl/crypto.h>
#endif
#include <openssl/safestack.h> #include <openssl/safestack.h>
#include <openssl/ossl_typ.h> #include <openssl/ossl_typ.h>
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
#define HEADER_UI_LOCL_H #define HEADER_UI_LOCL_H
#include <openssl/ui.h> #include <openssl/ui.h>
#include <openssl/crypto.h>
struct ui_method_st struct ui_method_st
{ {
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
*/ */
#include <string.h> #include <string.h>
#include <openssl/ui.h> #include "ui_locl.h"
int UI_UTIL_read_pw_string(char *buf,int length,const char *prompt,int verify) int UI_UTIL_read_pw_string(char *buf,int length,const char *prompt,int verify)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册