if (path[path_len] != FILE_SEP) {
if (path[path_len-1] != FILE_SEP) {
static const char *dllname =#if defined(XP_WIN32) || defined(XP_OS2)	"nssckbi.dll";#elif defined(HPUX)	"libnssckbi.sl";#elif defined(DARWIN)	"libnssckbi.dylib";#elif defined(XP_UNIX) || defined(XP_BEOS)	"libnssckbi.so";#elif defined(XP_MAC)	"NSS Builtin Root Certs";#else	#error "Uh! Oh! I don't know about this platform."#endif/* Should we have platform ifdefs here??? */#define FILE_SEP '/'static voidnss_FindExternalRoot(const char *dbpath){	char *path;	int len, path_len;	path_len = PORT_Strlen(dbpath);	len = path_len + PORT_Strlen(dllname) + 2; /* FILE_SEP + NULL */		path = PORT_Alloc(len);	if (path == NULL) return;	/* back up to the top of the directory */	PORT_Memcpy(path,dbpath,path_len);	if (path[path_len] != FILE_SEP) {	    path[path_len++] = FILE_SEP;	}	PORT_Memcpy(&path[path_len],dllname,PORT_Strlen(dllname));        path[len-1] = '\0';	(void) SECMOD_AddNewModule("Root Certs",path, 0, 0);	PORT_Free(path);	return;}