PATH:
usr
/
include
/
python3.6m
#ifndef Py_HASHOPENSSL_H #define Py_HASHOPENSSL_H #include "Python.h" #include <openssl/crypto.h> #include <openssl/err.h> /* LCOV_EXCL_START */ static PyObject * _setException(PyObject *exc) { unsigned long errcode; const char *lib, *func, *reason; errcode = ERR_peek_last_error(); if (!errcode) { PyErr_SetString(exc, "unknown reasons"); return NULL; } ERR_clear_error(); lib = ERR_lib_error_string(errcode); func = ERR_func_error_string(errcode); reason = ERR_reason_error_string(errcode); if (lib && func) { PyErr_Format(exc, "[%s: %s] %s", lib, func, reason); } else if (lib) { PyErr_Format(exc, "[%s] %s", lib, reason); } else { PyErr_SetString(exc, reason); } return NULL; } /* LCOV_EXCL_STOP */ __attribute__((__unused__)) static int _Py_hashlib_fips_error(PyObject *exc, char *name) { int result = FIPS_mode(); if (result == 0) { // XXX: This function skips error checking. // This is only appropriate for RHEL. // See _hashlib.get_fips_mode for details. return 0; } PyErr_Format(exc, "%s is not available in FIPS mode", name); return 1; } #define FAIL_RETURN_IN_FIPS_MODE(exc, name) do { \ if (_Py_hashlib_fips_error(exc, name)) return NULL; \ } while (0) #endif // !Py_HASHOPENSSL_H
[+]
..
[-] pystrtod.h
[edit]
[-] Python-ast.h
[edit]
[-] grammar.h
[edit]
[-] pygetopt.h
[edit]
[-] marshal.h
[edit]
[-] symtable.h
[edit]
[-] pyhash.h
[edit]
[-] traceback.h
[edit]
[-] abstract.h
[edit]
[-] sysmodule.h
[edit]
[-] ast.h
[edit]
[-] structseq.h
[edit]
[-] floatobject.h
[edit]
[-] osdefs.h
[edit]
[-] odictobject.h
[edit]
[-] graminit.h
[edit]
[-] enumobject.h
[edit]
[-] pystrhex.h
[edit]
[-] pyexpat.h
[edit]
[-] tupleobject.h
[edit]
[-] accu.h
[edit]
[-] listobject.h
[edit]
[-] pylifecycle.h
[edit]
[-] bltinmodule.h
[edit]
[-] parsetok.h
[edit]
[-] iterobject.h
[edit]
[-] weakrefobject.h
[edit]
[-] pymem.h
[edit]
[-] code.h
[edit]
[-] pyport.h
[edit]
[-] errcode.h
[edit]
[-] pyctype.h
[edit]
[-] modsupport.h
[edit]
[-] pystrcmp.h
[edit]
[-] eval.h
[edit]
[-] moduleobject.h
[edit]
[-] import.h
[edit]
[-] pgenheaders.h
[edit]
[-] fileobject.h
[edit]
[-] pymacconfig.h
[edit]
[-] pyerrors.h
[edit]
[-] sliceobject.h
[edit]
[-] pyconfig-64.h
[edit]
[-] metagrammar.h
[edit]
[-] methodobject.h
[edit]
[-] node.h
[edit]
[-] py_curses.h
[edit]
[-] longobject.h
[edit]
[-] typeslots.h
[edit]
[-] codecs.h
[edit]
[-] rangeobject.h
[edit]
[-] warnings.h
[edit]
[-] descrobject.h
[edit]
[-] bytes_methods.h
[edit]
[-] pystate.h
[edit]
[-] setobject.h
[edit]
[-] token.h
[edit]
[-] frameobject.h
[edit]
[-] pycapsule.h
[edit]
[-] bytearrayobject.h
[edit]
[-] bytesobject.h
[edit]
[-] osmodule.h
[edit]
[-] bitset.h
[edit]
[-] pytime.h
[edit]
[-] dictobject.h
[edit]
[-] ucnhash.h
[edit]
[-] pythonrun.h
[edit]
[-] object.h
[edit]
[-] pyatomic.h
[edit]
[-] Python.h
[edit]
[-] dynamic_annotations.h
[edit]
[-] compile.h
[edit]
[-] opcode.h
[edit]
[-] intrcheck.h
[edit]
[-] pymath.h
[edit]
[-] pydebug.h
[edit]
[-] memoryobject.h
[edit]
[-] _hashopenssl.h
[edit]
[-] pymacro.h
[edit]
[-] structmember.h
[edit]
[-] asdl.h
[edit]
[-] objimpl.h
[edit]
[-] pyfpe.h
[edit]
[-] classobject.h
[edit]
[-] pyconfig.h
[edit]
[-] dtoa.h
[edit]
[-] unicodeobject.h
[edit]
[-] funcobject.h
[edit]
[-] datetime.h
[edit]
[-] fileutils.h
[edit]
[-] boolobject.h
[edit]
[-] pgen.h
[edit]
[-] ceval.h
[edit]
[-] namespaceobject.h
[edit]
[-] pydtrace.h
[edit]
[-] genobject.h
[edit]
[-] pythread.h
[edit]
[-] patchlevel.h
[edit]
[-] cellobject.h
[edit]
[-] pyarena.h
[edit]
[-] longintrepr.h
[edit]
[-] complexobject.h
[edit]