X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fts.c;h=341a42bb1224d9779223eafb69889330dcee213b;hb=50615b3c969d1cc2d4beb09f141c678bfe06382b;hp=6a24dcbf9e1a66b9df0b306fc67f335602aecd2f;hpb=ae5c8664e587f2445c8e4eb436cffbb64af4f6b8;p=oweals%2Fopenssl.git diff --git a/apps/ts.c b/apps/ts.c index 6a24dcbf9e..341a42bb12 100644 --- a/apps/ts.c +++ b/apps/ts.c @@ -1101,19 +1101,19 @@ static X509_STORE *create_cert_store(char *ca_path, char *ca_file) static int MS_CALLBACK verify_cb(int ok, X509_STORE_CTX *ctx) { - /*- - char buf[256]; - - if (!ok) - { - X509_NAME_oneline(X509_get_subject_name(ctx->current_cert), - buf, sizeof(buf)); - printf("%s\n", buf); - printf("error %d at %d depth lookup: %s\n", - ctx->error, ctx->error_depth, - X509_verify_cert_error_string(ctx->error)); - } - */ + /*- + char buf[256]; + + if (!ok) + { + X509_NAME_oneline(X509_get_subject_name(ctx->current_cert), + buf, sizeof(buf)); + printf("%s\n", buf); + printf("error %d at %d depth lookup: %s\n", + ctx->error, ctx->error_depth, + X509_verify_cert_error_string(ctx->error)); + } + */ return ok; }