[tor-commits] [tor/master] Change smartlist_create->smartlist_new in bug4744 branch as merged to master

nickm at torproject.org nickm at torproject.org
Wed Jun 13 16:11:17 UTC 2012


commit 37ef4f1689b51f2c78a1f02ec466b2fd34d11636
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Jun 13 12:16:02 2012 -0400

    Change smartlist_create->smartlist_new in bug4744 branch as merged to master
---
 src/common/tortls.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/tortls.c b/src/common/tortls.c
index cce25a8..53bcc98 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1460,7 +1460,7 @@ rectify_client_ciphers(STACK_OF(SSL_CIPHER) **ciphers)
     /* We need to set CLIENT_CIPHER_STACK to an array of the ciphers
      * we want to use/advertise. */
     int i = 0, j = 0;
-    smartlist_t *unsupported = smartlist_create();
+    smartlist_t *unsupported = smartlist_new();
 
     /* First, create a dummy SSL_CIPHER for every cipher. */
     CLIENT_CIPHER_DUMMIES =



More information about the tor-commits mailing list