diff options
author | jsing <> | 2015-09-11 18:08:21 +0000 |
---|---|---|
committer | jsing <> | 2015-09-11 18:08:21 +0000 |
commit | c42e261f37ac3f2934dd92296a095be3cbe461c1 (patch) | |
tree | 378accab3864084b0135769f8d9117e86df41845 /src/lib/libssl/ssl_locl.h | |
parent | 63eec788b454a03bda0826cf41f02edb6771089c (diff) | |
download | openbsd-c42e261f37ac3f2934dd92296a095be3cbe461c1.tar.gz openbsd-c42e261f37ac3f2934dd92296a095be3cbe461c1.tar.bz2 openbsd-c42e261f37ac3f2934dd92296a095be3cbe461c1.zip |
Rename functions that moved to t1_enc.c, with a tls1_ prefix instead of a
ssl3_ prefix.
ok beck@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 14 |
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 | ||
596 | const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p); | 596 | const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p); |
597 | int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p); | 597 | int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p); |
598 | int ssl3_init_finished_mac(SSL *s); | ||
599 | int ssl3_send_server_certificate(SSL *s); | 598 | int ssl3_send_server_certificate(SSL *s); |
600 | int ssl3_send_newsession_ticket(SSL *s); | 599 | int ssl3_send_newsession_ticket(SSL *s); |
601 | int ssl3_send_cert_status(SSL *s); | 600 | int ssl3_send_cert_status(SSL *s); |
602 | int ssl3_get_finished(SSL *s, int state_a, int state_b); | 601 | int ssl3_get_finished(SSL *s, int state_a, int state_b); |
603 | int ssl3_send_change_cipher_spec(SSL *s, int state_a, int state_b); | 602 | int ssl3_send_change_cipher_spec(SSL *s, int state_a, int state_b); |
604 | void ssl3_cleanup_key_block(SSL *s); | ||
605 | int ssl3_do_write(SSL *s, int type); | 603 | int ssl3_do_write(SSL *s, int type); |
606 | int ssl3_send_alert(SSL *s, int level, int desc); | 604 | int ssl3_send_alert(SSL *s, int level, int desc); |
607 | int ssl3_get_req_cert_type(SSL *s, unsigned char *p); | 605 | int ssl3_get_req_cert_type(SSL *s, unsigned char *p); |
@@ -619,8 +617,6 @@ int ssl3_renegotiate_check(SSL *ssl); | |||
619 | int ssl3_dispatch_alert(SSL *s); | 617 | int ssl3_dispatch_alert(SSL *s); |
620 | int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); | 618 | int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); |
621 | int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); | 619 | int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); |
622 | void ssl3_finish_mac(SSL *s, const unsigned char *buf, int len); | ||
623 | void ssl3_free_digest_list(SSL *s); | ||
624 | unsigned long ssl3_output_cert_chain(SSL *s, X509 *x); | 620 | unsigned long ssl3_output_cert_chain(SSL *s, X509 *x); |
625 | SSL_CIPHER *ssl3_choose_cipher(SSL *ssl, STACK_OF(SSL_CIPHER) *clnt, | 621 | SSL_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); | |||
630 | int ssl3_setup_write_buffer(SSL *s); | 626 | int ssl3_setup_write_buffer(SSL *s); |
631 | int ssl3_release_read_buffer(SSL *s); | 627 | int ssl3_release_read_buffer(SSL *s); |
632 | int ssl3_release_write_buffer(SSL *s); | 628 | int ssl3_release_write_buffer(SSL *s); |
633 | int ssl3_digest_cached_records(SSL *s); | ||
634 | int ssl3_new(SSL *s); | 629 | int ssl3_new(SSL *s); |
635 | void ssl3_free(SSL *s); | 630 | void ssl3_free(SSL *s); |
636 | int ssl3_accept(SSL *s); | 631 | int ssl3_accept(SSL *s); |
@@ -650,7 +645,7 @@ unsigned char *ssl3_handshake_msg_start(SSL *s, uint8_t htype); | |||
650 | void ssl3_handshake_msg_finish(SSL *s, unsigned int len); | 645 | void ssl3_handshake_msg_finish(SSL *s, unsigned int len); |
651 | int ssl3_handshake_write(SSL *s); | 646 | int ssl3_handshake_write(SSL *s); |
652 | 647 | ||
653 | void ssl3_record_sequence_increment(unsigned char *seq); | 648 | void tls1_record_sequence_increment(unsigned char *seq); |
654 | int ssl3_do_change_cipher_spec(SSL *ssl); | 649 | int ssl3_do_change_cipher_spec(SSL *ssl); |
655 | 650 | ||
656 | int ssl23_read(SSL *s, void *buf, int len); | 651 | int ssl23_read(SSL *s, void *buf, int len); |
@@ -767,6 +762,11 @@ int dtls1_enc(SSL *s, int snd); | |||
767 | int ssl_init_wbio_buffer(SSL *s, int push); | 762 | int ssl_init_wbio_buffer(SSL *s, int push); |
768 | void ssl_free_wbio_buffer(SSL *s); | 763 | void ssl_free_wbio_buffer(SSL *s); |
769 | 764 | ||
765 | int tls1_init_finished_mac(SSL *s); | ||
766 | void tls1_finish_mac(SSL *s, const unsigned char *buf, int len); | ||
767 | void tls1_free_digest_list(SSL *s); | ||
768 | void tls1_cleanup_key_block(SSL *s); | ||
769 | int tls1_digest_cached_records(SSL *s); | ||
770 | int tls1_change_cipher_state(SSL *s, int which); | 770 | int tls1_change_cipher_state(SSL *s, int which); |
771 | int tls1_setup_key_block(SSL *s); | 771 | int tls1_setup_key_block(SSL *s); |
772 | int tls1_enc(SSL *s, int snd); | 772 | int tls1_enc(SSL *s, int snd); |