diff options
author | 2015-09-11 18:08:21 +0000 | |
---|---|---|
committer | 2015-09-11 18:08:21 +0000 | |
commit | 73a156d56252d7ee0f9c37caeaea2286ab94926c (patch) | |
tree | 2c5735e0d1155ae8d0cdd16feca4bd5bf65df09e /lib/libssl/s3_lib.c | |
parent | fix unchecked mallocs - coverity 130454 and 130455 (diff) | |
download | wireguard-openbsd-73a156d56252d7ee0f9c37caeaea2286ab94926c.tar.xz wireguard-openbsd-73a156d56252d7ee0f9c37caeaea2286ab94926c.zip |
Rename functions that moved to t1_enc.c, with a tls1_ prefix instead of a
ssl3_ prefix.
ok beck@
Diffstat (limited to 'lib/libssl/s3_lib.c')
-rw-r--r-- | lib/libssl/s3_lib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index 984e343c95d..1a619e3d30f 100644 --- a/lib/libssl/s3_lib.c +++ b/lib/libssl/s3_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_lib.c,v 1.103 2015/09/11 17:32:23 jsing Exp $ */ +/* $OpenBSD: s3_lib.c,v 1.104 2015/09/11 18:08:21 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2023,7 +2023,7 @@ ssl3_free(SSL *s) if (s == NULL) return; - ssl3_cleanup_key_block(s); + tls1_cleanup_key_block(s); ssl3_release_read_buffer(s); ssl3_release_write_buffer(s); @@ -2033,7 +2033,7 @@ ssl3_free(SSL *s) if (s->s3->tmp.ca_names != NULL) sk_X509_NAME_pop_free(s->s3->tmp.ca_names, X509_NAME_free); BIO_free(s->s3->handshake_buffer); - ssl3_free_digest_list(s); + tls1_free_digest_list(s); free(s->s3->alpn_selected); explicit_bzero(s->s3, sizeof *s->s3); @@ -2047,7 +2047,7 @@ ssl3_clear(SSL *s) unsigned char *rp, *wp; size_t rlen, wlen; - ssl3_cleanup_key_block(s); + tls1_cleanup_key_block(s); if (s->s3->tmp.ca_names != NULL) sk_X509_NAME_pop_free(s->s3->tmp.ca_names, X509_NAME_free); @@ -2064,7 +2064,7 @@ ssl3_clear(SSL *s) BIO_free(s->s3->handshake_buffer); s->s3->handshake_buffer = NULL; - ssl3_free_digest_list(s); + tls1_free_digest_list(s); free(s->s3->alpn_selected); s->s3->alpn_selected = NULL; |