Update source files for pre-3.0 deprecation
[openssl.git] / crypto / pkcs12 / p12_sbag.c
index a3024ef1b94e31da22b6ec70b1fa06ed5375f7fb..ccb9acb17ed14f81079cc6fb2a6713969cad138a 100644 (file)
@@ -10,9 +10,9 @@
 #include <stdio.h>
 #include "internal/cryptlib.h"
 #include <openssl/pkcs12.h>
-#include "p12_lcl.h"
+#include "p12_local.h"
 
-#if !OPENSSL_API_1_1_0
+#ifndef OPENSSL_NO_DEPRECATED_1_1_0
 ASN1_TYPE *PKCS12_get_attr(const PKCS12_SAFEBAG *bag, int attr_nid)
 {
     return PKCS12_get_attr_gen(bag->attrib, attr_nid);