commit | 4be0be518501cfbff11b1e84d21efac8c533ebf6 | [log] [tgz] |
---|---|---|
author | Glade Diviney <mopriadevteam@gmail.com> | Mon Nov 19 17:03:06 2018 -0800 |
committer | Glade Diviney <mopriadevteam@gmail.com> | Mon Nov 19 17:03:06 2018 -0800 |
tree | e625c128038ef3c5f95944cb2da69dd8d4815ef6 | |
parent | 786d28e92e1e66a8bd474b6d0bc50e1a346e44aa [diff] |
Invoke certificate callback upon https connection The change in https://android-review.googlesource.com/c/platform/packages/services/BuiltInPrintService/+/831249 requires notification by libcups to any registered server_cert_cb callback. This addition obtains the X509 certificate public key, wraps it in a CUPS array, and delivers it. If the callback exists and returns an error (meaning the certificate was rejected) the communication fails. Test: See related change above. Change-Id: I64f0794af392eb883ba48c46a9bf79ccbca72f66 Signed-off-by: Glade Diviney <mopriadevteam@gmail.com>