X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fbn%2Fbn.h;h=670584ad74a7cbe683c0df7d8045dad624ae0722;hb=a51a97262de196f8d4940fe68d9412ec99cd555a;hp=6d5273520747c3182eeee20fb8fc377ed7be96e0;hpb=46a643763de6d8e39ecf6f76fa79b4d04885aa59;p=oweals%2Fopenssl.git diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index 6d52735207..670584ad74 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -167,7 +167,7 @@ extern "C" { #ifdef THIRTY_TWO_BIT #ifdef BN_LLONG # if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__) -# define BN_ULLONG unsigned _int64 +# define BN_ULLONG unsigned __int64 # else # define BN_ULLONG unsigned long long # endif @@ -253,6 +253,8 @@ extern "C" { #define BN_set_flags(b,n) ((b)->flags|=(n)) #define BN_get_flags(b,n) ((b)->flags&(n)) +/* get a clone of a BIGNUM with changed flags, for *temporary* use only + * (the two BIGNUMs cannot not be used in parallel!) */ #define BN_with_flags(dest,b,n) ((dest)->d=(b)->d, \ (dest)->top=(b)->top, \ (dest)->dmax=(b)->dmax, \