=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/apps.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- src/usr.bin/openssl/apps.c 2020/10/14 07:20:09 1.56 +++ src/usr.bin/openssl/apps.c 2020/10/26 11:48:39 1.57 @@ -1,4 +1,4 @@ -/* $OpenBSD: apps.c,v 1.56 2020/10/14 07:20:09 tb Exp $ */ +/* $OpenBSD: apps.c,v 1.57 2020/10/26 11:48:39 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -1916,6 +1916,8 @@ flags |= X509_V_FLAG_POLICY_CHECK; else if (!strcmp(arg, "-explicit_policy")) flags |= X509_V_FLAG_EXPLICIT_POLICY; + else if (!strcmp(arg, "-legacy_verify")) + flags |= X509_V_FLAG_LEGACY_VERIFY; else if (!strcmp(arg, "-inhibit_any")) flags |= X509_V_FLAG_INHIBIT_ANY; else if (!strcmp(arg, "-inhibit_map"))