forked from wolfSSL/wolfssl
handel poly1305 warning and clean up commented out compatibility layer includes
This commit is contained in:
@ -19,9 +19,6 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
/* Name change compatibility layer */
|
||||
//#include <cyassl/ssl.h>
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
|
@ -2311,6 +2311,7 @@ static int SetAuthKeys(OneTimeAuth* authentication, Keys* keys,
|
||||
(Poly1305*)XMALLOC(sizeof(Poly1305), heap, DYNAMIC_TYPE_CIPHER);
|
||||
if (authentication && authentication->poly1305 == NULL)
|
||||
return MEMORY_E;
|
||||
if (authentication)
|
||||
authentication->setup = 1;
|
||||
#endif
|
||||
(void)heap;
|
||||
|
Reference in New Issue
Block a user