| 1004 | vector<authkey *> authkeys; |
| 1005 | |
| 1006 | authkey::authkey(const char *aname, const char *privkey) : name(NULL) |
| 1007 | { |
| 1008 | if(*aname && strlen(privkey) == 64 && hex2bin(sk, privkey, 32) == 32) |
| 1009 | { |
| 1010 | ed25519_pubkey_from_private(sk + 32, sk); |
| 1011 | name = newstring(aname); |
| 1012 | } |
| 1013 | } |
| 1014 | |
| 1015 | bool delauthkey(const char *name) |
| 1016 | { |
nothing calls this directly
no test coverage detected