forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9b58495
committed
Improve some code around cryptohash functions
This adjusts some code related to recent changes for cryptohashfunctions:- Add a variable in md5.h to track down the size of a computed result,moved from pgcrypto. Note that pg_md5_hash() assumed a result of thissize already.- Call explicit_bzero() on the hashed data when freeing the context forfallback implementations. For MD5, particularly, it would be annoyingto leave some non-zeroed data around.- Clean up some code related to recent changes of uuid-ossp. .gitignorestill included md5.c and a comment was incorrect.Discussion:https://postgr.es/m/X9HXKTgrvJvYO7Oh@paquier.xyz1 parentdf9274a commit9b58495
File tree
6 files changed
+27
-8
lines changed- contrib
- pgcrypto
- uuid-ossp
- src
- common
- include/common
6 files changed
+27
-8
lines changedLines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 | 44 |
| |
49 | 45 |
| |
50 | 46 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 | 2 |
| |
4 | 3 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
| 44 | + | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
200 | 220 |
| |
201 | 221 |
| |
202 | 222 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
|
0 commit comments
Comments
(0)