Module: wine Branch: master Commit: 21ae94d437cdd006f56c2261b40ea0f6a42837da URL: https://gitlab.winehq.org/wine/wine/-/commit/21ae94d437cdd006f56c2261b40ea0f...
Author: Mohamad Al-Jaf mohamadaljaf@gmail.com Date: Mon Nov 7 03:53:26 2022 -0500
certutil: Add stub program.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53086
---
configure | 2 ++ configure.ac | 1 + programs/certutil/Makefile.in | 6 ++++++ programs/certutil/main.c | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+)
diff --git a/configure b/configure index e4b804f1525..76ac7311e6d 100755 --- a/configure +++ b/configure @@ -1583,6 +1583,7 @@ enable_aspnet_regiis enable_attrib enable_cabarc enable_cacls +enable_certutil enable_chcp_com enable_clock enable_cmd @@ -22275,6 +22276,7 @@ wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis wine_fn_config_makefile programs/attrib enable_attrib wine_fn_config_makefile programs/cabarc enable_cabarc wine_fn_config_makefile programs/cacls enable_cacls +wine_fn_config_makefile programs/certutil enable_certutil wine_fn_config_makefile programs/chcp.com enable_chcp_com wine_fn_config_makefile programs/clock enable_clock wine_fn_config_makefile programs/cmd enable_cmd diff --git a/configure.ac b/configure.ac index 169299da237..423f883b6a8 100644 --- a/configure.ac +++ b/configure.ac @@ -3369,6 +3369,7 @@ WINE_CONFIG_MAKEFILE(programs/aspnet_regiis) WINE_CONFIG_MAKEFILE(programs/attrib) WINE_CONFIG_MAKEFILE(programs/cabarc) WINE_CONFIG_MAKEFILE(programs/cacls) +WINE_CONFIG_MAKEFILE(programs/certutil) WINE_CONFIG_MAKEFILE(programs/chcp.com) WINE_CONFIG_MAKEFILE(programs/clock) WINE_CONFIG_MAKEFILE(programs/cmd) diff --git a/programs/certutil/Makefile.in b/programs/certutil/Makefile.in new file mode 100644 index 00000000000..69a585a245d --- /dev/null +++ b/programs/certutil/Makefile.in @@ -0,0 +1,6 @@ +MODULE = certutil.exe + +EXTRADLLFLAGS = -mconsole -municode + +C_SRCS = \ + main.c diff --git a/programs/certutil/main.c b/programs/certutil/main.c new file mode 100644 index 00000000000..2b94819fb00 --- /dev/null +++ b/programs/certutil/main.c @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2022 Mohamad Al-Jaf + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(certutil); + +int __cdecl wmain(int argc, WCHAR *argv[]) +{ + int i; + + WINE_FIXME("stub:"); + for (i = 0; i < argc; i++) + WINE_FIXME(" %s", wine_dbgstr_w(argv[i])); + WINE_FIXME("\n"); + + return 0; +}