summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorop <>2024-09-03 18:21:55 +0000
committerop <>2024-09-03 18:21:55 +0000
commit899beb126a718caf4693f0bd0bd02572643faa3a (patch)
tree2b214983b89c328c4105a1d757775a0f94145dbe /src
parentada42989603817a428e0132199607811d9f06ca6 (diff)
downloadopenbsd-899beb126a718caf4693f0bd0bd02572643faa3a.tar.gz
openbsd-899beb126a718caf4693f0bd0bd02572643faa3a.tar.bz2
openbsd-899beb126a718caf4693f0bd0bd02572643faa3a.zip
typo in comment; Effectivly -> Effectively; ok gilles@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/net/res_random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c
index 3f642a138c..447a2409bd 100644
--- a/src/lib/libc/net/res_random.c
+++ b/src/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_random.c,v 1.26 2022/12/27 17:10:06 jmc Exp $ */ 1/* $OpenBSD: res_random.c,v 1.27 2024/09/03 18:21:55 op Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -51,7 +51,7 @@
51 * The transaction id is determined by: 51 * The transaction id is determined by:
52 * id[n] = seed xor (g^X[n] mod n) 52 * id[n] = seed xor (g^X[n] mod n)
53 * 53 *
54 * Effectivly the id is restricted to the lower 15 bits, thus 54 * Effectively the id is restricted to the lower 15 bits, thus
55 * yielding two different cycles by toggling the msb on and off. 55 * yielding two different cycles by toggling the msb on and off.
56 * This avoids reuse issues caused by reseeding. 56 * This avoids reuse issues caused by reseeding.
57 * 57 *