pgcrypto: Remove static storage class from variables Variables p, sp and ep were labeled with static storage class but are all assigned before use so they cannot carry any data across calls. Fix by removing the static label.
Also while in there, make the magic variable const as it will never change. Author: Japin Li <japi...@hotmail.com> Reviewed-by: Daniel Gustafsson <dan...@yesql.se> Reviewed-by: Tom Lane <t...@sss.pgh.pa.us> Discussion: https://postgr.es/m/me0p300mb0445096b67ace8ce25772f00b6...@me0p300mb0445.ausp300.prod.outlook.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/affd38e55a3cabbc4c64198dde71c22a94877690 Modified Files -------------- contrib/pgcrypto/crypt-md5.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)