win32 workarounds

This commit is contained in:
David Rose 2002-10-02 01:38:31 +00:00
parent 078b8b8193
commit 0cb3570746
2 changed files with 6 additions and 1 deletions

View File

@ -954,7 +954,7 @@ parse_x509_name(const string &source) {
}
}
int nid = OBJ_txt2nid(type.c_str());
int nid = OBJ_txt2nid((char *)type.c_str());
if (nid == NID_undef) {
downloader_cat.info()
<< "Unknown type " << type << " in X509 name: " << source

View File

@ -34,6 +34,11 @@
#include <openssl/ssl.h>
// Windows may define this macro inappropriately.
#ifdef WIN32
#undef X509_NAME
#endif
class Filename;
////////////////////////////////////////////////////////////////////