summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-11-22 20:43:43 +0000
committertb <>2022-11-22 20:43:43 +0000
commit542aab61fed78ef9ea5e8557af06c0adcca3ad85 (patch)
tree74f02e0761dbe4f67325b1733a90233b942ff54d /src
parent04e82e7fa8afdcbb3b4e2e44924e91b9c992456b (diff)
downloadopenbsd-542aab61fed78ef9ea5e8557af06c0adcca3ad85.tar.gz
openbsd-542aab61fed78ef9ea5e8557af06c0adcca3ad85.tar.bz2
openbsd-542aab61fed78ef9ea5e8557af06c0adcca3ad85.zip
Remove incorrect "r must not be a" comment
This was fixed by Eric A. Young in "a C2Net version of SSLeay" and committed to OpenSSL by Mark J. Cox in January 1999 (OpenSSL a0a54079).
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/bn_sqr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_sqr.c b/src/lib/libcrypto/bn/bn_sqr.c
index a0dce6ea81..bdfeda5c66 100644
--- a/src/lib/libcrypto/bn/bn_sqr.c
+++ b/src/lib/libcrypto/bn/bn_sqr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_sqr.c,v 1.12 2015/02/09 15:49:22 jsing Exp $ */ 1/* $OpenBSD: bn_sqr.c,v 1.13 2022/11/22 20:43:43 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 *
@@ -61,7 +61,6 @@
61 61
62#include "bn_lcl.h" 62#include "bn_lcl.h"
63 63
64/* r must not be a */
65/* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */ 64/* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */
66int 65int
67BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) 66BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)