mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
use updated API
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
parent
350fbc6546
commit
a301ea1419
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ int ssh_decode_ed25519(const unsigned char *in, unsigned long *inlen, pka_key *k
|
|||
die(err);
|
||||
}
|
||||
|
||||
if ((err = ed25519_set_key(privkey, 32, &privkey[32], 32, &key->u.ed25519)) != CRYPT_OK) {
|
||||
if ((err = ed25519_import_raw(&privkey[32], 32, PK_PRIVATE, &key->u.ed25519)) != CRYPT_OK) {
|
||||
die(err);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue