projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3020230
)
[win32] Fixed libcurl initialization when the env variable OPENSSL_CONF points to...
author
Anton Fedchin
<afedchin@ruswizards.com>
Tue, 16 Jun 2015 20:55:40 +0000
(23:55 +0300)
committer
Anton Fedchin
<afedchin@ruswizards.com>
Tue, 16 Jun 2015 20:55:40 +0000
(23:55 +0300)
xbmc/win32/XBMC_PC.cpp
patch
|
blob
|
history
diff --git
a/xbmc/win32/XBMC_PC.cpp
b/xbmc/win32/XBMC_PC.cpp
index
99c763b
..
4adf1dc
100644
(file)
--- a/
xbmc/win32/XBMC_PC.cpp
+++ b/
xbmc/win32/XBMC_PC.cpp
@@
-53,6
+53,10
@@
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR commandLine, INT )
// set up some xbmc specific relationships
XBMC::Context context;
+ // this fixes crash if OPENSSL_CONF is set to existed openssl.cfg
+ // need to set it as soon as possible
+ SetEnvironmentVariable("OPENSSL_CONF", "");
+
//this can't be set from CAdvancedSettings::Initialize() because it will overwrite
//the loglevel set with the --debug flag
#ifdef _DEBUG