[issue39621] md5_compress() in Modules/md5module.c can take a const buf

Andy Lester report at bugs.python.org
Wed Feb 12 23:05:21 EST 2020


New submission from Andy Lester <andy at petdance.com>:

The function md5_compress does not modify its buffer argument.

static void md5_compress(struct md5_state *md5, unsigned char *buf)

buf should be const.

----------
components: Extension Modules
messages: 361932
nosy: petdance
priority: normal
severity: normal
status: open
title: md5_compress() in Modules/md5module.c can take a const buf
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39621>
_______________________________________


More information about the Python-bugs-list mailing list