return PK11_FindCertFromNickname(nickname, NULL);
CERT_FindCertByNickname(CERTCertDBHandle *handle, char *nickname){    NSSCryptoContext *cc;    NSSCertificate *c;    NSSUsage usage;    usage.anyUsage = PR_TRUE;    cc = STAN_GetDefaultCryptoContext();    c = NSSCryptoContext_FindBestCertificateByNickname(cc, nickname,                                                        NULL, &usage, NULL);    if (c) {	return STAN_GetCERTCertificate(c);    }    return PK11_FindCertFromNickname(nickname, NULL);}