ueno / ruby-gpgme

a ruby interface to GnuPG Made Easy (GPGME).
GNU Lesser General Public License v2.1
232 stars 99 forks source link

Segfault when trying to call GPGME::Ctx#decrypt_result before decrypting #57

Closed davout closed 9 years ago

davout commented 9 years ago

When calling GPGME::Ctx#decrypt_result before actually decrypting, I get a full-blown segfault instead of an exception.

Commented-out failing test included in https://github.com/ueno/ruby-gpgme/pull/58

ueno commented 9 years ago

thanks; pushed a fix 86a09560