PATCH: dlls/rsabase/main.c

Gerald Pfeifer gerald at pfeifer.com
Wed Jun 16 06:51:11 CDT 2004


On systems where HAVEN_OPENSSL_SSL_H is not defined, we would get a
(valid) compiler warnings.  This fixes it.

Gerald

ChangeLog:
Avoid unused variable warning.
Index: main.c
===================================================================
RCS file: /home/wine/wine/dlls/rsabase/main.c,v
retrieving revision 1.5
diff -u -3 -p -r1.5 main.c
--- main.c	3 Jun 2004 23:18:59 -0000	1.5
+++ main.c	16 Jun 2004 11:49:53 -0000
@@ -98,7 +98,9 @@ BOOL WINAPI RSA_CPAcquireContext(HCRYPTP
                    DWORD dwFlags, PVTableProvStruc pVTable)
 {
     BOOL ret = FALSE;
+#ifdef HAVE_OPENSSL_SSL_H
     RSA_CryptProv *cp;
+#endif

     TRACE("%p %s %08lx %p\n", phProv, debugstr_a(pszContainer),
            dwFlags, pVTable);



More information about the wine-patches mailing list