summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2018-07-11 07:38:00 +0000
committertb <tb@openbsd.org>2018-07-11 07:38:00 +0000
commitad2bc2168dbf60f9ac38795af4a923439038e687 (patch)
tree847ae263bb9dc5a9be632fe1c1566dbfcc43eb69
parentUsing resolved after realpath(3) has failed is dangerous. Don't do it! (diff)
downloadwireguard-openbsd-ad2bc2168dbf60f9ac38795af4a923439038e687.tar.xz
wireguard-openbsd-ad2bc2168dbf60f9ac38795af4a923439038e687.zip
Turn yesterday's optimistic ! in an XXX comment into a more cautious ?
-rw-r--r--lib/libcrypto/bn/bn_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/bn/bn_lib.c b/lib/libcrypto/bn/bn_lib.c
index 610e2447d30..3be9eaae5d0 100644
--- a/lib/libcrypto/bn/bn_lib.c
+++ b/lib/libcrypto/bn/bn_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bn_lib.c,v 1.41 2018/07/10 21:52:07 tb Exp $ */
+/* $OpenBSD: bn_lib.c,v 1.42 2018/07/11 07:38:00 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -892,7 +892,7 @@ BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
/*
* Constant-time conditional swap of a and b.
* a and b are swapped if condition is not 0.
- * The code assumes that at most one bit of condition is set. XXX add check!
+ * The code assumes that at most one bit of condition is set. XXX add check?
* nwords is the number of words to swap.
*/
int