Moving opaque definitions to ossl_typ.h lets us reduce header dependencies.
Deprecate inclusion of crypto.h from ui.h.
This commit is contained in:
parent
1ab61a9179
commit
678c1e025b
3 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,9 @@
|
|||
#ifndef HEADER_UI_H
|
||||
#define HEADER_UI_H
|
||||
|
||||
#ifndef OPENSSL_NO_DEPRECATED
|
||||
#include <openssl/crypto.h>
|
||||
#endif
|
||||
#include <openssl/safestack.h>
|
||||
#include <openssl/ossl_typ.h>
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
#define HEADER_UI_LOCL_H
|
||||
|
||||
#include <openssl/ui.h>
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
struct ui_method_st
|
||||
{
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
*/
|
||||
|
||||
#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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue