diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_table.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/engine/eng_table.c b/src/lib/libcrypto/engine/eng_table.c index a8aded5aaf..0e7ea3b698 100644 --- a/src/lib/libcrypto/engine/eng_table.c +++ b/src/lib/libcrypto/engine/eng_table.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: eng_table.c,v 1.9 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: eng_table.c,v 1.10 2022/12/26 07:18:52 jmc Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2001 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2001 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -163,7 +163,7 @@ engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup, | |||
| 163 | fnd->funct = NULL; | 163 | fnd->funct = NULL; |
| 164 | (void)lh_ENGINE_PILE_insert(&(*table)->piles, fnd); | 164 | (void)lh_ENGINE_PILE_insert(&(*table)->piles, fnd); |
| 165 | } | 165 | } |
| 166 | /* A registration shouldn't add duplciate entries */ | 166 | /* A registration shouldn't add duplicate entries */ |
| 167 | (void)sk_ENGINE_delete_ptr(fnd->sk, e); | 167 | (void)sk_ENGINE_delete_ptr(fnd->sk, e); |
| 168 | /* if 'setdefault', this ENGINE goes to the head of the list */ | 168 | /* if 'setdefault', this ENGINE goes to the head of the list */ |
| 169 | if (!sk_ENGINE_push(fnd->sk, e)) | 169 | if (!sk_ENGINE_push(fnd->sk, e)) |
| @@ -193,7 +193,7 @@ int_unregister_cb_doall_arg(ENGINE_PILE *pile, ENGINE *e) | |||
| 193 | { | 193 | { |
| 194 | int n; | 194 | int n; |
| 195 | 195 | ||
| 196 | /* Iterate the 'c->sk' stack removing any occurance of 'e' */ | 196 | /* Iterate the 'c->sk' stack removing any occurrence of 'e' */ |
| 197 | while ((n = sk_ENGINE_find(pile->sk, e)) >= 0) { | 197 | while ((n = sk_ENGINE_find(pile->sk, e)) >= 0) { |
| 198 | (void)sk_ENGINE_delete(pile->sk, n); | 198 | (void)sk_ENGINE_delete(pile->sk, n); |
| 199 | pile->uptodate = 0; | 199 | pile->uptodate = 0; |
