aboutsummaryrefslogtreecommitdiff
path: root/ssl.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-11-18 18:47:06 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-11-18 18:47:06 +0100
commite98124dfbabfa78e9bf6e841ffcc8e04868df331 (patch)
treeb1e9bad1d16b04c2c3ed37710af14d91b0fad3e0 /ssl.c
parentFixed compiling issues when using --disable-crypto (diff)
parentFixes to prevent compile breakage when --disable-crypto is used. (diff)
downloadopenvpn-e98124dfbabfa78e9bf6e841ffcc8e04868df331.tar.xz
Merge branch 'svn-BETA21' into bugfix2.1
Diffstat (limited to 'ssl.c')
-rw-r--r--ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl.c b/ssl.c
index 385353e..7618c8f 100644
--- a/ssl.c
+++ b/ssl.c
@@ -1014,13 +1014,13 @@ verify_callback (int preverify_ok, X509_STORE_CTX * ctx)
msg (D_HANDSHAKE, "VERIFY OK: depth=%d, %s", ctx->error_depth, subject);
session->verified = true;
- free (subject);
+ OPENSSL_free (subject);
argv_reset (&argv);
return 1; /* Accept connection */
err:
ERR_clear_error ();
- free (subject);
+ OPENSSL_free (subject);
argv_reset (&argv);
return 0; /* Reject connection */
}