~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to lib/sslgen.c

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2011-02-28 19:35:36 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: james.westby@ubuntu.com-20110228193536-p3a9jawxxofcsz7o
Tags: upstream-7.21.4
ImportĀ upstreamĀ versionĀ 7.21.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#include "nssg.h"   /* NSS versions */
58
58
#include "qssl.h"   /* QSOSSL versions */
59
59
#include "polarssl.h" /* PolarSSL versions */
 
60
#include "axtls.h"  /* axTLS versions */
60
61
#include "sendf.h"
61
62
#include "rawstr.h"
62
63
#include "url.h"
349
350
  store->name = clone_host;               /* clone host name */
350
351
  store->remote_port = conn->remote_port; /* port number */
351
352
 
352
 
  if(!Curl_clone_ssl_config(&conn->ssl_config, &store->ssl_config))
 
353
  if(!Curl_clone_ssl_config(&conn->ssl_config, &store->ssl_config)) {
 
354
    store->sessionid = NULL; /* let caller free sessionid */
 
355
    free(clone_host);
353
356
    return CURLE_OUT_OF_MEMORY;
 
357
  }
354
358
 
355
359
  return CURLE_OK;
356
360
}