summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2018-07-11 07:38:00 +0000
committertb <>2018-07-11 07:38:00 +0000
commit4686c41cfc02bff8ecdbb8bc5b41bb2e70eb134d (patch)
treec8e84391ad493346732d81369be5e51b187424ca /src
parentc01ae3757cbf4ddd99f5a39a6bfe4cb7b8f7cae2 (diff)
downloadopenbsd-4686c41cfc02bff8ecdbb8bc5b41bb2e70eb134d.tar.gz
openbsd-4686c41cfc02bff8ecdbb8bc5b41bb2e70eb134d.tar.bz2
openbsd-4686c41cfc02bff8ecdbb8bc5b41bb2e70eb134d.zip
Turn yesterday's optimistic ! in an XXX comment into a more cautious ?
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/bn_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_lib.c b/src/lib/libcrypto/bn/bn_lib.c
index 610e2447d3..3be9eaae5d 100644
--- a/src/lib/libcrypto/bn/bn_lib.c
+++ b/src/lib/libcrypto/bn/bn_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_lib.c,v 1.41 2018/07/10 21:52:07 tb Exp $ */ 1/* $OpenBSD: bn_lib.c,v 1.42 2018/07/11 07:38:00 tb 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 *
@@ -892,7 +892,7 @@ BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
892/* 892/*
893 * Constant-time conditional swap of a and b. 893 * Constant-time conditional swap of a and b.
894 * a and b are swapped if condition is not 0. 894 * a and b are swapped if condition is not 0.
895 * The code assumes that at most one bit of condition is set. XXX add check! 895 * The code assumes that at most one bit of condition is set. XXX add check?
896 * nwords is the number of words to swap. 896 * nwords is the number of words to swap.
897 */ 897 */
898int 898int