summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 976bd27618..f9be29b241 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.118 2015/09/11 17:37:47 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.119 2015/09/11 18:08:21 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 *
@@ -595,13 +595,11 @@ void ssl_load_ciphers(void);
595 595
596const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p); 596const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p);
597int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p); 597int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p);
598int ssl3_init_finished_mac(SSL *s);
599int ssl3_send_server_certificate(SSL *s); 598int ssl3_send_server_certificate(SSL *s);
600int ssl3_send_newsession_ticket(SSL *s); 599int ssl3_send_newsession_ticket(SSL *s);
601int ssl3_send_cert_status(SSL *s); 600int ssl3_send_cert_status(SSL *s);
602int ssl3_get_finished(SSL *s, int state_a, int state_b); 601int ssl3_get_finished(SSL *s, int state_a, int state_b);
603int ssl3_send_change_cipher_spec(SSL *s, int state_a, int state_b); 602int ssl3_send_change_cipher_spec(SSL *s, int state_a, int state_b);
604void ssl3_cleanup_key_block(SSL *s);
605int ssl3_do_write(SSL *s, int type); 603int ssl3_do_write(SSL *s, int type);
606int ssl3_send_alert(SSL *s, int level, int desc); 604int ssl3_send_alert(SSL *s, int level, int desc);
607int ssl3_get_req_cert_type(SSL *s, unsigned char *p); 605int ssl3_get_req_cert_type(SSL *s, unsigned char *p);
@@ -619,8 +617,6 @@ int ssl3_renegotiate_check(SSL *ssl);
619int ssl3_dispatch_alert(SSL *s); 617int ssl3_dispatch_alert(SSL *s);
620int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); 618int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek);
621int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); 619int ssl3_write_bytes(SSL *s, int type, const void *buf, int len);
622void ssl3_finish_mac(SSL *s, const unsigned char *buf, int len);
623void ssl3_free_digest_list(SSL *s);
624unsigned long ssl3_output_cert_chain(SSL *s, X509 *x); 620unsigned long ssl3_output_cert_chain(SSL *s, X509 *x);
625SSL_CIPHER *ssl3_choose_cipher(SSL *ssl, STACK_OF(SSL_CIPHER) *clnt, 621SSL_CIPHER *ssl3_choose_cipher(SSL *ssl, STACK_OF(SSL_CIPHER) *clnt,
626 STACK_OF(SSL_CIPHER) *srvr); 622 STACK_OF(SSL_CIPHER) *srvr);
@@ -630,7 +626,6 @@ int ssl3_setup_read_buffer(SSL *s);
630int ssl3_setup_write_buffer(SSL *s); 626int ssl3_setup_write_buffer(SSL *s);
631int ssl3_release_read_buffer(SSL *s); 627int ssl3_release_read_buffer(SSL *s);
632int ssl3_release_write_buffer(SSL *s); 628int ssl3_release_write_buffer(SSL *s);
633int ssl3_digest_cached_records(SSL *s);
634int ssl3_new(SSL *s); 629int ssl3_new(SSL *s);
635void ssl3_free(SSL *s); 630void ssl3_free(SSL *s);
636int ssl3_accept(SSL *s); 631int ssl3_accept(SSL *s);
@@ -650,7 +645,7 @@ unsigned char *ssl3_handshake_msg_start(SSL *s, uint8_t htype);
650void ssl3_handshake_msg_finish(SSL *s, unsigned int len); 645void ssl3_handshake_msg_finish(SSL *s, unsigned int len);
651int ssl3_handshake_write(SSL *s); 646int ssl3_handshake_write(SSL *s);
652 647
653void ssl3_record_sequence_increment(unsigned char *seq); 648void tls1_record_sequence_increment(unsigned char *seq);
654int ssl3_do_change_cipher_spec(SSL *ssl); 649int ssl3_do_change_cipher_spec(SSL *ssl);
655 650
656int ssl23_read(SSL *s, void *buf, int len); 651int ssl23_read(SSL *s, void *buf, int len);
@@ -767,6 +762,11 @@ int dtls1_enc(SSL *s, int snd);
767int ssl_init_wbio_buffer(SSL *s, int push); 762int ssl_init_wbio_buffer(SSL *s, int push);
768void ssl_free_wbio_buffer(SSL *s); 763void ssl_free_wbio_buffer(SSL *s);
769 764
765int tls1_init_finished_mac(SSL *s);
766void tls1_finish_mac(SSL *s, const unsigned char *buf, int len);
767void tls1_free_digest_list(SSL *s);
768void tls1_cleanup_key_block(SSL *s);
769int tls1_digest_cached_records(SSL *s);
770int tls1_change_cipher_state(SSL *s, int which); 770int tls1_change_cipher_state(SSL *s, int which);
771int tls1_setup_key_block(SSL *s); 771int tls1_setup_key_block(SSL *s);
772int tls1_enc(SSL *s, int snd); 772int tls1_enc(SSL *s, int snd);