win32 workarounds
This commit is contained in:
parent
078b8b8193
commit
0cb3570746
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -34,6 +34,11 @@
|
|||
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
// Windows may define this macro inappropriately.
|
||||
#ifdef WIN32
|
||||
#undef X509_NAME
|
||||
#endif
|
||||
|
||||
class Filename;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue