]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix compile error in ssl_openssl introduced by polar external-management patch
authorArne Schwabe <arne@rfc2549.org>
Sat, 23 Nov 2013 12:40:34 +0000 (13:40 +0100)
committerGert Doering <gert@greenie.muc.de>
Sat, 23 Nov 2013 12:47:43 +0000 (13:47 +0100)
Acked-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1385210434-28364-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8039

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_openssl.c

index d6e194af13dc9393df454f594bf06b0ef18d72fe..120aa66678a822dbb84ddc5b3132c0594f1fea8a 100644 (file)
@@ -534,7 +534,7 @@ void
 tls_ctx_load_cert_file (struct tls_root_ctx *ctx, const char *cert_file,
     const char *cert_file_inline)
 {
-  tls_ctx_load_cert_file_ext(ctx, cert_file, cert_file_inline, NULL);
+  tls_ctx_load_cert_file_and_copy (ctx, cert_file, cert_file_inline, NULL);
 }
 
 void
@@ -684,7 +684,7 @@ tls_ctx_use_external_private_key (struct tls_root_ctx *ctx,
   ASSERT (NULL != ctx);
   ASSERT (NULL != cert);
 
-  tls_ctx_load_cert_file_ext(ctx, cert_file, cert_file_inline, &cert);
+  tls_ctx_load_cert_file_and_copy (ctx, cert_file, cert_file_inline, &cert);
 
   /* allocate custom RSA method object */
   ALLOC_OBJ_CLEAR (rsa_meth, RSA_METHOD);