Bug 194309: replaced freebl_GetLibraryFilePathname by the new NSPR 4.3

function PR_GetLibraryFilePathname.
Modified files: config.mk manifest.mn shvfy.c


git-svn-id: svn://10.0.0.236/trunk@138057 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com
2003-02-21 00:41:24 +00:00
parent 721f5f18ad
commit c30bd7cdf0
3 changed files with 2 additions and 15 deletions

View File

@@ -100,9 +100,4 @@ PROGRAM =
-lc
#endif
ifeq ($(OS_TARGET), SunOS)
EXTRA_LIBS += \
-ldl
endif
endif

View File

@@ -97,7 +97,6 @@ CSRCS = \
dsa.c \
rsa.c \
shvfy.c \
libpath.c \
$(MPI_SRCS) \
$(NULL)
endif

View File

@@ -33,7 +33,7 @@
*
* shvfy.c - routines to verify signature on a shared library.
*
* $Id: shvfy.c,v 1.4 2003-02-14 05:32:35 wtc%netscape.com Exp $
* $Id: shvfy.c,v 1.5 2003-02-21 00:41:24 wtc%netscape.com Exp $
*/
#include "shsign.h"
@@ -43,13 +43,6 @@
#include "seccomon.h"
#include "stdio.h"
#ifndef NSPR_HAS_FILEPATH_FUNC
char *
freebl_GetLibraryFilePathname(const char *name, PRFuncPtr addr);
#else
#define freebl_GetLibraryFilePathname NSPR_GetLibraryFilePathname
#endif
/* #define DEBUG_SHVERIFY 1 */
static char *
@@ -107,7 +100,7 @@ PRBool
BLAPI_SHVerify(const char *name, PRFuncPtr addr)
{
/* find our shared library name */
char *shName = freebl_GetLibraryFilePathname(name, addr);
char *shName = PR_GetLibraryFilePathname(name, addr);
char *checkName = NULL;
PRFileDesc *checkFD = NULL;
PRFileDesc *shFD = NULL;