~ubuntu-branches/ubuntu/utopic/tlsdate/utopic-proposed

« back to all changes in this revision

Viewing changes to src/tlsdate-helper.h

  • Committer: Package Import Robot
  • Author(s): Jacob Appelbaum
  • Date: 2013-01-22 23:08:21 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130122230821-820ay2kh785on6yc
Tags: 0.0.5-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#include <stdio.h>
16
16
#include <string.h>
17
17
#include <unistd.h>
 
18
#include <sys/stat.h>
18
19
#include <sys/time.h>
19
20
#include <sys/types.h>
20
21
#include <sys/wait.h>
94
95
 
95
96
static char *proxy;
96
97
 
97
 
static const char *certdir;
 
98
static const char *ca_cert_container;
98
99
void openssl_time_callback (const SSL* ssl, int where, int ret);
99
100
uint32_t get_certificate_keybits (EVP_PKEY *public_key);
100
101
uint32_t check_cn (SSL *ssl, const char *hostname);
105
106
void check_key_length (SSL *ssl);
106
107
void inspect_key (SSL *ssl, const char *hostname);
107
108
static void run_ssl (uint32_t *time_map, int time_is_an_illusion);
108
 
static void become_nobody (void);
109
109
void check_key_length (SSL *ssl);
110
110
uint32_t dns_label_count (char *label, char *delim);
111
111
uint32_t check_wildcard_match_rfc2595 (const char *orig_hostname,