diff --git a/src/tor_ctl.c b/src/tor_ctl.c index e22bee7..7822a83 100644 --- a/src/tor_ctl.c +++ b/src/tor_ctl.c @@ -60,9 +60,9 @@ int tor_ctl_add_onion(struct tor_ctl* ctx, struct tor_os_str* tos, uint16_t* por /* Complete by creating new onion services */ for (int i = tos->filled; i < tos->size; i++) { if (flags == TOR_ONION_FLAG_NONE) - fprintf(ctx->wsock, "add_onion NEW:ED25519-V3 Port=%d\n", port[i]); + fprintf(ctx->wsock, "add_onion NEW:RSA1024 Port=%d\n", port[i]); else { - fprintf(ctx->wsock, "add_onion NEW:ED25519-V3 Port=%d Flags=", port[i]); + fprintf(ctx->wsock, "add_onion NEW:RSA1024 Port=%d Flags=", port[i]); if (flags & TOR_ONION_FLAG_NON_ANONYMOUS) fprintf(ctx->wsock, "NonAnonymous,"); fprintf(ctx->wsock, "\n");