Lines Matching refs:libver
3098 unsigned long libver; in _ssl__SSLContext_impl() local
3242 libver = OpenSSL_version_num(); in _ssl__SSLContext_impl()
3243 if (!(libver >= 0x10001000UL && libver < 0x1000108fUL) && in _ssl__SSLContext_impl()
3244 !(libver >= 0x10000000UL && libver < 0x100000dfUL)) { in _ssl__SSLContext_impl()
5988 parse_openssl_version(unsigned long libver, in parse_openssl_version() argument
5993 *status = libver & 0xF; in parse_openssl_version()
5994 libver >>= 4; in parse_openssl_version()
5995 *patch = libver & 0xFF; in parse_openssl_version()
5996 libver >>= 8; in parse_openssl_version()
5997 *fix = libver & 0xFF; in parse_openssl_version()
5998 libver >>= 8; in parse_openssl_version()
5999 *minor = libver & 0xFF; in parse_openssl_version()
6000 libver >>= 8; in parse_openssl_version()
6001 *major = libver & 0xFF; in parse_openssl_version()
6008 unsigned long libver; in PyInit__ssl() local
6415 libver = OpenSSL_version_num(); in PyInit__ssl()
6416 r = PyLong_FromUnsignedLong(libver); in PyInit__ssl()
6421 parse_openssl_version(libver, &major, &minor, &fix, &patch, &status); in PyInit__ssl()
6429 libver = OPENSSL_VERSION_NUMBER; in PyInit__ssl()
6430 parse_openssl_version(libver, &major, &minor, &fix, &patch, &status); in PyInit__ssl()