diff options
author | jsing <> | 2022-09-04 13:17:18 +0000 |
---|---|---|
committer | jsing <> | 2022-09-04 13:17:18 +0000 |
commit | e0a6d27109c842f87e3f1f5c368f7eaf24cfd6f7 (patch) | |
tree | cb92f37869e1b342783302b265164463a74d0a99 /src/lib/libcrypto/evp/e_sm4.c | |
parent | 6f74aedf29c64cca6f4963750a513b61049d06d8 (diff) | |
download | openbsd-e0a6d27109c842f87e3f1f5c368f7eaf24cfd6f7.tar.gz openbsd-e0a6d27109c842f87e3f1f5c368f7eaf24cfd6f7.tar.bz2 openbsd-e0a6d27109c842f87e3f1f5c368f7eaf24cfd6f7.zip |
Rearrange some functions.
Pull the init_key and ctrl (if present) functions up to the top. This
improves readability and allows for the removal of function prototypes.
No functional change.
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/evp/e_sm4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/e_sm4.c b/src/lib/libcrypto/evp/e_sm4.c index 9003abccc3..fd9a9d04f7 100644 --- a/src/lib/libcrypto/evp/e_sm4.c +++ b/src/lib/libcrypto/evp/e_sm4.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_sm4.c,v 1.2 2022/09/03 20:02:17 jsing Exp $ */ | 1 | /* $OpenBSD: e_sm4.c,v 1.3 2022/09/04 13:17:18 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -267,5 +267,4 @@ EVP_sm4_ctr(void) | |||
267 | { | 267 | { |
268 | return &sm4_ctr_mode; | 268 | return &sm4_ctr_mode; |
269 | } | 269 | } |
270 | |||
271 | #endif | 270 | #endif |