Fix build when mbedtls is not available :-) Thanks Erik!

This commit is contained in:
Dirk Ziegelmeier 2016-04-04 22:07:50 +02:00
parent b67427bd3b
commit 28652d4d51

View File

@ -40,14 +40,14 @@
#include "lwip/sys.h"
#include <string.h>
#if LWIP_SNMP && LWIP_SNMP_V3 && LWIP_SNMP_V3_MBEDTLS
#include "mbedtls/md.h"
#include "mbedtls/cipher.h"
#include "mbedtls/md5.h"
#include "mbedtls/sha1.h"
#if LWIP_SNMP && LWIP_SNMP_V3 && LWIP_SNMP_V3_MBEDTLS
err_t
snmpv3_auth(struct snmp_pbuf_stream* stream, u16_t length,
const u8_t* key, u8_t algo, u8_t* hmac_out)