commit | af5c85fc1087d045641e3daa0634e75d367e4ae4 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Apr 18 03:47:52 2011 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Apr 18 03:47:52 2011 +0000 |
tree | 6f3711e7227540aebad7f9eaeceeae4e925c7f2e | |
parent | a493ad45397f38af9246e7ebf27aa67e201d10f6 [diff] [blame] |
- Improved portability with Microsoft Visual C
diff --git a/library/cipher.c b/library/cipher.c index 697ff54..ee3cd45 100644 --- a/library/cipher.c +++ b/library/cipher.c
@@ -37,6 +37,10 @@ #include <string.h> #include <stdlib.h> +#if defined _MSC_VER && !defined strcasecmp +#define strcasecmp _stricmp +#endif + static const int supported_ciphers[] = { #if defined(POLARSSL_AES_C)