Переглянути джерело

Make sure we get the definition of OPENSSL_NO_BIO and OPENSSL_NO_RSA.

Richard Levitte 21 роки тому
батько
коміт
536b73e78e
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      crypto/asn1/asn1.h
  2. 1 1
      crypto/asn1/n_pkey.c

+ 1 - 1
crypto/asn1/asn1.h

@@ -60,10 +60,10 @@
 #define HEADER_ASN1_H
 
 #include <time.h>
+#include <openssl/e_os2.h>
 #ifndef OPENSSL_NO_BIO
 #include <openssl/bio.h>
 #endif
-#include <openssl/e_os2.h>
 #include <openssl/bn.h>
 #include <openssl/stack.h>
 #include <openssl/safestack.h>

+ 1 - 1
crypto/asn1/n_pkey.c

@@ -56,9 +56,9 @@
  * [including the GNU Public Licence.]
  */
 
-#ifndef OPENSSL_NO_RSA
 #include <stdio.h>
 #include "cryptlib.h"
+#ifndef OPENSSL_NO_RSA
 #include <openssl/rsa.h>
 #include <openssl/objects.h>
 #include <openssl/asn1t.h>