# Crash report ### What happened? ```python import hmac import hashlib h = hmac.HMAC(b'key', digestmod=hashlib.sha256) h_copy = h.copy() print(h_copy.name) ``` ``` python: ../Modules/_hashopenssl.c:610: const char *get_asn1_utf8name_by_nid(int): Assertion `ERR_peek_last_error() != 0' failed ``` ### CPython versions tested on: CPython main branch ### Operating systems tested on: Linux ### Output from running 'python -VV' on the command line: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-142510 <!-- /gh-linked-prs -->