summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndris Kalnozols <andris@hpl.hp.com>2014-08-10 00:40:44 +0200
committerGert Doering <gert@greenie.muc.de>2014-10-14 17:35:00 +0200
commited5a400e138812cd6572845f4299f61e12716f53 (patch)
tree29f67e1050b5df0db5cdef0e7d06ebd782ae135f /src
parentbaa195b9884e276c4fd3dc0c9e8a84b89ea71cfb (diff)
downloadopenvpn-ed5a400e138812cd6572845f4299f61e12716f53.tar.gz
openvpn-ed5a400e138812cd6572845f4299f61e12716f53.tar.xz
openvpn-ed5a400e138812cd6572845f4299f61e12716f53.zip
extract_x509_extension(): hide status message during normal operation.
For each recognized extension in a certificate, extract_x509_extension() would issue an "ASN1 ERROR: can not handle field type" debug message at verb 2. Reduce that to verb 9 (D_TLS_ERRORS -> D_TLS_DEBUG) and alter the message text accordingly. Signed-off-by: Andris Kalnozols <andris@hpl.hp.com> Signed-off-by: Steffan Karger <steffan@karger.me> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <53E6A61C.7010106@karger.me> URL: http://article.gmane.org/gmane.network.openvpn.devel/8981 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src')
-rw-r--r--src/openvpn/ssl_verify_openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvpn/ssl_verify_openssl.c b/src/openvpn/ssl_verify_openssl.c
index cbcff02..56e1c11 100644
--- a/src/openvpn/ssl_verify_openssl.c
+++ b/src/openvpn/ssl_verify_openssl.c
@@ -140,8 +140,8 @@ bool extract_x509_extension(X509 *cert, char *fieldname, char *out, int size)
}
break;
default:
- msg (D_TLS_ERRORS, "ASN1 ERROR: can not handle field type %i",
- name->type);
+ msg (D_TLS_DEBUG, "%s: ignoring general name field type %i",
+ __func__, name->type);
break;
}
}