mbedtls: another cosmetic ifdef fix
authorFelix Fietkau <nbd@nbd.name>
Thu, 18 Apr 2024 11:17:34 +0000 (13:17 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 18 Apr 2024 11:17:34 +0000 (13:17 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
ustream-mbedtls.c

index 461e45f5fb1ae9ae0b6338bc95c83e5378230adc..6b8e1c0fc0c541fb3e28e9406ffadc6ef4d40fad 100644 (file)
@@ -418,8 +418,8 @@ static int ssl_check_return(struct ustream_ssl *us, int ret)
 #endif
 #ifdef MBEDTLS_ECP_RESTARTABLE
        case MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS:
-#endif
                return U_SSL_RETRY;
+#endif
        case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
        case MBEDTLS_ERR_NET_CONN_RESET:
                return 0;