CK_ULONG otoi(char *o)
otoi(const char *o)
CK_ULONG otoi(char *o){    CK_ULONG value = 0;    while (*o) {	if ((*o >= '0') && (*o <= '7')) {	    value = (value << 3) | (unsigned)(*o - '0');	} else {	    break;	}    }    return value;}