Add getters for X509_STORE and X509_OBJECT members
[openssl.git] / crypto / asn1 / asn_mime.c
index 6ac9b2c8e297fec559b4ff4c6de065a104dd0f2e..7c10b5850f2d51ef767a68d1d73288c2e5246e15 100644 (file)
@@ -60,6 +60,7 @@
 #include <openssl/asn1.h>
 #include <openssl/asn1t.h>
 #include "internal/evp_int.h"
+#include "internal/bio.h"
 #include "asn1_locl.h"
 
 /*
@@ -186,7 +187,7 @@ static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it)
     if (!val)
         ASN1err(ASN1_F_B64_READ_ASN1, ASN1_R_DECODE_ERROR);
     (void)BIO_flush(bio);
-    bio = BIO_pop(bio);
+    BIO_pop(bio);
     BIO_free(b64);
     return val;
 }