BN_is_negative is no longer a macro in OpenSSL master
This commit is contained in:

committed by
Viktor Dukhovni

parent
529f17bbec
commit
08c628b240
@@ -29,7 +29,7 @@
|
||||
#include <openssl/ecdh.h>
|
||||
#include <openssl/dh.h>
|
||||
#include <openssl/bn.h>
|
||||
#ifndef BN_is_negative
|
||||
#ifndef HAVE_BN_IS_NEGATIVE
|
||||
#define BN_set_negative(bn, flag) ((bn)->neg=(flag)?1:0)
|
||||
#define BN_is_negative(bn) ((bn)->neg != 0)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user