certutil: Add stub program.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53086
This commit is contained in:
Mohamad Al-Jaf 2022-11-07 03:53:26 -05:00 committed by Alexandre Julliard
parent 82e8d6036f
commit 21ae94d437
4 changed files with 42 additions and 0 deletions

2
configure vendored
View file

@ -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

View file

@ -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)

View file

@ -0,0 +1,6 @@
MODULE = certutil.exe
EXTRADLLFLAGS = -mconsole -municode
C_SRCS = \
main.c

33
programs/certutil/main.c Normal file
View file

@ -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;
}