s=X509_NAME_oneline(X509_get_subject_name(ctx->current_cert),buf,256);
s=X509_NAME_oneline(X509_get_subject_name(ctx->current_cert),buf, sizeof buf);
static int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)	{	char *s,buf[256];	s=X509_NAME_oneline(X509_get_subject_name(ctx->current_cert),buf,256);	if (s != NULL)		{		if (ok)			fprintf(stderr,"depth=%d %s\n",ctx->error_depth,buf);		else			fprintf(stderr,"depth=%d error=%d %s\n",				ctx->error_depth,ctx->error,buf);		}	if (ok == 0)		{		switch (ctx->error)			{		case X509_V_ERR_CERT_NOT_YET_VALID:		case X509_V_ERR_CERT_HAS_EXPIRED:		case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:			ok=1;			}		}	return(ok);	}