mirror of https://github.com/python/cpython
Reverting r78597. This is not a critical fix and we're in rc mode.
This commit is contained in:
parent
1545d80e07
commit
3c67d6ae54
|
@ -667,12 +667,7 @@ _get_peer_alt_names (X509 *certificate) {
|
|||
char buf[2048];
|
||||
char *vptr;
|
||||
int len;
|
||||
/* Issue #2973: ASN1_item_d2i() API changed in OpenSSL 0.9.6m */
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x009060dfL
|
||||
const unsigned char *p;
|
||||
#else
|
||||
unsigned char *p;
|
||||
#endif
|
||||
|
||||
if (certificate == NULL)
|
||||
return peer_alt_names;
|
||||
|
|
Loading…
Reference in New Issue