mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
corrected bug in conversion char * (from gpgme) into string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d00a33ca14
commit
6de5024634
2 changed files with 2 additions and 0 deletions
|
@ -1077,6 +1077,7 @@ bool GPGAuthMgr::DoOwnSignature_locked(void *data, unsigned int datalen, void *b
|
|||
/* now extract the data from gpgmeSig */
|
||||
size_t len = 0;
|
||||
int len2 = len;
|
||||
gpgme_data_write (gpgmeSig, "", 1); // to be able to convert it into a string
|
||||
char *export_sig = gpgme_data_release_and_get_mem(gpgmeSig, &len);
|
||||
fprintf(stderr, "GPGAuthMgr::Signature len: %d \n", len2);
|
||||
if (len < *outl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue