Bug found by Simon Lundström and jocar.
Conflicts:
radsecproxy-hash.c
/*
- * Copyright (C) 2011 NORDUnet A/S
+ * Copyright (C) 2011,2013 NORDUnet A/S
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#if defined(READ_CONFIG)
char *config = NULL;
#endif
- uint8_t buf[256];
+ uint8_t buf[64+1];
char mac[80+1];
uint8_t *key = NULL;
enum { TYPE_HASH, TYPE_HMAC } type = TYPE_HASH;