Fixes for "make depend". Features which need a #define to be set to
enable them, like FIPS and JPAKE need to have these set when building dependencies.
This commit is contained in:
parent
a43337e8c4
commit
a581439bb1
@ -11,6 +11,8 @@
|
||||
#include <openssl/opensslconf.h>
|
||||
|
||||
#ifndef OPENSSL_EXPERIMENTAL_JPAKE
|
||||
#error JPAKE is disabled
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -125,4 +127,3 @@ void ERR_load_JPAKE_strings(void);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include <openssl/jpake.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
#ifndef OPENSSL_EXPERIMENTAL_JPAKE
|
||||
@ -8,6 +7,7 @@ int main(int argc, char *argv[])
|
||||
return(0);
|
||||
}
|
||||
#else
|
||||
#include <openssl/jpake.h>
|
||||
|
||||
static void showbn(const char *name, const BIGNUM *bn)
|
||||
{
|
||||
|
@ -1,5 +1,21 @@
|
||||
/* crypto/opensslconf.h.in */
|
||||
|
||||
#ifdef OPENSSL_DOING_MAKEDEPEND
|
||||
|
||||
/* Include any symbols here which have to be explicitly set to enable a
|
||||
* feature. For example OPENSSL_EXPERIMENTAL_FOO
|
||||
*/
|
||||
|
||||
#ifndef OPENSSL_FIPS
|
||||
#define OPENSSL_FIPS
|
||||
#endif
|
||||
|
||||
#ifndef OPENSSL_EXPERIMENTAL_JPAKE
|
||||
#define OPENSSL_EXPERIMENTAL_JPAKE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* Generate 80386 code? */
|
||||
#undef I386_ONLY
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user