diff options
author | tb <> | 2023-08-11 05:10:35 +0000 |
---|---|---|
committer | tb <> | 2023-08-11 05:10:35 +0000 |
commit | dc735f4a9e74ac924b85bff4f25f1c9cf6cf6c21 (patch) | |
tree | 851d91b01772d5190df31baa2f963490f98e3568 /src/lib/libcrypto/ossl_typ.h | |
parent | 462d7f977b8b8246275ae460e624e0846967e51c (diff) | |
download | openbsd-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.h | 6 |
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 | ||
100 | typedef struct evp_cipher_st EVP_CIPHER; | 100 | typedef struct evp_cipher_st EVP_CIPHER; |
101 | typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; | 101 | typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; |
102 | typedef struct env_md_st EVP_MD; | 102 | typedef struct evp_md_st EVP_MD; |
103 | typedef struct env_md_ctx_st EVP_MD_CTX; | 103 | typedef struct evp_md_ctx_st EVP_MD_CTX; |
104 | typedef struct evp_pkey_st EVP_PKEY; | 104 | typedef struct evp_pkey_st EVP_PKEY; |
105 | 105 | ||
106 | typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD; | 106 | typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD; |