]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - src/libcharon/plugins/eap_peap/eap_peap.c
Implemented TLS session resumption both as client and as server
[thirdparty/strongswan.git] / src / libcharon / plugins / eap_peap / eap_peap.c
index 5bae0fa9b61948acd5d0f94eb00b4f73e6c741ec..bd426bba7cae36ed91a3a22c31ae4feac65f65fc 100644 (file)
@@ -166,7 +166,8 @@ static eap_peap_t *eap_peap_create(private_eap_peap_t * this,
                                        "charon.plugins.eap-peap.max_message_count", MAX_MESSAGE_COUNT);
        include_length = lib->settings->get_bool(lib->settings,
                                        "charon.plugins.eap-peap.include_length", FALSE);
-       tls = tls_create(is_server, server, peer, TLS_PURPOSE_EAP_PEAP, application);
+       tls = tls_create(is_server, server, peer, TLS_PURPOSE_EAP_PEAP,
+                                        application, NULL);
        this->tls_eap = tls_eap_create(EAP_PEAP, tls, frag_size, max_msg_count,
                                                                                                  include_length);
        if (!this->tls_eap)