summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-01 03:56:37 +0200
committerdefault <nobody@localhost>2023-04-01 03:56:37 +0200
commitb19c68622d926e7c01de4bb6fa115457036b5a96 (patch)
treee5f6e6b260e0006b52b84a3d38cd3afdc9f8bfe8 /utils.c
parentc83b601f901553318d528f2e8a207a8461f88574 (diff)
Deleted OpenSSL that uses deprecated functions.
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index cdfa2e6..24a6be6 100644
--- a/utils.c
+++ b/utils.c
@@ -295,7 +295,7 @@ int adduser(const char *uid)
}
printf("\nCreating RSA key...\n");
- key = xs_rsa_genkey(4096);
+ key = xs_evp_genkey(4096);
printf("Done.\n");
xs *kfn = xs_fmt("%s/key.json", basedir);