artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
500ccbf
)
Check and assign on one line
author
tb
<tb@openbsd.org>
Thu, 6 Apr 2023 07:08:41 +0000
(07:08 +0000)
committer
tb
<tb@openbsd.org>
Thu, 6 Apr 2023 07:08:41 +0000
(07:08 +0000)
regress/lib/libcrypto/bn/bn_mod_exp.c
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/bn/bn_mod_exp.c
b/regress/lib/libcrypto/bn/bn_mod_exp.c
index
6b32340
..
5988458
100644
(file)
--- a/
regress/lib/libcrypto/bn/bn_mod_exp.c
+++ b/
regress/lib/libcrypto/bn/bn_mod_exp.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bn_mod_exp.c,v 1.3
4 2023/03/29 10:36:14
tb Exp $ */
+/* $OpenBSD: bn_mod_exp.c,v 1.3
5 2023/04/06 07:08:41
tb Exp $ */
/*
* Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org>
@@
-77,8
+77,7
@@
bn_print(const char *name, const BIGNUM *bn)
size_t len;
int pad = 0;
- len = strlen(name);
- if (len < 7)
+ if ((len = strlen(name)) < 7)
pad = 6 - len;
fprintf(stderr, "%s: %*s", name, pad, "");