EionRobb / pidgin-opensteamworks

Steam plugin for Pidgin/libpurple
153 stars 5 forks source link

steam_rsa: add libgcrypt as crypto backend #109

Closed flocke closed 9 years ago

flocke commented 9 years ago

This adds libgcrypt as possible crypto provider to steam_rsa.c and to the Makefile (disabled by default). The implementation is taken from bitlbee-steam and the credits are given in a comment in steam_rsa.c. Since bitlebee-steam is under GPL-2 and libgcrypt under LGPL-2.1 this should be fine with the requirements for the pidgin/purple plugins.

EionRobb commented 9 years ago

Whoops, I think those nested if (G_UNLIKELY(res == 0)) { blocks needed to be G_LIKELY's instead?

flocke commented 9 years ago

Oh, yes ... they probably should be ... will update soon ;)

EionRobb commented 9 years ago

Thanks again :)