def make_assert(error):
def openssl_assert(ok):<EOL><INDENT>"""<STR_LIT>"""<EOL>if ok is not True:<EOL><INDENT>exception_from_error_queue(error)<EOL><DEDENT><DEDENT>return openssl_assert<EOL>
Create an assert function that uses :func:`exception_from_error_queue` to
raise an exception wrapped by *error*.