- Notifications
You must be signed in to change notification settings - Fork28
Commit919594f
Neil Conway
Some builds (depends on crypto engine support?) of OpenSSL
0.9.7x have EVP_DigestFinal function which which clears all ofEVP_MD_CTX. This makes pgcrypto crash in functions whichre-use one digest context several times: hmac() and crypt()with md5 algorithm.Following patch fixes it by carring the digest info aroundEVP_DigestFinal and re-initializing cipher.Marko Kreen.1 parent852ef58 commit919594f
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
| |||
0 commit comments
Comments
(0)