summaryrefslogtreecommitdiffstats
path: root/apps/engine.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-09-25 20:35:01 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-09-25 20:35:01 +0000
commit6dc5d570d09dfc4f2b4595f089f2a7536d82ad72 (patch)
tree265e29b7dffe88a7eb4b297199b27e0a683a0288 /apps/engine.c
parentcb78486d97328121add07df466b7578076650a90 (diff)
Make necessary tweaks to apps/ files due to recent ENGINE surgery. See
crypto/engine/README for details.
Diffstat (limited to 'apps/engine.c')
-rw-r--r--apps/engine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/engine.c b/apps/engine.c
index 1b2fc50cc2..ebaeeabf21 100644
--- a/apps/engine.c
+++ b/apps/engine.c
@@ -430,7 +430,9 @@ skip_arg_loop:
{
int cap_size = 256;
char *cap_buf = NULL;
+#if 0 /* Awaiting EVP_[CIPHER|DIGEST] refit */
int k,n;
+#endif
if (ENGINE_get_RSA(e) != NULL
&& !append_buf(&cap_buf, "RSA",
@@ -449,12 +451,14 @@ skip_arg_loop:
&cap_size, 256))
goto end;
+#if 0
n=ENGINE_cipher_num(e);
for(k=0 ; k < n ; ++k)
if(!append_buf(&cap_buf,
OBJ_nid2sn(ENGINE_get_cipher(e, k)->nid),
&cap_size, 256))
goto end;
+#endif
if (cap_buf && (*cap_buf != '\0'))
BIO_printf(bio_out, " [%s]", cap_buf);