]> git.pld-linux.org Git - packages/percona-server.git/blobdiff - mysql-chain-certs.patch
init: setup socket symlink on success, not earlier
[packages/percona-server.git] / mysql-chain-certs.patch
index 3b20a28031d205067e8e9058bdf7958b1f7a8ef9..3914311ba2c0891d206de00e9ca2507c003e8902 100644 (file)
@@ -13,15 +13,15 @@ See RH bug #598656.  Filed upstream at http://bugs.mysql.com/bug.php?id=54158
 diff -Naur mysql-5.1.47.orig/vio/viosslfactories.c mysql-5.1.47/vio/viosslfactories.c
 --- mysql-5.1.47.orig/vio/viosslfactories.c    2010-05-06 11:28:07.000000000 -0400
 +++ mysql-5.1.47/vio/viosslfactories.c 2010-05-26 23:23:46.000000000 -0400
-@@ -100,7 +100,7 @@
-                      (long) ctx, cert_file, key_file));
-   if (cert_file)
+@@ -106,7 +106,7 @@
+     key_file= cert_file;
+   if (cert_file &&
+-      SSL_CTX_use_certificate_file(ctx, cert_file, SSL_FILETYPE_PEM) <= 0)
++      SSL_CTX_use_certificate_chain_file(ctx, cert_file) <= 0)
    {
--    if (SSL_CTX_use_certificate_file(ctx, cert_file, SSL_FILETYPE_PEM) <= 0)
-+    if (SSL_CTX_use_certificate_chain_file(ctx, cert_file) <= 0)
-     {
-       *error= SSL_INITERR_CERT;
-       DBUG_PRINT("error",("%s from file '%s'", sslGetErrString(*error), cert_file));
+     *error= SSL_INITERR_CERT;
+     DBUG_PRINT("error",("%s from file '%s'", sslGetErrString(*error), cert_file));
 diff -Naur mysql-5.1.47.orig/extra/yassl/src/ssl.cpp mysql-5.1.47/extra/yassl/src/ssl.cpp
 --- mysql-5.1.47.orig/extra/yassl/src/ssl.cpp  2010-05-06 11:24:26.000000000 -0400
 +++ mysql-5.1.47/extra/yassl/src/ssl.cpp       2010-05-26 23:29:13.000000000 -0400
This page took 0.048101 seconds and 4 git commands to generate.