moved tls_t existance test into tls_eap_create() again

This commit is contained in:
Andreas Steffen
2010-09-08 11:09:11 +02:00
parent d2b1d4378e
commit 51b385d44d
4 changed files with 5 additions and 15 deletions
+5
View File
@@ -325,6 +325,11 @@ tls_eap_t *tls_eap_create(eap_type_t type, tls_t *tls, size_t frag_size)
{
private_tls_eap_t *this;
if (!tls)
{
return NULL;
}
INIT(this,
.public = {
.initiate = _initiate,