projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Since DTLS 1.0 is based on TLS 1.1 we should never return a decryption_failed
[oweals/openssl.git]
/
ssl
/
ssl_task.c
diff --git
a/ssl/ssl_task.c
b/ssl/ssl_task.c
index 65ac1fb582619c15dc95a5c7eafbc622c6c2d0d4..b5ce44b47c56e44fcd245089742002a2fbb0fed0 100644
(file)
--- a/
ssl/ssl_task.c
+++ b/
ssl/ssl_task.c
@@
-123,8
+123,10
@@
int LIB$INIT_TIMER(), LIB$SHOW_TIMER();
#include <string.h> /* from ssltest.c */
#include <errno.h>
#include <string.h> /* from ssltest.c */
#include <errno.h>
+
+#include "e_os.h"
+
#include <openssl/buffer.h>
#include <openssl/buffer.h>
-#include <openssl/e_os.h>
#include <openssl/x509.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/x509.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
@@
-224,7
+226,7
@@
int main ( int argc, char **argv )
printf("cipher list: %s\n", cipher ? cipher : "{undefined}" );
SSL_load_error_strings();
printf("cipher list: %s\n", cipher ? cipher : "{undefined}" );
SSL_load_error_strings();
-
SSLeay
_add_all_algorithms();
+
OpenSSL
_add_all_algorithms();
/* DRM, this was the original, but there is no such thing as SSLv2()
s_ctx=SSL_CTX_new(SSLv2());
/* DRM, this was the original, but there is no such thing as SSLv2()
s_ctx=SSL_CTX_new(SSLv2());
@@
-256,7
+258,7
@@
int doit(io_channel chan, SSL_CTX *s_ctx )
{
int status, length, link_state;
struct rpc_msg msg;
{
int status, length, link_state;
struct rpc_msg msg;
- static char cbuf[200],sbuf[200];
+
SSL *s_ssl=NULL;
BIO *c_to_s=NULL;
BIO *s_to_c=NULL;
SSL *s_ssl=NULL;
BIO *c_to_s=NULL;
BIO *s_to_c=NULL;