diff options
author | Richard Levitte <levitte@openssl.org> | 2000-10-28 22:40:40 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-10-28 22:40:40 +0000 |
commit | 32d862ede4540acfdc8fe7f56bf583f7a2be3dbb (patch) | |
tree | dfe7455ed8f0d32e9c171f76122643cbb6b8dc58 /apps/apps.h | |
parent | a44f26d5c90c068e585faffeebe10cc9c51b9e78 (diff) |
Add the possibility to use keys handled by engines in more
applications.
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/apps.h b/apps/apps.h index 7a834f9d89..e8272a3973 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -67,6 +67,7 @@ #include <openssl/x509.h> #include <openssl/lhash.h> #include <openssl/conf.h> +#include <openssl/engine.h> int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn); int app_RAND_write_file(const char *file, BIO *bio_e); @@ -152,8 +153,8 @@ int set_name_ex(unsigned long *flags, const char *arg); int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2); int add_oid_section(BIO *err, LHASH *conf); X509 *load_cert(BIO *err, char *file, int format); -EVP_PKEY *load_key(BIO *err, char *file, int format, char *pass); -EVP_PKEY *load_pubkey(BIO *err, char *file, int format); +EVP_PKEY *load_key(BIO *err, char *file, int format, char *pass, ENGINE *e); +EVP_PKEY *load_pubkey(BIO *err, char *file, int format, ENGINE *e); STACK_OF(X509) *load_certs(BIO *err, char *file, int format); #define FORMAT_UNDEF 0 |