Re: gpgme & gpgme_data_write problem

2005-04-24 Thread Tyler Retzlaff
bah, have to gpgme_data_seek(plain, 0, SEEK_SET); before encrypting. Seems kind of obvious now, but maybe should have been documented. Tyler Retzlaff wrote: I'm using the following piece of code which is heavily derived from that found in the gpgme/test directory. (With error checking removed f

gpgme & gpgme_data_write problem

2005-04-24 Thread Tyler Retzlaff
I'm using the following piece of code which is heavily derived from that found in the gpgme/test directory. (With error checking removed for clarity, though in the real code all error checking is being done) The problem is when I use gpgme_data_write() to enter the text into the plain text dat