summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteffan Karger <steffan@karger.me>2014-10-25 11:54:11 +0200
committerGert Doering <gert@greenie.muc.de>2014-10-25 12:40:17 +0200
commit6e469f46e94b2bd0fc1509f2bfbda4d6b5374b14 (patch)
tree440916c44019c91d31852b14fa2d66e41ebdc5ef /src
parent35b2ffdcf3f48f4a500cb8ad22330ca3454e6149 (diff)
downloadopenvpn-6e469f46e94b2bd0fc1509f2bfbda4d6b5374b14.tar.gz
openvpn-6e469f46e94b2bd0fc1509f2bfbda4d6b5374b14.tar.xz
openvpn-6e469f46e94b2bd0fc1509f2bfbda4d6b5374b14.zip
Remove unused variables from ssl_verify_openssl.c extract_x509_extension()
Signed-off-by: Steffan Karger <steffan@karger.me> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1414230851-5350-1-git-send-email-steffan@karger.me> URL: http://article.gmane.org/gmane.network.openvpn.devel/9195 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src')
-rw-r--r--src/openvpn/ssl_verify_openssl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openvpn/ssl_verify_openssl.c b/src/openvpn/ssl_verify_openssl.c
index de8c3b3..e1118d6 100644
--- a/src/openvpn/ssl_verify_openssl.c
+++ b/src/openvpn/ssl_verify_openssl.c
@@ -97,9 +97,7 @@ static
bool extract_x509_extension(X509 *cert, char *fieldname, char *out, int size)
{
bool retval = false;
- X509_EXTENSION *pExt;
char *buf = 0;
- int length = 0;
GENERAL_NAMES *extensions;
int nid = OBJ_txt2nid(fieldname);