mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
Fix build when mbedtls is not available :-) Thanks Erik!
This commit is contained in:
parent
b67427bd3b
commit
28652d4d51
@ -40,14 +40,14 @@
|
|||||||
#include "lwip/sys.h"
|
#include "lwip/sys.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if LWIP_SNMP && LWIP_SNMP_V3 && LWIP_SNMP_V3_MBEDTLS
|
||||||
|
|
||||||
#include "mbedtls/md.h"
|
#include "mbedtls/md.h"
|
||||||
#include "mbedtls/cipher.h"
|
#include "mbedtls/cipher.h"
|
||||||
|
|
||||||
#include "mbedtls/md5.h"
|
#include "mbedtls/md5.h"
|
||||||
#include "mbedtls/sha1.h"
|
#include "mbedtls/sha1.h"
|
||||||
|
|
||||||
#if LWIP_SNMP && LWIP_SNMP_V3 && LWIP_SNMP_V3_MBEDTLS
|
|
||||||
|
|
||||||
err_t
|
err_t
|
||||||
snmpv3_auth(struct snmp_pbuf_stream* stream, u16_t length,
|
snmpv3_auth(struct snmp_pbuf_stream* stream, u16_t length,
|
||||||
const u8_t* key, u8_t algo, u8_t* hmac_out)
|
const u8_t* key, u8_t algo, u8_t* hmac_out)
|
||||||
|
Loading…
Reference in New Issue
Block a user