printf("Bad server certificate: %d, %s\n", err, SECU_Strerror(err));
fprintf(stderr, "Bad server certificate: %d, %s\n", err, SECU_Strerror(err));
ownBadCertHandler(void * arg, PRFileDesc * socket){    PRErrorCode err = PR_GetError();    /* can log invalid cert here */    printf("Bad server certificate: %d, %s\n", err, SECU_Strerror(err));    return SECSuccess;	/* override, say it's OK. */}