diff options
author | bcook <> | 2015-09-11 14:30:23 +0000 |
---|---|---|
committer | bcook <> | 2015-09-11 14:30:23 +0000 |
commit | e2fad4e6bdd4e404b3f4c186de52078738af2271 (patch) | |
tree | cc1109842924cab95a77b6863b32de51b6d4f960 /src/usr.bin/openssl/apps.h | |
parent | 7cea1ef22b79637be449efa70b99c6deaf74ef10 (diff) | |
download | openbsd-e2fad4e6bdd4e404b3f4c186de52078738af2271.tar.gz openbsd-e2fad4e6bdd4e404b3f4c186de52078738af2271.tar.bz2 openbsd-e2fad4e6bdd4e404b3f4c186de52078738af2271.zip |
Remove engine command and parameters from openssl(1).
We do not have any builtin or dynamic engines, meaning openssl(1) has
no way to use the engine command or parameters at all.
ok jsing@
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/apps.h | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h index f6e0a8ce19..f63079179d 100644 --- a/src/usr.bin/openssl/apps.h +++ b/src/usr.bin/openssl/apps.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: apps.h,v 1.14 2015/07/15 13:54:34 jsing Exp $ */ | 1 | /* $OpenBSD: apps.h,v 1.15 2015/09/11 14:30:23 bcook Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -121,10 +121,6 @@ | |||
121 | #include <openssl/txt_db.h> | 121 | #include <openssl/txt_db.h> |
122 | #include <openssl/x509.h> | 122 | #include <openssl/x509.h> |
123 | 123 | ||
124 | #ifndef OPENSSL_NO_ENGINE | ||
125 | #include <openssl/engine.h> | ||
126 | #endif | ||
127 | |||
128 | #ifndef OPENSSL_NO_OCSP | 124 | #ifndef OPENSSL_NO_OCSP |
129 | #include <openssl/ocsp.h> | 125 | #include <openssl/ocsp.h> |
130 | #endif | 126 | #endif |
@@ -166,19 +162,16 @@ int copy_extensions(X509 *x, X509_REQ *req, int copy_type); | |||
166 | int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2); | 162 | int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2); |
167 | int add_oid_section(BIO *err, CONF *conf); | 163 | int add_oid_section(BIO *err, CONF *conf); |
168 | X509 *load_cert(BIO *err, const char *file, int format, | 164 | X509 *load_cert(BIO *err, const char *file, int format, |
169 | const char *pass, ENGINE *e, const char *cert_descrip); | 165 | const char *pass, const char *cert_descrip); |
170 | EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin, | 166 | EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin, |
171 | const char *pass, ENGINE *e, const char *key_descrip); | 167 | const char *pass, const char *key_descrip); |
172 | EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, int maybe_stdin, | 168 | EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, int maybe_stdin, |
173 | const char *pass, ENGINE *e, const char *key_descrip); | 169 | const char *pass, const char *key_descrip); |
174 | STACK_OF(X509) *load_certs(BIO *err, const char *file, int format, | 170 | STACK_OF(X509) *load_certs(BIO *err, const char *file, int format, |
175 | const char *pass, ENGINE *e, const char *cert_descrip); | 171 | const char *pass, const char *cert_descrip); |
176 | STACK_OF(X509_CRL) *load_crls(BIO *err, const char *file, int format, | 172 | STACK_OF(X509_CRL) *load_crls(BIO *err, const char *file, int format, |
177 | const char *pass, ENGINE *e, const char *cert_descrip); | 173 | const char *pass, const char *cert_descrip); |
178 | X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath); | 174 | X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath); |
179 | #ifndef OPENSSL_NO_ENGINE | ||
180 | ENGINE *setup_engine(BIO *err, const char *engine, int debug); | ||
181 | #endif | ||
182 | 175 | ||
183 | #ifndef OPENSSL_NO_OCSP | 176 | #ifndef OPENSSL_NO_OCSP |
184 | OCSP_RESPONSE *process_responder(BIO *err, OCSP_REQUEST *req, | 177 | OCSP_RESPONSE *process_responder(BIO *err, OCSP_REQUEST *req, |
@@ -236,7 +229,7 @@ int args_verify(char ***pargs, int *pargc, int *badarg, BIO *err, | |||
236 | void policies_print(BIO *out, X509_STORE_CTX *ctx); | 229 | void policies_print(BIO *out, X509_STORE_CTX *ctx); |
237 | int bio_to_mem(unsigned char **out, int maxlen, BIO *in); | 230 | int bio_to_mem(unsigned char **out, int maxlen, BIO *in); |
238 | int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value); | 231 | int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value); |
239 | int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, const char *algname, ENGINE *e, | 232 | int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, const char *algname, |
240 | int do_param); | 233 | int do_param); |
241 | int do_X509_sign(BIO *err, X509 *x, EVP_PKEY *pkey, const EVP_MD *md, | 234 | int do_X509_sign(BIO *err, X509 *x, EVP_PKEY *pkey, const EVP_MD *md, |
242 | STACK_OF(OPENSSL_STRING) *sigopts); | 235 | STACK_OF(OPENSSL_STRING) *sigopts); |
@@ -254,7 +247,7 @@ unsigned char *next_protos_parse(unsigned short *outlen, const char *in); | |||
254 | #define FORMAT_NETSCAPE 4 | 247 | #define FORMAT_NETSCAPE 4 |
255 | #define FORMAT_PKCS12 5 | 248 | #define FORMAT_PKCS12 5 |
256 | #define FORMAT_SMIME 6 | 249 | #define FORMAT_SMIME 6 |
257 | #define FORMAT_ENGINE 7 | 250 | |
258 | #define FORMAT_IISSGC 8 /* XXX this stupid macro helps us to avoid | 251 | #define FORMAT_IISSGC 8 /* XXX this stupid macro helps us to avoid |
259 | * adding yet another param to load_*key() */ | 252 | * adding yet another param to load_*key() */ |
260 | #define FORMAT_PEMRSA 9 /* PEM RSAPubicKey format */ | 253 | #define FORMAT_PEMRSA 9 /* PEM RSAPubicKey format */ |