gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 384/411: openssl: remove #if 0 leftover


From: gnunet
Subject: [gnurl] 384/411: openssl: remove #if 0 leftover
Date: Wed, 13 Jan 2021 01:23:19 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 0d75bf9ae99f62ac5aab46cd281fd5a7e0760a69
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Mon Nov 30 17:47:24 2020 +0100

    openssl: remove #if 0 leftover
    
    Follow-up to 4c9768565ec3a9 (from Sep 2008)
    
    Closes #6268
---
 lib/vtls/openssl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index fc0c4e15f..8309bc405 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -1084,9 +1084,6 @@ int cert_stuff(struct connectdata *conn,
 /* returns non-zero on failure */
 static int x509_name_oneline(X509_NAME *a, char *buf, size_t size)
 {
-#if 0
-  return X509_NAME_oneline(a, buf, size);
-#else
   BIO *bio_out = BIO_new(BIO_s_mem());
   BUF_MEM *biomem;
   int rc;
@@ -1108,7 +1105,6 @@ static int x509_name_oneline(X509_NAME *a, char *buf, 
size_t size)
   BIO_free(bio_out);
 
   return !rc;
-#endif
 }
 
 /**

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]