diff options
author | Jean-Paul Calderone <exarkun@divmod.com> | 2010-08-22 17:38:30 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@divmod.com> | 2010-08-22 17:38:30 -0400 |
commit | add7bf043905420f8f4d7e7c04d138b8418df173 (patch) | |
tree | 84180d8c4123cc1e42bd8d3ca4dba176ee54e19e /OpenSSL/py3k.h | |
parent | 07640f1c9a1cfecbad1ca51563c0b585eaf96adc (diff) | |
download | pyopenssl-add7bf043905420f8f4d7e7c04d138b8418df173.tar.gz |
Fix the PKCS12 str/unicode usage in tests
Diffstat (limited to 'OpenSSL/py3k.h')
-rw-r--r-- | OpenSSL/py3k.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSSL/py3k.h b/OpenSSL/py3k.h index 2191526..2827f1f 100644 --- a/OpenSSL/py3k.h +++ b/OpenSSL/py3k.h @@ -19,6 +19,8 @@ PyInit_##name(void) #define PyOpenSSL_MODRETURN(module) { return module; } +#define FMT(name) ("y" name) + #else /* (PY_VERSION_HEX >= 0x03000000) */ #define PyOpenSSL_MODRETURN(module) { return; } @@ -45,6 +47,8 @@ PyInit_##name(void) void \ init##name(void) +#define FMT(name) ("s" name) + #endif /* (PY_VERSION_HEX >= 0x03000000) */ #endif /* PyOpenSSL_PY3K_H_ */ |