Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
Fixed a typo: print the subject instead of the serial for verificatio…
Browse files Browse the repository at this point in the history
…n errors

Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
  • Loading branch information
andj committed Sep 29, 2011
1 parent 8e6d022 commit 86338fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl_verify_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ verify_callback (int preverify_ok, X509_STORE_CTX * ctx)
if (!preverify_ok)
{
/* get the X509 name */
char *subject = x509_get_serial(ctx->current_cert);
char *subject = x509_get_subject(ctx->current_cert);

if (subject)
{
Expand Down

0 comments on commit 86338fd

Please sign in to comment.