calling sodium_init() from ptx_new() since required for everything anyway

This commit is contained in:
TLINDEN
2015-04-18 20:26:31 +02:00
parent bfb9de1745
commit a0926f4c82

View File

@@ -40,6 +40,8 @@ PCPCTX *ptx_new() {
p->pcppubkey_hash = NULL;
p->pcpkeysig_hash = NULL;
sodium_init();
return p;
}