From e35ffe619b236d7c6def629bed73abb1ac4bed1f Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 10 Sep 2021 14:32:05 +0000 Subject: [PATCH] Expose BN_RAND_* in ok beck jsing --- lib/libcrypto/bn/bn.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libcrypto/bn/bn.h b/lib/libcrypto/bn/bn.h index 8fc5e270fc1..c421e2751ac 100644 --- a/lib/libcrypto/bn/bn.h +++ b/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!) */ -- 2.20.1