Skip to content

Commit fe4fbaa

Browse files
committed
examples: fix case typos in secret clearing paragraphs (s/, Or/, or/)
1 parent f473c95 commit fe4fbaa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/ecdh.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ int main(void) {
108108

109109
/* It's best practice to try to clear secrets from memory after using them.
110110
* This is done because some bugs can allow an attacker to leak memory, for
111-
* example through "out of bounds" array access (see Heartbleed), Or the OS
111+
* example through "out of bounds" array access (see Heartbleed), or the OS
112112
* swapping them to disk. Hence, we overwrite the secret key buffer with zeros.
113113
*
114114
* Here we are preventing these writes from being optimized out, as any good compiler

examples/ecdsa.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int main(void) {
128128

129129
/* It's best practice to try to clear secrets from memory after using them.
130130
* This is done because some bugs can allow an attacker to leak memory, for
131-
* example through "out of bounds" array access (see Heartbleed), Or the OS
131+
* example through "out of bounds" array access (see Heartbleed), or the OS
132132
* swapping them to disk. Hence, we overwrite the secret key buffer with zeros.
133133
*
134134
* Here we are preventing these writes from being optimized out, as any good compiler

examples/schnorr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ int main(void) {
146146

147147
/* It's best practice to try to clear secrets from memory after using them.
148148
* This is done because some bugs can allow an attacker to leak memory, for
149-
* example through "out of bounds" array access (see Heartbleed), Or the OS
149+
* example through "out of bounds" array access (see Heartbleed), or the OS
150150
* swapping them to disk. Hence, we overwrite the secret key buffer with zeros.
151151
*
152152
* Here we are preventing these writes from being optimized out, as any good compiler

0 commit comments

Comments
 (0)