From 54bcd76a24bc22183fac27396de712612b6a1121 Mon Sep 17 00:00:00 2001 From: "mcgreer%netscape.com" Date: Tue, 23 May 2000 22:15:25 +0000 Subject: Added calls for BSAFE 5.0 --- security/nss/lib/freebl/fblstdlib.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'security') diff --git a/security/nss/lib/freebl/fblstdlib.c b/security/nss/lib/freebl/fblstdlib.c index 6aebd5a36..7aeb8efef 100755 --- a/security/nss/lib/freebl/fblstdlib.c +++ b/security/nss/lib/freebl/fblstdlib.c @@ -33,7 +33,7 @@ #include #include -#include +#include #include "aglobal.h" #include "bsafe.h" #include "secport.h" @@ -44,7 +44,7 @@ int c; unsigned int count; { if (count >= 0) - PORT_Memset(p, c, count); + memset(p, c, count); } void CALL_CONV T_memcpy (d, s, count) @@ -52,7 +52,7 @@ POINTER d, s; unsigned int count; { if (count >= 0) - PORT_Memcpy(d, s, count); + memcpy(d, s, count); } void CALL_CONV T_memmove (d, s, count) @@ -70,7 +70,7 @@ unsigned int count; if (count == 0) return (0); else - return(PORT_Memcmp(s1, s2, count)); + return(memcmp(s1, s2, count)); } POINTER CALL_CONV T_malloc (size) @@ -100,3 +100,21 @@ POINTER p; PORT_Free(p); } +unsigned int CALL_CONV T_strlen(p) +char *p; +{ + return PL_strlen(p); +} + +void CALL_CONV T_strcpy(dest, src) +char *dest; +char *src; +{ + PL_strcpy(dest, src); +} + +int CALL_CONV T_strcmp (a, b) +char *a, *b; +{ + return (PL_strcmp (a, b)); +} -- cgit v1.2.1