Completely remove sig_algs_heap_allocated
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
diff --git a/library/ssl_misc.h b/library/ssl_misc.h
index 245b1f4..ed0f7ab 100644
--- a/library/ssl_misc.h
+++ b/library/ssl_misc.h
@@ -714,7 +714,6 @@
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
unsigned char group_list_heap_allocated;
- unsigned char sig_algs_heap_allocated;
#endif
#if defined(MBEDTLS_SSL_ECP_RESTARTABLE_ENABLED)
@@ -2317,7 +2316,6 @@
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
if (ssl->handshake != NULL &&
- ssl->handshake->sig_algs_heap_allocated == 1 &&
ssl->handshake->sig_algs != NULL) {
return ssl->handshake->sig_algs;
}