=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/enc.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/openssl/enc.c 2015/09/10 16:01:06 1.6 --- src/usr.bin/openssl/enc.c 2015/09/11 14:30:23 1.7 *************** *** 1,4 **** ! /* $OpenBSD: enc.c,v 1.6 2015/09/10 16:01:06 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: enc.c,v 1.7 2015/09/11 14:30:23 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 85,93 **** int do_zlib; #endif int enc; - #ifndef OPENSSL_NO_ENGINE - char *engine; - #endif char *hiv; char *hkey; char *hsalt; --- 85,90 ---- *************** *** 171,186 **** .opt.value = &enc_config.enc, .value = 1, }, - #ifndef OPENSSL_NO_ENGINE { - .name = "engine", - .argname = "id", - .desc = "Use the engine specified by the given identifier", - .type = OPTION_ARG, - .opt.arg = &enc_config.engine, - }, - #endif - { .name = "in", .argname = "file", .desc = "Input file to read from (default stdin)", --- 168,174 ---- *************** *** 317,323 **** { fprintf(stderr, "usage: enc -ciphername [-AadePp] [-base64] " "[-bufsize number] [-debug]\n" ! " [-engine id] [-in file] [-iv IV] [-K key] [-k password]\n" " [-kfile file] [-md digest] [-none] [-nopad] [-nosalt]\n" " [-out file] [-pass arg] [-S salt] [-salt]\n\n"); options_usage(enc_options); --- 305,311 ---- { fprintf(stderr, "usage: enc -ciphername [-AadePp] [-base64] " "[-bufsize number] [-debug]\n" ! " [-in file] [-iv IV] [-K key] [-k password]\n" " [-kfile file] [-md digest] [-none] [-nopad] [-nosalt]\n" " [-out file] [-pass arg] [-S salt] [-salt]\n\n"); options_usage(enc_options); *************** *** 412,421 **** } enc_config.keystr = buf; } - - #ifndef OPENSSL_NO_ENGINE - setup_engine(bio_err, enc_config.engine, 0); - #endif if (enc_config.md != NULL && (dgst = EVP_get_digestbyname(enc_config.md)) == NULL) { --- 400,405 ----