Try with good old keys...
This commit is contained in:
parent
2ed3b94e24
commit
e2426741aa
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
/* Complete by creating new onion services */
|
||||||
for (int i = tos->filled; i < tos->size; i++) {
|
for (int i = tos->filled; i < tos->size; i++) {
|
||||||
if (flags == TOR_ONION_FLAG_NONE)
|
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 {
|
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)
|
if (flags & TOR_ONION_FLAG_NON_ANONYMOUS)
|
||||||
fprintf(ctx->wsock, "NonAnonymous,");
|
fprintf(ctx->wsock, "NonAnonymous,");
|
||||||
fprintf(ctx->wsock, "\n");
|
fprintf(ctx->wsock, "\n");
|
||||||
|
|
Loading…
Reference in a new issue