forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit36ea345
committed
Improve/correct comments
Change comments for pg_cryptohash_init(), pg_cryptohash_update(),pg_cryptohash_final() in cryptohash.c to match cryptohash_openssl.c.In particular, the claim that these functions were "designed" to neverfail was incorrect, since by design callers need to be prepared tohandle failures, for compatibility with the cryptohash_openssl.cversions.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://www.postgresql.org/message-id/301F4EDD-27B9-460F-B462-B9DB2BDE4ACF@yesql.se1 parent544b452 commit36ea345
1 file changed
+3
-8
lines changedLines changed: 3 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
98 |
| - | |
| 97 | + | |
99 | 98 |
| |
100 | 99 |
| |
101 | 100 |
| |
| |||
131 | 130 |
| |
132 | 131 |
| |
133 | 132 |
| |
134 |
| - | |
135 |
| - | |
136 |
| - | |
| 133 | + | |
137 | 134 |
| |
138 | 135 |
| |
139 | 136 |
| |
| |||
169 | 166 |
| |
170 | 167 |
| |
171 | 168 |
| |
172 |
| - | |
173 |
| - | |
174 |
| - | |
| 169 | + | |
175 | 170 |
| |
176 | 171 |
| |
177 | 172 |
| |
|
0 commit comments
Comments
(0)