X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=nnrpd%2Ftls.h;fp=nnrpd%2Ftls.h;h=0000000000000000000000000000000000000000;hb=b7a32e2d73e3ab1add8208d3e157f7269a31ef4d;hp=8837b3f6127b8c5592bcf1426df365de195e3007;hpb=ac902a8299ff4469b356836f431ead31c3377377;p=innduct.git diff --git a/nnrpd/tls.h b/nnrpd/tls.h deleted file mode 100644 index 8837b3f..0000000 --- a/nnrpd/tls.h +++ /dev/null @@ -1,52 +0,0 @@ -/* tls.h --- TLSv1 functions - Copyright (C) 2000 Kenichi Okada - - Author: Kenichi Okada - Created: 2000-02-22 - - Keywords: TLS, OpenSSL - - Commentary: - - [RFC 2246] "The TLS Protocol Version 1.0" - by Christopher Allen and - Tim Dierks (1999/01) - - [RFC 2595] "Using TLS with IMAP, POP3 and ACAP" - by Chris Newman (1999/06) - -*/ - -#ifdef HAVE_SSL - -#ifndef TLS_H -#define TLS_H - -#include -#include -#include -#include -#include -#include -#include - -/* init tls engine */ -int tls_init_serverengine(int verifydepth, /* depth to verify */ - int askcert, /* 1 = verify client */ - int requirecert, /* 1 = another client verify? */ - char *tls_CAfile, - char *tls_CApath, - char *tls_cert_file, - char *tls_key_file); - -/* init tls */ -void tls_init(void); - -/* start tls negotiation */ -int tls_start_servertls(int readfd, int writefd); - -ssize_t SSL_writev (SSL *ssl, const struct iovec *vector, int count); - -#endif /* CYRUSTLS_H */ - -#endif /* HAVE_SSL */