Commit 4be0be51 authored by Glade Diviney's avatar Glade Diviney
Browse files

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: default avatarGlade Diviney <mopriadevteam@gmail.com>
parent 786d28e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment