summaryrefslogtreecommitdiff
path: root/OpenSSL/ssl/ssl.c
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@divmod.com>2010-10-31 21:04:50 -0400
committerJean-Paul Calderone <exarkun@divmod.com>2010-10-31 21:04:50 -0400
commitc7562c34d3180bfd8c73810ce3221c04ef1193b2 (patch)
tree558578bad5c5256253c07dfcf1f2b6e81ebc77df /OpenSSL/ssl/ssl.c
parentbe6b927474f4c06381ba3a3d660ef7315894d47d (diff)
downloadpyopenssl-c7562c34d3180bfd8c73810ce3221c04ef1193b2.tar.gz
diagnostic
Diffstat (limited to 'OpenSSL/ssl/ssl.c')
-rw-r--r--OpenSSL/ssl/ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSSL/ssl/ssl.c b/OpenSSL/ssl/ssl.c
index 974c0ce..c0323d6 100644
--- a/OpenSSL/ssl/ssl.c
+++ b/OpenSSL/ssl/ssl.c
@@ -75,7 +75,7 @@ PyOpenSSL_MODINIT(SSL) {
import_crypto();
#else
# ifdef WINDOWS
- #warn "Windows"
+ #warning "Windows"
HMODULE crypto = GetModuleHandle("crypto.pyd");
if (crypto == NULL) {
PyErr_SetString(PyExc_RuntimeError, "Unable to get crypto module");
@@ -84,7 +84,7 @@ PyOpenSSL_MODINIT(SSL) {
new_x509name = GetProcAddress(crypto, "crypto_X509Name_New");
# else
- #warn "Not windows"
+ #warning "Not windows"
new_x509name = crypto_X509Name_New;
# endif
#endif