summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-11-05 17:34:09 +0100
committerRichard Levitte <levitte@openssl.org>2019-11-07 11:37:25 +0100
commit00db8c60aaecd2ff9b0a5d9fd10c7771a1e1a73e (patch)
tree55a6f88db1ff6e53c4fdcf17b074672ff64e9263 /crypto/pkcs12
parent936c2b9e933eacae80d3489e5f7316589f3e9a07 (diff)
Update source files for pre-3.0 deprecation
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10364)
Diffstat (limited to 'crypto/pkcs12')
-rw-r--r--crypto/pkcs12/p12_sbag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs12/p12_sbag.c b/crypto/pkcs12/p12_sbag.c
index 2b4ca65399..ccb9acb17e 100644
--- a/crypto/pkcs12/p12_sbag.c
+++ b/crypto/pkcs12/p12_sbag.c
@@ -12,7 +12,7 @@
#include <openssl/pkcs12.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);