[cups.general] Someone Know The Error 127

ß10f@ ††K fabiosk at gmail.com
Wed Oct 8 11:52:46 PDT 2008


o.O
how i use this patch?

2008/10/8 Michael R Sweet <msweet at apple.com>

> ß10f@ ††K wrote:
> > # ./configure
> > ....
> > checking openssl/ssl.h usability... yes
> > checking openssl/ssl.h presence... yes
> > checking for openssl/ssl.h... yes
> > checking for SSL_new in -lssl... yes
> >     Using SSLLIBS="-lssl -lcrypto"
> >     Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT"
> > ....
> > # make
> > .....
> > client.c: In function 'encrypt_client':
> > client.c:3096: error: 'SSL_OP_DONTS_INSERT_EMPTY_FRAGMENTS' undeclared
> > (first use in this function)
>
> Sigh...  The following patch fixes this:
>
> Index: client.c
> ===================================================================
> --- client.c    (revision 8027)
> +++ client.c    (working copy)
> @@ -3093,10 +3093,9 @@
>
>    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));
>
>
>
> --
> ______________________________________________________________________
> Michael R Sweet                        Senior Printing System Engineer
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20081008/2d059d84/attachment-0001.html>


More information about the cups mailing list