mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
calling sodium_init() from ptx_new() since required for everything anyway
This commit is contained in:
@@ -40,6 +40,8 @@ PCPCTX *ptx_new() {
|
|||||||
p->pcppubkey_hash = NULL;
|
p->pcppubkey_hash = NULL;
|
||||||
p->pcpkeysig_hash = NULL;
|
p->pcpkeysig_hash = NULL;
|
||||||
|
|
||||||
|
sodium_init();
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user