From f51d4d2247f98853954e0525d0e7e6eb34fed9ae Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 15 Aug 2019 08:11:39 -0400 Subject: Replace usage of the obscure PEM_read_bio_X509_AUX with the more standard PEM_read_bio_X509 --- Modules/_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules') diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 3d54b844fe..3d63612168 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1822,7 +1822,7 @@ _ssl__test_decode_cert_impl(PyObject *module, PyObject *path) goto fail0; } - x = PEM_read_bio_X509_AUX(cert,NULL, NULL, NULL); + x = PEM_read_bio_X509(cert, NULL, NULL, NULL); if (x == NULL) { PyErr_SetString(PySSLErrorObject, "Error decoding PEM-encoded file"); -- cgit v1.2.1