]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix OpenSSL compile problems.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 8 Oct 2008 18:27:52 +0000 (18:27 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 8 Oct 2008 18:27:52 +0000 (18:27 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@8028 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/client.c

index abd704116467786997d07cb6ed6a1e2e83c61f79..fb2c51807859e4cb40889b43a1a3299326ac0209 100644 (file)
@@ -3093,10 +3093,9 @@ encrypt_client(cupsd_client_t *con)      /* I - Client to encrypt */
 
   SSL_CTX_set_options(context, SSL_OP_NO_SSLv2); /* Only use SSLv3 or TLS */
   if (SSLOptions & CUPSD_SSL_NOEMPTY)
-    SSL_CTX_set_options(context, SSL_OP_DONTS_INSERT_EMPTY_FRAGMENTS);
+    SSL_CTX_set_options(context, SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS);
   SSL_CTX_use_PrivateKey_file(context, ServerKey, SSL_FILETYPE_PEM);
-  SSL_CTX_use_certificate_chain_file(context, ServerCertificate,
-                                     SSL_FILETYPE_PEM);
+  SSL_CTX_use_certificate_chain_file(context, ServerCertificate);
 
   bio = BIO_new(_httpBIOMethods());
   BIO_ctrl(bio, BIO_C_SET_FILE_PTR, 0, (char *)HTTP(con));