diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-04-19 02:12:36 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-04-19 02:12:36 +0200 |
commit | f68854b4c344ed6ebf1893055bd63654849996e1 (patch) | |
tree | 6ff42991d0bc7b4bfbcf69cc5736c49a52650de6 /apps | |
parent | Throw in x86_64 AT&T to MASM assembler converter to facilitate development (diff) | |
download | openssl-f68854b4c344ed6ebf1893055bd63654849996e1.tar.xz openssl-f68854b4c344ed6ebf1893055bd63654849996e1.zip |
Various Win32 and other fixes for warnings and compilation errors.
Fix Win32 build system to use 'Makefile' instead of 'Makefile.ssl'.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 2 | ||||
-rw-r--r-- | apps/apps.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/apps.c b/apps/apps.c index 988bb6e941..fb9f72fbea 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2146,7 +2146,7 @@ error: /* This code MUST COME AFTER anything that uses rename() */ #ifdef OPENSSL_SYS_WIN32 -int WIN32_rename(char *from, char *to) +int WIN32_rename(const char *from, const char *to) { #ifndef OPENSSL_SYS_WINCE /* Windows rename gives an error if 'to' exists, so delete it diff --git a/apps/apps.h b/apps/apps.h index b9bb91c186..26dcbc5771 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -136,7 +136,7 @@ long app_RAND_load_files(char *file); /* `file' is a list of files to read, #ifdef OPENSSL_SYS_WIN32 #define rename(from,to) WIN32_rename((from),(to)) -int WIN32_rename(char *oldname,char *newname); +int WIN32_rename(const char *oldname,const char *newname); #endif #ifndef MONOLITH |