diff options
author | jsing <> | 2022-03-17 17:22:16 +0000 |
---|---|---|
committer | jsing <> | 2022-03-17 17:22:16 +0000 |
commit | b05e2fdda8cb3d474091e2b6308d2a5f65f4fd26 (patch) | |
tree | c760e60ce7c2c61c561119021d231f42af71229c /src/lib/libssl/ssl_locl.h | |
parent | ea581e0232e3466c6e3f461f4c999d8c6cac5a85 (diff) | |
download | openbsd-b05e2fdda8cb3d474091e2b6308d2a5f65f4fd26.tar.gz openbsd-b05e2fdda8cb3d474091e2b6308d2a5f65f4fd26.tar.bz2 openbsd-b05e2fdda8cb3d474091e2b6308d2a5f65f4fd26.zip |
Remove const from tls1_transcript_hash_value()
This function populates the passed *out argument, hence it should not be
marked const.
ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 8a2f69f840..f0c261b488 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.387 2022/03/12 12:53:03 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.388 2022/03/17 17:22:16 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 | * |
@@ -1434,7 +1434,7 @@ void ssl_free_wbio_buffer(SSL *s); | |||
1434 | 1434 | ||
1435 | int tls1_transcript_hash_init(SSL *s); | 1435 | int tls1_transcript_hash_init(SSL *s); |
1436 | int tls1_transcript_hash_update(SSL *s, const unsigned char *buf, size_t len); | 1436 | int tls1_transcript_hash_update(SSL *s, const unsigned char *buf, size_t len); |
1437 | int tls1_transcript_hash_value(SSL *s, const unsigned char *out, size_t len, | 1437 | int tls1_transcript_hash_value(SSL *s, unsigned char *out, size_t len, |
1438 | size_t *outlen); | 1438 | size_t *outlen); |
1439 | void tls1_transcript_hash_free(SSL *s); | 1439 | void tls1_transcript_hash_free(SSL *s); |
1440 | 1440 | ||