diff options
| author | op <> | 2024-09-03 18:21:55 +0000 |
|---|---|---|
| committer | op <> | 2024-09-03 18:21:55 +0000 |
| commit | 35c0b093dbb74ae99c7aeef7270b936c658f9294 (patch) | |
| tree | 2b214983b89c328c4105a1d757775a0f94145dbe /src/lib/libc | |
| parent | ca5f6662533313cdb402c3ce9aaad36b9f6f4a86 (diff) | |
| download | openbsd-35c0b093dbb74ae99c7aeef7270b936c658f9294.tar.gz openbsd-35c0b093dbb74ae99c7aeef7270b936c658f9294.tar.bz2 openbsd-35c0b093dbb74ae99c7aeef7270b936c658f9294.zip | |
typo in comment; Effectivly -> Effectively; ok gilles@
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/net/res_random.c | 4 |
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 | * |
