summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2022-11-22 20:43:43 +0000
committertb <>2022-11-22 20:43:43 +0000
commite82337c4e3a16abb7c607155fe9374f9b7a224ff (patch)
tree74f02e0761dbe4f67325b1733a90233b942ff54d /src/lib
parenta4d96a2ac0bf14d31b2d531ceb57e567111247a4 (diff)
downloadopenbsd-e82337c4e3a16abb7c607155fe9374f9b7a224ff.tar.gz
openbsd-e82337c4e3a16abb7c607155fe9374f9b7a224ff.tar.bz2
openbsd-e82337c4e3a16abb7c607155fe9374f9b7a224ff.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/lib')
-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)