Parcourir la source

Make sure we get the definition of OPENSSL_NO_BIO and OPENSSL_NO_RSA.

Richard Levitte il y a 21 ans
Parent
commit
536b73e78e
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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>