Fossil

Check-in [58257070]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a compiler warning in the SSL module.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:582570708805dc413595d11199161a8e3fe1f425
User & Date: drh 2010-03-06 15:21:13
Context
2010-03-06
15:49
Add the --backout option to the "merge" command. check-in: 3f0393f5 user: drh tags: trunk
15:21
Fix a compiler warning in the SSL module. check-in: 58257070 user: drh tags: trunk
14:56
Remove a BOM from the beginning of the branching.wiki document. check-in: 672d5c6f user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/http_ssl.c.

109
110
111
112
113
114
115
116
117
118
119
120
121
122
123

/*
** Close the currently open SSL connection.  If no connection is open, 
** this routine is a no-op.
*/
void ssl_close(void){
  if( iBio!=NULL ){
    BIO_reset(iBio);
    BIO_free_all(iBio);
  }
}

/*
** Open an SSL connection.  The identify of the server is determined
** by global varibles that are set using url_parse():







|







109
110
111
112
113
114
115
116
117
118
119
120
121
122
123

/*
** Close the currently open SSL connection.  If no connection is open, 
** this routine is a no-op.
*/
void ssl_close(void){
  if( iBio!=NULL ){
    (void)BIO_reset(iBio);
    BIO_free_all(iBio);
  }
}

/*
** Open an SSL connection.  The identify of the server is determined
** by global varibles that are set using url_parse():