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:
Geoff Thorpe 2004-05-17 18:01:28 +00:00
parent 1ab61a9179
commit 678c1e025b
3 changed files with 4 additions and 1 deletions

View file

@ -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>

View file

@ -60,6 +60,7 @@
#define HEADER_UI_LOCL_H
#include <openssl/ui.h>
#include <openssl/crypto.h>
struct ui_method_st
{

View file

@ -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)
{