- Notifications
You must be signed in to change notification settings - Fork4.9k
Commite21cbb4
committed
Change SHA2 implementation based on OpenSSL to use EVP digest routines
The use of low-level hash routines is not recommended by upstreamOpenSSL since 2000, and pgcrypto already switched to EVP as of5ff4a67.Note that this also fixes a failure with SCRAM authentication when usingFIPS in OpenSSL, but as there have been few complaints about thisproblem and as this causes an ABI breakage, no backpatch is done.Author: Michael Paquier, Alessandro GherardiReviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/20200924025314.GE7405@paquier.xyzDiscussion:https://postgr.es/m/20180911030250.GA27115@paquier.xyz1 parent9d299a4 commite21cbb4
2 files changed
+54
-19
lines changedLines changed: 49 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 | 23 |
| |
26 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
27 | 62 |
| |
28 | 63 |
| |
29 | 64 |
| |
30 | 65 |
| |
31 | 66 |
| |
32 |
| - | |
| 67 | + | |
33 | 68 |
| |
34 | 69 |
| |
35 | 70 |
| |
36 | 71 |
| |
37 | 72 |
| |
38 |
| - | |
| 73 | + | |
39 | 74 |
| |
40 | 75 |
| |
41 | 76 |
| |
42 | 77 |
| |
43 | 78 |
| |
44 |
| - | |
| 79 | + | |
45 | 80 |
| |
46 | 81 |
| |
47 | 82 |
| |
48 | 83 |
| |
49 | 84 |
| |
50 | 85 |
| |
51 |
| - | |
| 86 | + | |
52 | 87 |
| |
53 | 88 |
| |
54 | 89 |
| |
55 | 90 |
| |
56 | 91 |
| |
57 |
| - | |
| 92 | + | |
58 | 93 |
| |
59 | 94 |
| |
60 | 95 |
| |
61 | 96 |
| |
62 | 97 |
| |
63 |
| - | |
| 98 | + | |
64 | 99 |
| |
65 | 100 |
| |
66 | 101 |
| |
67 | 102 |
| |
68 | 103 |
| |
69 | 104 |
| |
70 |
| - | |
| 105 | + | |
71 | 106 |
| |
72 | 107 |
| |
73 | 108 |
| |
74 | 109 |
| |
75 | 110 |
| |
76 |
| - | |
| 111 | + | |
77 | 112 |
| |
78 | 113 |
| |
79 | 114 |
| |
80 | 115 |
| |
81 | 116 |
| |
82 |
| - | |
| 117 | + | |
83 | 118 |
| |
84 | 119 |
| |
85 | 120 |
| |
86 | 121 |
| |
87 | 122 |
| |
88 | 123 |
| |
89 |
| - | |
| 124 | + | |
90 | 125 |
| |
91 | 126 |
| |
92 | 127 |
| |
93 | 128 |
| |
94 | 129 |
| |
95 |
| - | |
| 130 | + | |
96 | 131 |
| |
97 | 132 |
| |
98 | 133 |
| |
99 | 134 |
| |
100 | 135 |
| |
101 |
| - | |
| 136 | + | |
102 | 137 |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
|
0 commit comments
Comments
(0)