added configure flag --with-python-binding

This commit is contained in:
TLINDEN
2014-12-14 14:39:10 +01:00
parent 9e71b84c85
commit 7d76d41944
6 changed files with 31 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ int main() {
Pcpstream *clear_in, *crypt_out, *clear_out;
PCPCTX *ptx;
char message[] = "hello world";
printf("hh: %ld\n", sizeof(UT_hash_handle));
/* we always need a context */
ptx = ptx_new();
@@ -15,6 +15,8 @@ int main() {
alice = pcpkey_new();
bob = pcpkey_new();
pcpkey_setowner(alice, "alicia", "alicia@local");
/* get the public parts of them */
alicepub = pcpkey_pub_from_secret(alice);
bobpub = pcpkey_pub_from_secret(bob);