Commit c4584870 authored by Pekka Pessi's avatar Pekka Pessi

Added tls_version[] to tport/tport_tls.[hc].

darcs-hash:20051024235928-65a35-0ea69f7f35c988690388d15566191d42c24c7d7f.gz
parent 06461b34
......@@ -26,11 +26,10 @@
* @brief TLS interface
*
* @author Mikko Haataja <ext-Mikko.A.Haataja@nokia.com>
* @author Pekka Pessi <ext-Pekka.Pessi@nokia.com>
*
* Copyright 2001, 2002 Nokia Research Center. All rights reserved.
*
* @date Last modified: Fri Sep 23 14:53:50 2005
*
*/
#include <assert.h>
......@@ -54,11 +53,14 @@
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <openssl/bio.h>
#include <openssl/opensslv.h>
#include <poll.h>
#include "tport_tls.h"
char const tls_version[] = OPENSSL_VERSION_TEXT;
enum { tls_master, tls_client, tls_slave };
struct tls_s {
......
......@@ -30,15 +30,14 @@
* @author Mikko Haataja <ext-Mikko.A.Haataja@nokia.com>
*
* Copyright 2001, 2002 Nokia Research Center. All rights reserved.
*
* @date Last modified: Mon Aug 8 19:10:17 2005 ppessi
*
*/
#define TLS_MAX_HOSTS (16)
typedef struct tls_s tls_t;
extern char const tls_version[];
typedef struct tls_issues_s {
int verify_depth; /* if 0, then do nothing */
int configured; /* If non-zero, complain about certificate errors */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment