Deleted Added
full compact
apps.c (331638) apps.c (337982)
1/* apps/apps.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 *

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

51 * SUCH DAMAGE.
52 *
53 * The licence and distribution terms for any publically available version or
54 * derivative of this code cannot be changed. i.e. this code cannot simply be
55 * copied and put under another distribution licence
56 * [including the GNU Public Licence.]
57 */
58/* ====================================================================
1/* apps/apps.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 *

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

51 * SUCH DAMAGE.
52 *
53 * The licence and distribution terms for any publically available version or
54 * derivative of this code cannot be changed. i.e. this code cannot simply be
55 * copied and put under another distribution licence
56 * [including the GNU Public Licence.]
57 */
58/* ====================================================================
59 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
59 * Copyright (c) 1998-2018 The OpenSSL Project. All rights reserved.
60 *
61 * Redistribution and use in source and binary forms, with or without
62 * modification, are permitted provided that the following conditions
63 * are met:
64 *
65 * 1. Redistributions of source code must retain the above copyright
66 * notice, this list of conditions and the following disclaimer.
67 *

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

1354 {"RFC2253", XN_FLAG_RFC2253, 0xffffffffL},
1355 {"oneline", XN_FLAG_ONELINE, 0xffffffffL},
1356 {"multiline", XN_FLAG_MULTILINE, 0xffffffffL},
1357 {"ca_default", XN_FLAG_MULTILINE, 0xffffffffL},
1358 {NULL, 0, 0}
1359 };
1360 if (set_multi_opts(flags, arg, ex_tbl) == 0)
1361 return 0;
60 *
61 * Redistribution and use in source and binary forms, with or without
62 * modification, are permitted provided that the following conditions
63 * are met:
64 *
65 * 1. Redistributions of source code must retain the above copyright
66 * notice, this list of conditions and the following disclaimer.
67 *

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

1354 {"RFC2253", XN_FLAG_RFC2253, 0xffffffffL},
1355 {"oneline", XN_FLAG_ONELINE, 0xffffffffL},
1356 {"multiline", XN_FLAG_MULTILINE, 0xffffffffL},
1357 {"ca_default", XN_FLAG_MULTILINE, 0xffffffffL},
1358 {NULL, 0, 0}
1359 };
1360 if (set_multi_opts(flags, arg, ex_tbl) == 0)
1361 return 0;
1362 if ((*flags & XN_FLAG_SEP_MASK) == 0)
1362 if (*flags != XN_FLAG_COMPAT
1363 && (*flags & XN_FLAG_SEP_MASK) == 0)
1363 *flags |= XN_FLAG_SEP_CPLUS_SPC;
1364 return 1;
1365}
1366
1367int set_ext_copy(int *copy_type, const char *arg)
1368{
1369 if (!strcasecmp(arg, "none"))
1370 *copy_type = EXT_COPY_NONE;

--- 1913 unchanged lines hidden ---
1364 *flags |= XN_FLAG_SEP_CPLUS_SPC;
1365 return 1;
1366}
1367
1368int set_ext_copy(int *copy_type, const char *arg)
1369{
1370 if (!strcasecmp(arg, "none"))
1371 *copy_type = EXT_COPY_NONE;

--- 1913 unchanged lines hidden ---