diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-09-29 19:58:16 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-22 18:21:13 +0200 |
commit | 58ddb7b89240e4a484c5171be6df285563eda392 (patch) | |
tree | a870c6d8ce92cf0d512ab989f2b7bcafd9d56ed8 /ssl_verify_openssl.c | |
parent | 2e791e6577db296b1b34379e3308a96c2f49afa9 (diff) | |
download | openvpn-58ddb7b89240e4a484c5171be6df285563eda392.tar.gz openvpn-58ddb7b89240e4a484c5171be6df285563eda392.tar.xz openvpn-58ddb7b89240e4a484c5171be6df285563eda392.zip |
Fixed a typo: print the subject instead of the serial for verification errors
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: James Yonan <james@openvpn.net>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'ssl_verify_openssl.c')
-rw-r--r-- | ssl_verify_openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl_verify_openssl.c b/ssl_verify_openssl.c index 5f30594..4f090e6 100644 --- a/ssl_verify_openssl.c +++ b/ssl_verify_openssl.c @@ -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) { |