[cups.bugs] [MOD] STR #1449: CDSA SSL improvements

jlovell.apple jlovell at apple.com
Mon Feb 27 14:49:21 PST 2006


[STR New]

The current CDSA SSL code has a bug preventing it from interoperating with
Novell's iPrint; the attached patch fixes this along with some general
CDSA cleanup:

cups/http.c:
- Simpilify _httpReadCDSA & _httpWriteCDSA; they now set *dataLength on
errors and return partial reads & writes correctly.
- http_read_ssl & http_write_ssl handle errSSLWouldBlock correctly.
- Loop on SSLHandshake & SSLClose when they return errSSLWouldBlock.

scheduler/client.c:
- Loop on SSLHandshake & SSLClose when they return errSSLWouldBlock.
- Load certificates on every ssl connection so we don't miss new ones or
use old ones.

scheduler/conf.h:
scheduler/server.c:
- Remove certificates global.

cups/ppd.c:
- Free sorted_attrs array.

Thanks!

Link: http://www.cups.org/str.php?L1449
Version: 1.2-current





More information about the cups mailing list