Alternative to @alvesh88's #67 but rebased (diff is the same, commits are similar). @alvesh88, @frlan, tell me if you're fine with that.
Fix bug 3557458 -- when encrypting selected text a 0 byte gets added …
…to the text that's being encrypted
Fixed compiler warnings
I didn't see anything bad. The -Wunused I already fixed in master ;)
Merge pull request #69 from b4n/alvesh88/master-fixed
Fix bug 3557458 and some compiler warnings