RFC2818 server identity check update

This commit is contained in:
Fumitoshi UKAI
2001-12-26 12:58:49 +00:00
parent f67501a12a
commit 2b86b4b794
4 changed files with 73 additions and 56 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: istream.h,v 1.5 2001/12/26 12:18:06 ukai Exp $ */
/* $Id: istream.h,v 1.6 2001/12/26 12:58:49 ukai Exp $ */
#ifndef IO_STREAM_H
#define IO_STREAM_H
@@ -6,7 +6,6 @@
#ifdef USE_SSL
#include <bio.h>
#include <x509.h>
#include <x509v3.h>
#include <ssl.h>
#endif
#include "Str.h"
@@ -127,7 +126,7 @@ extern int ISfileno(InputStream stream);
extern int ISeos(InputStream stream);
#ifdef USE_SSL
extern Str ssl_get_certificate(InputStream stream);
extern Str ssl_check_cert_ident(SSL *handle, char *hostname);
extern Str ssl_check_cert_ident(SSL * handle, char *hostname);
#endif
#define IST_BASIC 0