]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- load all certs from a file and not just one
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 29 Dec 2011 21:33:42 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql-sslchain.patch -> 1.1.2.1

mysql-sslchain.patch [new file with mode: 0644]

diff --git a/mysql-sslchain.patch b/mysql-sslchain.patch
new file mode 100644 (file)
index 0000000..f006805
--- /dev/null
@@ -0,0 +1,11 @@
+--- mysql-4.0.30/vio/viosslfactories.c~        2007-02-12 20:38:48.000000000 +0100
++++ mysql-4.0.30/vio/viosslfactories.c 2011-12-29 22:31:44.462803743 +0100
+@@ -84,7 +84,7 @@
+                      ctx, cert_file, key_file));
+   if (cert_file != NULL)
+   {
+-    if (SSL_CTX_use_certificate_file(ctx,cert_file,SSL_FILETYPE_PEM) <= 0)
++    if (SSL_CTX_use_certificate_chain_file(ctx,cert_file,SSL_FILETYPE_PEM) <= 0)
+     {
+       DBUG_PRINT("error",("unable to get certificate from '%s'\n",cert_file));
+       /* FIX stderr */
This page took 0.037459 seconds and 4 git commands to generate.