firepear / petrel

It's like SQLite, but for networking
MIT License
20 stars 1 forks source link

Make HMAC support a build flag? #66

Open firepear opened 2 years ago

firepear commented 2 years ago

Surrounding all HMAC-handling code with an if HMAC_CONST type situation, and adding a build tag const file

https://www.reddit.com/r/golang/comments/a8xb0x/comment/ecenc1c/?utm_source=reddit&utm_medium=web2x&context=3

Would make it possible to have the HMAC code not even exist if someone knows it isn't needed for their application.