diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/evp/evp_lib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_lib.c b/src/lib/libcrypto/evp/evp_lib.c index f2ff7bdec5..d74a53997e 100644 --- a/src/lib/libcrypto/evp/evp_lib.c +++ b/src/lib/libcrypto/evp/evp_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: evp_lib.c,v 1.19 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: evp_lib.c,v 1.20 2021/12/24 12:02:15 tb 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 | * |
| @@ -251,6 +251,12 @@ EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx) | |||
| 251 | return ctx->cipher->iv_len; | 251 | return ctx->cipher->iv_len; |
| 252 | } | 252 | } |
| 253 | 253 | ||
| 254 | unsigned char * | ||
| 255 | EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx) | ||
| 256 | { | ||
| 257 | return ctx->buf; | ||
| 258 | } | ||
| 259 | |||
| 254 | int | 260 | int |
| 255 | EVP_CIPHER_key_length(const EVP_CIPHER *cipher) | 261 | EVP_CIPHER_key_length(const EVP_CIPHER *cipher) |
| 256 | { | 262 | { |
