Skip to content

Commit 636ee00

Browse files
... fixed basic.c
1 parent fd7213e commit 636ee00

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pal/tlsio_adapter_basic.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "azure_c_shared_utility/xio_adapter.h"
1919
#include "azure_c_shared_utility/xio_state.h"
2020
#include "tlsio_adapter_common.h"
21+
#include "tls_adapter_common.h"
2122
#include "tls_adapter_basic.h"
2223

2324
// Opening steps are really only needed for operations that might take a while
@@ -93,7 +94,7 @@ static XIO_ASYNC_RESULT tlsio_adapter_basic_open(XIO_ADAPTER_INSTANCE_HANDLE xio
9394
}
9495
break;
9596
case OPENING_STEP_OPEN_TLS:
96-
result = tls_adapter_basic_open(context->tlsio_adapter_common.tls_adapter);
97+
result = tls_adapter_common_open(context->tlsio_adapter_common.tls_adapter);
9798
break;
9899
case OPENING_STEP_VALIDATION_FAILED:
99100
// The error is already logged
@@ -107,7 +108,7 @@ static XIO_ASYNC_RESULT tlsio_adapter_basic_open(XIO_ADAPTER_INSTANCE_HANDLE xio
107108

108109
if (result == XIO_ASYNC_RESULT_FAILURE)
109110
{
110-
(void)tlsio_adapter_basic_close(xio_adapter_in);
111+
(void)tlsio_adapter_common_close(xio_adapter_in);
111112
}
112113

113114
return result;

0 commit comments

Comments
 (0)