try alternate library name

This commit is contained in:
Adam D. Ruppe 2021-09-18 07:33:29 -04:00
parent 75baf2b591
commit feb66fc4ef
1 changed files with 5 additions and 0 deletions

View File

@ -2667,6 +2667,11 @@ version(use_openssl) {
} else version(Windows) {
ossllib_handle = LoadLibraryW("libssl32.dll"w.ptr);
oeaylib_handle = LoadLibraryW("libeay32.dll"w.ptr);
if(ossllib_handle is null) {
ossllib_handle = LoadLibraryW("ssleay32.dll"w.ptr);
oeaylib_handle = ossllib_handle;
}
}
if(ossllib_handle is null)