summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_locl.h
diff options
context:
space:
mode:
authorjsing <>2022-09-13 04:59:18 +0000
committerjsing <>2022-09-13 04:59:18 +0000
commit7c6c33248e12d9092d3a4726461a20c4609d0db3 (patch)
tree4b08362064605ed06da650c3749cfe74aaf9185e /src/lib/libcrypto/evp/evp_locl.h
parent2464061d0b5446fa27d36124b35258b6d399eca7 (diff)
downloadopenbsd-7c6c33248e12d9092d3a4726461a20c4609d0db3.tar.gz
openbsd-7c6c33248e12d9092d3a4726461a20c4609d0db3.tar.bz2
openbsd-7c6c33248e12d9092d3a4726461a20c4609d0db3.zip
Stop pretending that EVP_CIPHER cleanup can fail.
Now that EVP_CIPHER is opaque, stop pretending that EVP_CIPHER cleanup can fail. ok tb@
Diffstat (limited to 'src/lib/libcrypto/evp/evp_locl.h')
-rw-r--r--src/lib/libcrypto/evp/evp_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/evp_locl.h b/src/lib/libcrypto/evp/evp_locl.h
index 7b14063c5e..1e79af4c6d 100644
--- a/src/lib/libcrypto/evp/evp_locl.h
+++ b/src/lib/libcrypto/evp/evp_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_locl.h,v 1.27 2022/09/04 09:56:30 jsing Exp $ */ 1/* $OpenBSD: evp_locl.h,v 1.28 2022/09/13 04:59:18 jsing Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -143,7 +143,7 @@ struct evp_cipher_st {
143 const unsigned char *iv, int enc); /* init key */ 143 const unsigned char *iv, int enc); /* init key */
144 int (*do_cipher)(EVP_CIPHER_CTX *ctx, unsigned char *out, 144 int (*do_cipher)(EVP_CIPHER_CTX *ctx, unsigned char *out,
145 const unsigned char *in, size_t inl);/* encrypt/decrypt data */ 145 const unsigned char *in, size_t inl);/* encrypt/decrypt data */
146 int (*cleanup)(EVP_CIPHER_CTX *); /* cleanup ctx */ 146 void (*cleanup)(EVP_CIPHER_CTX *); /* cleanup ctx */
147 int ctx_size; /* how big ctx->cipher_data needs to be */ 147 int ctx_size; /* how big ctx->cipher_data needs to be */
148 int (*set_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Populate a ASN1_TYPE with parameters */ 148 int (*set_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Populate a ASN1_TYPE with parameters */
149 int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Get parameters from a ASN1_TYPE */ 149 int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Get parameters from a ASN1_TYPE */