From 6c7c6b16caa5c96cb797b269c657863203b1894d Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 14 Oct 2019 00:58:57 +0100 Subject: [PATCH] algorithms.c: Hide the `_Poly1305Class' type a bit better. --- algorithms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/algorithms.c b/algorithms.c index 8f3ae0b..dcdcff6 100644 --- a/algorithms.c +++ b/algorithms.c @@ -2683,7 +2683,7 @@ static const PyMethodDef poly1305hash_pymethods[] = { static const PyTypeObject poly1305cls_pytype_skel = { PyVarObject_HEAD_INIT(0, 0) /* Header */ - "Poly1305Class", /* @tp_name@ */ + "_Poly1305Class", /* @tp_name@ */ sizeof(PyHeapTypeObject), /* @tp_basicsize@ */ 0, /* @tp_itemsize@ */ @@ -3898,7 +3898,7 @@ void algorithms_pyinsert(PyObject *mod) INSERT("GMACHash", gmhash_pytype); INSERT("gcmacs", make_algtab(gmactab, sizeof(gcmac *), mac_namefn, mac_valfn)); - INSERT("Poly1305Class", poly1305cls_pytype); + INSERT("_Poly1305Class", poly1305cls_pytype); INSERT("poly1305", poly1305key_pytype); INSERT("Poly1305Hash", poly1305hash_pytype); INSERT("Keccak1600", kxvik_pytype); -- 2.11.0