diff options
Diffstat (limited to 'src/libstrongswan/crypto/prfs/mac_prf.c')
-rw-r--r-- | src/libstrongswan/crypto/prfs/mac_prf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/prfs/mac_prf.c b/src/libstrongswan/crypto/prfs/mac_prf.c index 6215a4bec..489797fb7 100644 --- a/src/libstrongswan/crypto/prfs/mac_prf.c +++ b/src/libstrongswan/crypto/prfs/mac_prf.c @@ -35,10 +35,11 @@ struct private_prf_t { mac_t *mac; }; -METHOD(prf_t, get_bytes, void, +METHOD(prf_t, get_bytes, bool, private_prf_t *this, chunk_t seed, u_int8_t *buffer) { this->mac->get_mac(this->mac, seed, buffer); + return TRUE; } METHOD(prf_t, allocate_bytes, void, |