Created
November 28, 2014 11:07
-
-
Save weissjeffm/24b08a317297569fb938 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) list | |
404 // | |
405 extern "C" { | |
406 int register_nym(const char* NOTARY_ID, const char* NYM_ID, char* result, | |
407 unsigned int result_size) | |
408 { | |
409 if (MadeEasy::register_nym(NOTARY_ID, NYM_ID).size() >= result_size) { | |
410 return -1; | |
411 } | |
412 strcpy(result, MadeEasy::register_nym(NOTARY_ID, NYM_ID).c_str()); | |
413 return 0; | |
(gdb) print NYM_ID | |
$1 = 0xa10490 "o" | |
(gdb) print NOTARY_ID | |
$2 = 0xa20fd0 "o" | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment