Make sure we get the definition of OPENSSL_NO_ECDSA.
This commit is contained in:
parent
03829b2b47
commit
3b6aa36c77
@ -55,6 +55,8 @@
|
|||||||
#ifndef HEADER_ECDSA_H
|
#ifndef HEADER_ECDSA_H
|
||||||
#define HEADER_ECDSA_H
|
#define HEADER_ECDSA_H
|
||||||
|
|
||||||
|
#include <openssl/opensslconf.h>
|
||||||
|
|
||||||
#ifdef OPENSSL_NO_ECDSA
|
#ifdef OPENSSL_NO_ECDSA
|
||||||
#error ECDSA is disabled.
|
#error ECDSA is disabled.
|
||||||
#endif
|
#endif
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_ECDSA is defined */
|
||||||
|
|
||||||
#ifdef OPENSSL_NO_ECDSA
|
#ifdef OPENSSL_NO_ECDSA
|
||||||
int main(int argc, char * argv[])
|
int main(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user