Deleted Added
full compact
enc.c (205128) enc.c (215697)
1/* apps/enc.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 86 unchanged lines hidden (view full) ---

95 else
96 BIO_printf(bio," ");
97 }
98
99int MAIN(int, char **);
100
101int MAIN(int argc, char **argv)
102 {
1/* apps/enc.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 86 unchanged lines hidden (view full) ---

95 else
96 BIO_printf(bio," ");
97 }
98
99int MAIN(int, char **);
100
101int MAIN(int argc, char **argv)
102 {
103#ifndef OPENSSL_NO_ENGINE
104 ENGINE *e = NULL;
105#endif
106 static const char magic[]="Salted__";
107 char mbuf[sizeof magic-1];
108 char *strbuf=NULL;
109 unsigned char *buff=NULL,*bufsize=NULL;
110 int bsize=BSIZE,verbose=0;
111 int ret=1,inl;
112 int nopad = 0;
113 unsigned char key[EVP_MAX_KEY_LENGTH],iv[EVP_MAX_IV_LENGTH];

--- 192 unchanged lines hidden (view full) ---

306
307 goto end;
308 }
309 argc--;
310 argv++;
311 }
312
313#ifndef OPENSSL_NO_ENGINE
103 static const char magic[]="Salted__";
104 char mbuf[sizeof magic-1];
105 char *strbuf=NULL;
106 unsigned char *buff=NULL,*bufsize=NULL;
107 int bsize=BSIZE,verbose=0;
108 int ret=1,inl;
109 int nopad = 0;
110 unsigned char key[EVP_MAX_KEY_LENGTH],iv[EVP_MAX_IV_LENGTH];

--- 192 unchanged lines hidden (view full) ---

303
304 goto end;
305 }
306 argc--;
307 argv++;
308 }
309
310#ifndef OPENSSL_NO_ENGINE
314 e = setup_engine(bio_err, engine, 0);
311 setup_engine(bio_err, engine, 0);
315#endif
316
317 if (md && (dgst=EVP_get_digestbyname(md)) == NULL)
318 {
319 BIO_printf(bio_err,"%s is an unsupported message digest type\n",md);
320 goto end;
321 }
322

--- 376 unchanged lines hidden ---
312#endif
313
314 if (md && (dgst=EVP_get_digestbyname(md)) == NULL)
315 {
316 BIO_printf(bio_err,"%s is an unsupported message digest type\n",md);
317 goto end;
318 }
319

--- 376 unchanged lines hidden ---