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
@ -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 @@
|
|||||||
#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 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user