summaryrefslogtreecommitdiff
path: root/sal/osl/unx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-09-09 10:45:31 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-09-09 10:45:31 +0000
commit4cd786107567b8eafdded2e7e921d31f9d1fbf86 (patch)
treed7b0c48849554b454637cc063531e4dee9d8b331 /sal/osl/unx
parentff30152cb45e4e53415c493d71e757311811a412 (diff)
INTEGRATION: CWS ooo20040815 (1.11.52); FILE MERGED
2004/07/30 19:50:17 rene 1.11.52.1: #i31187# dlopen()'ing lib{pam.crypto}.so instead of so.{0,1} dlopen() libpam.so.0 and libcrypt.so.1
Diffstat (limited to 'sal/osl/unx')
-rw-r--r--sal/osl/unx/security.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/osl/unx/security.c b/sal/osl/unx/security.c
index 0d0df181fe81..d9d46d9b5c63 100644
--- a/sal/osl/unx/security.c
+++ b/sal/osl/unx/security.c
@@ -2,9 +2,9 @@
*
* $RCSfile: security.c,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2004-03-30 16:29:43 $
+ * last change: $Author: hr $ $Date: 2004-09-09 11:45:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -252,7 +252,7 @@ static sal_PamModule* osl_getPAM()
(but not for PAM-0.66 RH 6.0) */
void *pam_hdl;
- pam_hdl = dlopen( "libpam.so", RTLD_GLOBAL | RTLD_LAZY );
+ pam_hdl = dlopen( "libpam.so.0", RTLD_GLOBAL | RTLD_LAZY );
if ( pam_hdl != NULL )
pam_module = (sal_PamModule*)calloc( 1, sizeof(sal_PamModule) );
@@ -345,7 +345,7 @@ osl_getCrypt()
{
oslModule crypt_library;
- crypt_library = osl_psz_loadModule( "libcrypt.so", SAL_LOADMODULE_DEFAULT ); /* never closed */
+ crypt_library = osl_psz_loadModule( "libcrypt.so.1", SAL_LOADMODULE_DEFAULT ); /* never closed */
if ( crypt_library != NULL )
crypt_sym = (char* (*)(const char *, const char *)) osl_psz_getSymbol(crypt_library, "crypt" );
if ( crypt_sym == NULL ) /* no libcrypt or libcrypt without crypt */
@@ -358,7 +358,7 @@ osl_getCrypt()
}
/* replacement for crypt function for password encryption, uses either
- strong encryption of dlopened libcrypt.so or dummy implementation
+ strong encryption of dlopened libcrypt.so.1 or dummy implementation
with no encryption. Objective target is to avoid linking against
libcrypt (not available on caldera open linux 2.2 #63822#) */
static sal_Char* SAL_CALL