mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-05 13:44:41 +02:00
removes non-ASCII chars from docs.
This commit is contained in:
@@ -22,56 +22,56 @@ from socket import error as socket_error
|
|||||||
|
|
||||||
|
|
||||||
class SSLError(socket_error):
|
class SSLError(socket_error):
|
||||||
'''
|
"""
|
||||||
Raised to signal an error from the wolfSSL's SSL/TLS library. This signifies
|
Raised to signal an error from the wolfSSL's SSL/TLS library. This signifies
|
||||||
some problem in the higher-level encryption and authentication layer that’s
|
some problem in the higher-level encryption and authentication layer that's
|
||||||
superimposed on the underlying network connection. This error is a subtype
|
superimposed on the underlying network connection. This error is a subtype
|
||||||
of socket.error, which in turn is a subtype of IOError. The error code and
|
of socket.error, which in turn is a subtype of IOError. The error code and
|
||||||
message of SSLError instances are provided by the wolfSSL library.
|
message of SSLError instances are provided by the wolfSSL library.
|
||||||
'''
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class SSLZeroReturnError(SSLError):
|
class SSLZeroReturnError(SSLError):
|
||||||
'''
|
"""
|
||||||
A subclass of SSLError raised when trying to read or write and the SSL
|
A subclass of SSLError raised when trying to read or write and the SSL
|
||||||
connection has been closed cleanly. Note that this doesn’t mean that the
|
connection has been closed cleanly. Note that this doesn't mean that the
|
||||||
underlying transport (read TCP) has been closed.
|
underlying transport (read TCP) has been closed.
|
||||||
'''
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class SSLWantReadError(SSLError):
|
class SSLWantReadError(SSLError):
|
||||||
'''
|
"""
|
||||||
A subclass of SSLError raised by a non-blocking SSL socket when trying to
|
A subclass of SSLError raised by a non-blocking SSL socket when trying to
|
||||||
read or write data, but more data needs to be received on the underlying TCP
|
read or write data, but more data needs to be received on the underlying TCP
|
||||||
transport before the request can be fulfilled.
|
transport before the request can be fulfilled.
|
||||||
'''
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class SSLWantWriteError(SSLError):
|
class SSLWantWriteError(SSLError):
|
||||||
'''
|
"""
|
||||||
A subclass of SSLError raised by a non-blocking SSL socket when trying to
|
A subclass of SSLError raised by a non-blocking SSL socket when trying to
|
||||||
read or write data, but more data needs to be sent on the underlying TCP
|
read or write data, but more data needs to be sent on the underlying TCP
|
||||||
transport before the request can be fulfilled.
|
transport before the request can be fulfilled.
|
||||||
'''
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class SSLSyscallError(SSLError):
|
class SSLSyscallError(SSLError):
|
||||||
'''
|
"""
|
||||||
A subclass of SSLError raised when a system error was encountered while
|
A subclass of SSLError raised when a system error was encountered while
|
||||||
trying to fulfill an operation on a SSL socket. Unfortunately, there is no
|
trying to fulfill an operation on a SSL socket. Unfortunately, there is no
|
||||||
easy way to inspect the original errno number.
|
easy way to inspect the original errno number.
|
||||||
'''
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class SSLEOFError(SSLError):
|
class SSLEOFError(SSLError):
|
||||||
'''
|
"""
|
||||||
A subclass of SSLError raised when the SSL connection has been terminated
|
A subclass of SSLError raised when the SSL connection has been terminated
|
||||||
abruptly. Generally, you shouldn’t try to reuse the underlying transport
|
abruptly. Generally, you shouldn't try to reuse the underlying transport
|
||||||
when this error is encountered.
|
when this error is encountered.
|
||||||
'''
|
"""
|
||||||
pass
|
pass
|
||||||
|
@@ -26,7 +26,6 @@ ffi = FFI()
|
|||||||
ffi.set_source("wolfssl._ffi",
|
ffi.set_source("wolfssl._ffi",
|
||||||
"""
|
"""
|
||||||
#include <wolfssl/options.h>
|
#include <wolfssl/options.h>
|
||||||
|
|
||||||
#include <wolfssl/ssl.h>
|
#include <wolfssl/ssl.h>
|
||||||
""",
|
""",
|
||||||
include_dirs=["/usr/local/include"],
|
include_dirs=["/usr/local/include"],
|
||||||
@@ -39,20 +38,12 @@ ffi.cdef(
|
|||||||
typedef unsigned char byte;
|
typedef unsigned char byte;
|
||||||
typedef unsigned int word32;
|
typedef unsigned int word32;
|
||||||
|
|
||||||
typedef struct { ...; } WOLFSSL_METHOD;
|
void* wolfTLSv1_server_method(void);
|
||||||
typedef struct { ...; } WOLFSSL_CTX;
|
void* wolfTLSv1_client_method(void);
|
||||||
typedef struct { ...; } WOLFSSL;
|
void* wolfTLSv1_1_server_method(void);
|
||||||
|
void* wolfTLSv1_1_client_method(void);
|
||||||
WOLFSSL_METHOD* wolfSSLv23_client_method(void);
|
void* wolfTLSv1_2_server_method(void);
|
||||||
WOLFSSL_METHOD* wolfSSLv23_server_method(void);
|
void* wolfTLSv1_2_client_method(void);
|
||||||
WOLFSSL_METHOD* wolfSSLv3_server_method(void);
|
|
||||||
WOLFSSL_METHOD* wolfSSLv3_client_method(void);
|
|
||||||
WOLFSSL_METHOD* wolfTLSv1_server_method(void);
|
|
||||||
WOLFSSL_METHOD* wolfTLSv1_client_method(void);
|
|
||||||
WOLFSSL_METHOD* wolfTLSv1_1_server_method(void);
|
|
||||||
WOLFSSL_METHOD* wolfTLSv1_1_client_method(void);
|
|
||||||
WOLFSSL_METHOD* wolfTLSv1_2_server_method(void);
|
|
||||||
WOLFSSL_METHOD* wolfTLSv1_2_client_method(void);
|
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user