diff options
author | willmafh <willmafh@hotmail.com> | 2024-03-01 21:12:21 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-05-13 11:10:35 +0200 |
commit | fa4ee4043473185a5894274a2fa7fa2c4dc15a3c (patch) | |
tree | 34ce32abfc73245b8db494904576a2810ad62d0e | |
parent | 87314d24c4f025df1ebf47dc527cc8a96bef354a (diff) | |
download | openssl-fa4ee4043473185a5894274a2fa7fa2c4dc15a3c.tar.gz |
Typo fixes
and an addition of an empty line to follow the code style
CLA: trivial
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23721)
-rw-r--r-- | crypto/objects/obj_dat.pl | 2 | ||||
-rw-r--r-- | include/internal/packet.h | 2 | ||||
-rw-r--r-- | ssl/ssl_sess.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/crypto/objects/obj_dat.pl b/crypto/objects/obj_dat.pl index 60a5e5a683..715c06e032 100644 --- a/crypto/objects/obj_dat.pl +++ b/crypto/objects/obj_dat.pl @@ -134,7 +134,7 @@ for (my $i = 0; $i < $n; $i++) { my $r = &der_it($v); my $z = ""; my $length = 0; - # Format using fixed-with because we use strcmp later. + # Format using fixed-width because we use strcmp later. foreach (unpack("C*",$r)) { $z .= sprintf("0x%02X,", $_); $length++; diff --git a/include/internal/packet.h b/include/internal/packet.h index 7abc6b8b1b..7e28ff6196 100644 --- a/include/internal/packet.h +++ b/include/internal/packet.h @@ -627,7 +627,7 @@ __owur static ossl_inline int PACKET_get_length_prefixed_3(PACKET *pkt, return 1; } -/* Writeable packets */ +/* Writable packets */ typedef struct wpacket_sub WPACKET_SUB; struct wpacket_sub { diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 3857e027ee..e7c5c2a36f 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -287,6 +287,7 @@ const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, unsigned int *len) *len = (unsigned int)s->session_id_length; return s->session_id; } + const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *s, unsigned int *len) { |