diff options
author | jmc <> | 2022-12-26 07:18:53 +0000 |
---|---|---|
committer | jmc <> | 2022-12-26 07:18:53 +0000 |
commit | 8144b51086b3c46594192ccbec62762e58d61200 (patch) | |
tree | 26f3d93398833b7449b8a97e9fe4af9904382dbf /src/lib/libcrypto/evp/digest.c | |
parent | 54da696f897367a85e20e97a53d29b18b44cf8b7 (diff) | |
download | openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.gz openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.bz2 openbsd-8144b51086b3c46594192ccbec62762e58d61200.zip |
spelling fixes; from paul tagliamonte
i removed the arithmetics -> arithmetic changes, as i felt they
were not clearly correct
ok tb
Diffstat (limited to 'src/lib/libcrypto/evp/digest.c')
-rw-r--r-- | src/lib/libcrypto/evp/digest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/digest.c b/src/lib/libcrypto/evp/digest.c index 1fa25cd4fb..7c129f025d 100644 --- a/src/lib/libcrypto/evp/digest.c +++ b/src/lib/libcrypto/evp/digest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: digest.c,v 1.35 2022/11/26 16:08:52 tb Exp $ */ | 1 | /* $OpenBSD: digest.c,v 1.36 2022/12/26 07:18:52 jmc 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 | * |
@@ -140,7 +140,7 @@ EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) | |||
140 | /* Whether it's nice or not, "Inits" can be used on "Final"'d contexts | 140 | /* Whether it's nice or not, "Inits" can be used on "Final"'d contexts |
141 | * so this context may already have an ENGINE! Try to avoid releasing | 141 | * so this context may already have an ENGINE! Try to avoid releasing |
142 | * the previous handle, re-querying for an ENGINE, and having a | 142 | * the previous handle, re-querying for an ENGINE, and having a |
143 | * reinitialisation, when it may all be unecessary. */ | 143 | * reinitialisation, when it may all be unnecessary. */ |
144 | if (ctx->engine && ctx->digest && (!type || | 144 | if (ctx->engine && ctx->digest && (!type || |
145 | (type && (type->type == ctx->digest->type)))) | 145 | (type && (type->type == ctx->digest->type)))) |
146 | goto skip_to_init; | 146 | goto skip_to_init; |