jshort index;
jint index;
getAlgInfo(JNIEnv *env, jobject alg, JSS_AlgInfo *info){    jshort index;    PRStatus status;    PR_ASSERT(env!=NULL && alg!=NULL && info!=NULL);    index = getAlgIndex(env, alg);    if( index == -1 ) {        goto finish;    }	*info = JSS_AlgTable[index];    status = PR_SUCCESS;finish:    return status;}