summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ossl_typ.h
diff options
context:
space:
mode:
authortb <>2023-08-11 05:10:35 +0000
committertb <>2023-08-11 05:10:35 +0000
commitdc735f4a9e74ac924b85bff4f25f1c9cf6cf6c21 (patch)
tree851d91b01772d5190df31baa2f963490f98e3568 /src/lib/libcrypto/ossl_typ.h
parent462d7f977b8b8246275ae460e624e0846967e51c (diff)
downloadopenbsd-dc735f4a9e74ac924b85bff4f25f1c9cf6cf6c21.tar.gz
openbsd-dc735f4a9e74ac924b85bff4f25f1c9cf6cf6c21.tar.bz2
openbsd-dc735f4a9e74ac924b85bff4f25f1c9cf6cf6c21.zip
Rename env_md{,_ctx}_st to evp_md{,_ctx}_st
As everyone knows (and who doesn't know will immediately guess), EVP is short for envelope. Most structs backing the public EVP_* types are called evp_*. For the EVP_MD and EVP_MD_CTX types, someone used env_md_st and env_md_ctx_st, which, as jsing pointed out, may or may not be related to a much less obvious abbreviation of envelope. It could also simply have been for reasons of inconsistency. Be all that as it may: rename these structs to use the evp_* namespace to match all the other EVP types, as well as upstream. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ossl_typ.h')
-rw-r--r--src/lib/libcrypto/ossl_typ.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ossl_typ.h b/src/lib/libcrypto/ossl_typ.h
index 4553a5ecff..237a8d9672 100644
--- a/src/lib/libcrypto/ossl_typ.h
+++ b/src/lib/libcrypto/ossl_typ.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ossl_typ.h,v 1.29 2023/08/11 04:45:26 tb Exp $ */ 1/* $OpenBSD: ossl_typ.h,v 1.30 2023/08/11 05:10:35 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -99,8 +99,8 @@ typedef struct comp_method_st COMP_METHOD;
99 99
100typedef struct evp_cipher_st EVP_CIPHER; 100typedef struct evp_cipher_st EVP_CIPHER;
101typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; 101typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
102typedef struct env_md_st EVP_MD; 102typedef struct evp_md_st EVP_MD;
103typedef struct env_md_ctx_st EVP_MD_CTX; 103typedef struct evp_md_ctx_st EVP_MD_CTX;
104typedef struct evp_pkey_st EVP_PKEY; 104typedef struct evp_pkey_st EVP_PKEY;
105 105
106typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD; 106typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;