X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fhostap.git;a=blobdiff_plain;f=wpa_supplicant%2Fwpas_glue.c;h=62af7f6b1013472d016a6d19e8bebe9a657c53a7;hp=e98bf11474f4038609398e1c5defe88a961b3333;hb=bc0634da4a3ef468f3142fb39ebdabb08566f411;hpb=82b9de98c3d87d0a4c1447dee64011a268a438b9 diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c index e98bf1147..62af7f6b1 100644 --- a/wpa_supplicant/wpas_glue.c +++ b/wpa_supplicant/wpas_glue.c @@ -1017,15 +1017,12 @@ static void wpa_supplicant_port_cb(void *ctx, int authorized) } -static void wpa_supplicant_cert_cb(void *ctx, int depth, const char *subject, - const char *altsubject[], int num_altsubject, - const char *cert_hash, - const struct wpabuf *cert) +static void wpa_supplicant_cert_cb(void *ctx, struct tls_cert_data *cert, + const char *cert_hash) { struct wpa_supplicant *wpa_s = ctx; - wpas_notify_certification(wpa_s, depth, subject, altsubject, - num_altsubject, cert_hash, cert); + wpas_notify_certification(wpa_s, cert, cert_hash); }