forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7c016e3
committed
Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv().
Due to oversights, the encrypt_iv() and decrypt_iv() functions failed toreport certain types of invalid-input errors, and would instead returnrandom garbage values.Marko Kreen, per report from Stefan Kaltenbrunner1 parentb7922a6 commit7c016e3
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
342 | 342 |
| |
343 | 343 |
| |
344 | 344 |
| |
345 |
| - | |
346 |
| - | |
| 345 | + | |
| 346 | + | |
347 | 347 |
| |
348 | 348 |
| |
349 | 349 |
| |
| |||
396 | 396 |
| |
397 | 397 |
| |
398 | 398 |
| |
399 |
| - | |
400 |
| - | |
| 399 | + | |
| 400 | + | |
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
|
0 commit comments
Comments
(0)