Lines 234-240
Link Here
|
234 |
//the location of the roots module to the profile, which makes FF2 and TB2 use |
234 |
//the location of the roots module to the profile, which makes FF2 and TB2 use |
235 |
//it instead of there own module. |
235 |
//it instead of there own module. |
236 |
// |
236 |
// |
237 |
//When using SYSTEM_MOZILLA then the libnss3.so lib is typically found in |
237 |
//When using SYSTEM_NSS then the libnss3.so lib is typically found in |
238 |
///usr/lib. This folder may, however, NOT contain the roots certificate |
238 |
///usr/lib. This folder may, however, NOT contain the roots certificate |
239 |
//module. That is, just providing the library name in SECMOD_LoadUserModule or |
239 |
//module. That is, just providing the library name in SECMOD_LoadUserModule or |
240 |
//SECMOD_AddNewModule will FAIL to load the mozilla unless the LD_LIBRARY_PATH |
240 |
//SECMOD_AddNewModule will FAIL to load the mozilla unless the LD_LIBRARY_PATH |
Lines 289-295
Link Here
|
289 |
out_nss_init = true; |
289 |
out_nss_init = true; |
290 |
|
290 |
|
291 |
#ifdef XMLSEC_CRYPTO_NSS |
291 |
#ifdef XMLSEC_CRYPTO_NSS |
292 |
#if defined SYSTEM_MOZILLA |
292 |
#if defined SYSTEM_NSS |
293 |
if (!SECMOD_HasRootCerts()) |
293 |
if (!SECMOD_HasRootCerts()) |
294 |
{ |
294 |
{ |
295 |
#endif |
295 |
#endif |
Lines 298-304
Link Here
|
298 |
#if defined OS2 |
298 |
#if defined OS2 |
299 |
// YD the nss system dlls names are ending with 'k' |
299 |
// YD the nss system dlls names are ending with 'k' |
300 |
OUString rootModule(RTL_CONSTASCII_USTRINGPARAM( "nssckbik" SAL_DLLEXTENSION)); |
300 |
OUString rootModule(RTL_CONSTASCII_USTRINGPARAM( "nssckbik" SAL_DLLEXTENSION)); |
301 |
#elif defined SYSTEM_MOZILLA |
301 |
#elif defined SYSTEM_NSS |
302 |
OUString rootModule(RTL_CONSTASCII_USTRINGPARAM( "libnssckbi" SAL_DLLEXTENSION)); |
302 |
OUString rootModule(RTL_CONSTASCII_USTRINGPARAM( "libnssckbi" SAL_DLLEXTENSION)); |
303 |
#else |
303 |
#else |
304 |
OUString rootModule(RTL_CONSTASCII_USTRINGPARAM( "${OOO_BASE_DIR}/program/libnssckbi" SAL_DLLEXTENSION)); |
304 |
OUString rootModule(RTL_CONSTASCII_USTRINGPARAM( "${OOO_BASE_DIR}/program/libnssckbi" SAL_DLLEXTENSION)); |
Lines 352-358
Link Here
|
352 |
xmlsec_trace("Adding new root certificate module failed."); |
352 |
xmlsec_trace("Adding new root certificate module failed."); |
353 |
return_value = false; |
353 |
return_value = false; |
354 |
} |
354 |
} |
355 |
#if SYSTEM_MOZILLA |
355 |
#if SYSTEM_NSS |
356 |
} |
356 |
} |
357 |
#endif |
357 |
#endif |
358 |
#endif |
358 |
#endif |