summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsing <>2015-09-11 17:32:23 +0000
committerjsing <>2015-09-11 17:32:23 +0000
commitebee891d768c9e1ff392b56609721400f0632997 (patch)
tree505f0e7de097d38a564859da2decdbad4fc6a244 /src/lib
parent39d91decfbdd72585b3d631c7f9c2bf836016c16 (diff)
downloadopenbsd-ebee891d768c9e1ff392b56609721400f0632997.tar.gz
openbsd-ebee891d768c9e1ff392b56609721400f0632997.tar.bz2
openbsd-ebee891d768c9e1ff392b56609721400f0632997.zip
Nuke ssl3_default_timeout().
ok "flensing knife"
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/s3_lib.c12
-rw-r--r--src/lib/libssl/src/ssl/s3_lib.c12
-rw-r--r--src/lib/libssl/src/ssl/ssl_locl.h3
-rw-r--r--src/lib/libssl/ssl_locl.h3
4 files changed, 4 insertions, 26 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index b68aaabbbf..984e343c95 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.102 2015/09/11 16:50:46 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.103 2015/09/11 17:32:23 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1896,16 +1896,6 @@ SSL_CIPHER ssl3_ciphers[] = {
1896 /* end of list */ 1896 /* end of list */
1897}; 1897};
1898 1898
1899long
1900ssl3_default_timeout(void)
1901{
1902 /*
1903 * 2 hours, the 24 hours mentioned in the SSLv3 spec
1904 * is way too long for http, the cache would over fill
1905 */
1906 return (60 * 60 * 2);
1907}
1908
1909int 1899int
1910ssl3_num_ciphers(void) 1900ssl3_num_ciphers(void)
1911{ 1901{
diff --git a/src/lib/libssl/src/ssl/s3_lib.c b/src/lib/libssl/src/ssl/s3_lib.c
index b68aaabbbf..984e343c95 100644
--- a/src/lib/libssl/src/ssl/s3_lib.c
+++ b/src/lib/libssl/src/ssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.102 2015/09/11 16:50:46 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.103 2015/09/11 17:32:23 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1896,16 +1896,6 @@ SSL_CIPHER ssl3_ciphers[] = {
1896 /* end of list */ 1896 /* end of list */
1897}; 1897};
1898 1898
1899long
1900ssl3_default_timeout(void)
1901{
1902 /*
1903 * 2 hours, the 24 hours mentioned in the SSLv3 spec
1904 * is way too long for http, the cache would over fill
1905 */
1906 return (60 * 60 * 2);
1907}
1908
1909int 1899int
1910ssl3_num_ciphers(void) 1900ssl3_num_ciphers(void)
1911{ 1901{
diff --git a/src/lib/libssl/src/ssl/ssl_locl.h b/src/lib/libssl/src/ssl/ssl_locl.h
index 56d2e98746..897673c8d3 100644
--- a/src/lib/libssl/src/ssl/ssl_locl.h
+++ b/src/lib/libssl/src/ssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.115 2015/09/11 17:29:36 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.116 2015/09/11 17:32:23 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -654,7 +654,6 @@ int ssl3_handshake_write(SSL *s);
654 654
655void ssl3_record_sequence_increment(unsigned char *seq); 655void ssl3_record_sequence_increment(unsigned char *seq);
656int ssl3_do_change_cipher_spec(SSL *ssl); 656int ssl3_do_change_cipher_spec(SSL *ssl);
657long ssl3_default_timeout(void);
658 657
659int ssl23_read(SSL *s, void *buf, int len); 658int ssl23_read(SSL *s, void *buf, int len);
660int ssl23_peek(SSL *s, void *buf, int len); 659int ssl23_peek(SSL *s, void *buf, int len);
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 56d2e98746..897673c8d3 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.115 2015/09/11 17:29:36 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.116 2015/09/11 17:32:23 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -654,7 +654,6 @@ int ssl3_handshake_write(SSL *s);
654 654
655void ssl3_record_sequence_increment(unsigned char *seq); 655void ssl3_record_sequence_increment(unsigned char *seq);
656int ssl3_do_change_cipher_spec(SSL *ssl); 656int ssl3_do_change_cipher_spec(SSL *ssl);
657long ssl3_default_timeout(void);
658 657
659int ssl23_read(SSL *s, void *buf, int len); 658int ssl23_read(SSL *s, void *buf, int len);
660int ssl23_peek(SSL *s, void *buf, int len); 659int ssl23_peek(SSL *s, void *buf, int len);