diff options
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/apps.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c index 592a68980a..f5f1248c07 100644 --- a/src/usr.bin/openssl/apps.c +++ b/src/usr.bin/openssl/apps.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: apps.c,v 1.63 2023/04/14 15:27:13 tb Exp $ */ | 1 | /* $OpenBSD: apps.c,v 1.64 2023/04/22 20:50:26 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -933,7 +933,11 @@ set_name_ex(unsigned long *flags, const char *arg) | |||
933 | {"ca_default", XN_FLAG_MULTILINE, 0xffffffffL}, | 933 | {"ca_default", XN_FLAG_MULTILINE, 0xffffffffL}, |
934 | {NULL, 0, 0} | 934 | {NULL, 0, 0} |
935 | }; | 935 | }; |
936 | return set_multi_opts(flags, arg, ex_tbl); | 936 | if (!set_multi_opts(flags, arg, ex_tbl)) |
937 | return 0; | ||
938 | if (*flags != XN_FLAG_COMPAT && (*flags & XN_FLAG_SEP_MASK) == 0) | ||
939 | *flags |= XN_FLAG_SEP_CPLUS_SPC; | ||
940 | return 1; | ||
937 | } | 941 | } |
938 | 942 | ||
939 | int | 943 | int |