From 3987d8461f5c30d0adcadb5ba2214d2ed1353cec Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 10 Sep 2021 14:32:05 +0000 Subject: Expose BN_RAND_* in ok beck jsing --- src/lib/libcrypto/bn/bn.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h index 8fc5e270fc..c421e2751a 100644 --- a/src/lib/libcrypto/bn/bn.h +++ b/src/lib/libcrypto/bn/bn.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bn.h,v 1.41 2021/09/10 09:08:03 tb Exp $ */ +/* $OpenBSD: bn.h,v 1.42 2021/09/10 14:32:05 tb Exp $ */ /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -231,7 +231,6 @@ extern "C" { #define BN_set_flags(b,n) ((b)->flags|=(n)) #define BN_get_flags(b,n) ((b)->flags&(n)) -#if defined(LIBRESSL_INTERNAL) /* Values for |top| in BN_rand() */ #define BN_RAND_TOP_ANY -1 #define BN_RAND_TOP_ONE 0 @@ -240,7 +239,6 @@ extern "C" { /* Values for |bottom| in BN_rand() */ #define BN_RAND_BOTTOM_ANY 0 #define BN_RAND_BOTTOM_ODD 1 -#endif /* get a clone of a BIGNUM with changed flags, for *temporary* use only * (the two BIGNUMs cannot not be used in parallel!) */ -- cgit v1.2.3-55-g6feb