A secure user
Jim Hranicky
jfh at cise.ufl.edu
Thu Apr 20 13:29:06 PDT 2006
[ crud, messed up the last message ]
> > But the addition of the cert parameter will require an addition to
> > the HTTP API in the client library so that http_setup_ssl() will
> > use it when negotiating the secure link. *Or* you can duplicate
> > all of the SSL code in the IPP backend... ;)
>
> Ah, I see. Ok, let me ponder a bit.
One way to do it from the backend would be to parse the DEVICE_URI
environment variable -- it's available to the call to http_setup_ssl()
from the backend, but I don't know if that's the best way in general
if you want to add generic cert support.
Other than that, I think the options would be
- add parameters to http_setup_ssl()
- grap it from a global variable
- grab the uri from the http_t parameter
Is the uri already passed in via the http_t struct?
Do you have an opinion on the best way to do this?
Jim
More information about the cups
mailing list