[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 15/41: openssl: remove CONST_ASN1_BIT_STRING.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 15/41: openssl: remove CONST_ASN1_BIT_STRING. |
Date: |
Sun, 20 Aug 2017 20:46:37 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.55.1
in repository gnurl.
commit f26f6d258f9310c6e65750e46fbe4a9e6d786aac
Author: David Benjamin <address@hidden>
AuthorDate: Thu Aug 10 16:37:17 2017 -0400
openssl: remove CONST_ASN1_BIT_STRING.
Just making the pointer as const works for the pre-1.1.0 path too.
Closes #1759
---
lib/vtls/openssl.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 40bb2dde4..42b4e9a14 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -111,7 +111,6 @@
#define HAVE_OPAQUE_EVP_PKEY 1 /* since 1.1.0 -pre3 */
#define HAVE_OPAQUE_RSA_DSA_DH 1 /* since 1.1.0 -pre5 */
#define CONST_EXTS const
-#define CONST_ASN1_BIT_STRING const
#define HAVE_ERR_REMOVE_THREAD_STATE_DEPRECATED 1
#else
/* For OpenSSL before 1.1.0 */
@@ -119,7 +118,6 @@
#define X509_get0_notBefore(x) X509_get_notBefore(x)
#define X509_get0_notAfter(x) X509_get_notAfter(x)
#define CONST_EXTS /* nope */
-#define CONST_ASN1_BIT_STRING /* nope */
#ifdef LIBRESSL_VERSION_NUMBER
static unsigned long OpenSSL_version_num(void)
{
@@ -2560,7 +2558,7 @@ static CURLcode get_cert_chain(struct connectdata *conn,
EVP_PKEY *pubkey=NULL;
int j;
char *ptr;
- CONST_ASN1_BIT_STRING ASN1_BIT_STRING *psig = NULL;
+ const ASN1_BIT_STRING *psig = NULL;
X509_NAME_print_ex(mem, X509_get_subject_name(x), 0, XN_FLAG_ONELINE);
push_certinfo("Subject", i);
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 04/41: dist: Add dictserver.py/negtelnetserver.py to EXTRA_DIST, (continued)
- [GNUnet-SVN] [gnurl] 04/41: dist: Add dictserver.py/negtelnetserver.py to EXTRA_DIST, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 06/41: gitignore: ignore top-level .vs folder, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 03/41: curl: do bounds check using a double comparison, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 07/41: build: check out *.sln files with Windows line endings, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 10/41: metalink: fix error: ‘*’ in boolean context, suggest ‘&&’ instead, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 09/41: dist: fix the cmake build by shipping cmake_uninstall.cmake.in too, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 02/41: make install: add 8 missing man pages to the installation, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 16/41: openssl: fix "error: this statement may fall through", gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 21/41: test2033: this went flaky again, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 20/41: test1447: verifies the parse proxy fix in 6e0e152ce5c, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 15/41: openssl: remove CONST_ASN1_BIT_STRING.,
gnunet <=
- [GNUnet-SVN] [gnurl] 08/41: travis: verify "make install", gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 19/41: parse_proxy(): fix memory leak in case of invalid proxy server name, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 38/41: cmake: Threads detection update. ref: #1702, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 05/41: digest_sspi: Don't reuse context if the user/passwd has changed, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 11/41: cmake: move cmake_uninstall.cmake to CMake/, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 14/41: maketgz: remove old *.dist files before making the tarball, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 28/41: bagder/Curl_tvdiff_us: fix the math, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 32/41: travis: test cmake build on tarball too, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 26/41: docs: fix typo funtion -> function, gnunet, 2017/08/20
- [GNUnet-SVN] [gnurl] 33/41: test2032: mark as flaky (again), gnunet, 2017/08/20