]> granicus.if.org Git - python/commitdiff
Issue #18747: Fix spelling errors in my commit message and comments,
authorChristian Heimes <christian@cheimes.de>
Sun, 25 Aug 2013 12:19:16 +0000 (14:19 +0200)
committerChristian Heimes <christian@cheimes.de>
Sun, 25 Aug 2013 12:19:16 +0000 (14:19 +0200)
thanks to Vajrasky Kok for proof-reading.

Misc/NEWS
Modules/_ssl.c

index e93858a3339fc35544e19e7579b9a1ee4afb4eff..3e1a486120633dbef6b8ca63807e0b255b50edf6 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,7 +44,7 @@ Library
   module will be called in a deterministic order.
 
 - Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
-  A pthread_atfork() parent handler is used to seeded the PRNG with pid, time
+  A pthread_atfork() parent handler is used to seed the PRNG with pid, time
   and some stack data.
 
 - Issue #8865: Concurrent invocation of select.poll.poll() now raises a
index 1839dc07114c6d337090710fb1d7d47fcf6beceb..5ddbb1dc222ccf48f651395438510e3c4db7cd6f 100644 (file)
@@ -1629,7 +1629,7 @@ fails or if it does not provide enough data to seed PRNG.");
 /* Seed OpenSSL's PRNG at fork(), http://bugs.python.org/issue18747
  *
  * The parent handler seeds the PRNG from pseudo-random data like pid, the
- * current time (miliseconds or seconds) and an uninitialized arry.
+ * current time (miliseconds or seconds) and an uninitialized array.
  * The array contains stack variables that are impossible to predict
  * on most systems, e.g. function return address (subject to ASLR), the
  * stack protection canary and automatic variables.
@@ -1638,7 +1638,7 @@ fails or if it does not provide enough data to seed PRNG.");
  * Note:
  * The code uses pthread_atfork() until Python has a proper atfork API. The
  * handlers are not removed from the child process. A parent handler is used
- * instead of a child handler because fork() is suppose to be async-signal
+ * instead of a child handler because fork() is supposed to be async-signal
  * safe but the handler calls unsafe functions.
  */