summaryrefslogtreecommitdiffstats
path: root/providers/common
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-03-09 09:59:13 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-03-18 17:52:37 +1000
commit2858156e0309031da8476e51fe76f0ce8c15010f (patch)
tree5a6539b03e48efd2abc14a73bfb2227ee3fbdd32 /providers/common
parentadf7e6d1d63890f037625031789ed042187c3947 (diff)
Add ossl_encode symbols
Partial fix for #12964 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14473)
Diffstat (limited to 'providers/common')
-rw-r--r--providers/common/der/der_sm2.h.in6
-rw-r--r--providers/common/der/der_sm2_key.c2
-rw-r--r--providers/common/der/der_sm2_sig.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/providers/common/der/der_sm2.h.in b/providers/common/der/der_sm2.h.in
index 1cc330fcea..fe21095e59 100644
--- a/providers/common/der/der_sm2.h.in
+++ b/providers/common/der/der_sm2.h.in
@@ -18,7 +18,7 @@
-}
/* Subject Public Key Info */
-int DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec);
+int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec);
/* Signature */
-int DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
- EC_KEY *ec, int mdnid);
+int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
+ EC_KEY *ec, int mdnid);
diff --git a/providers/common/der/der_sm2_key.c b/providers/common/der/der_sm2_key.c
index a766bb4f3d..5889f2ba0e 100644
--- a/providers/common/der/der_sm2_key.c
+++ b/providers/common/der/der_sm2_key.c
@@ -12,7 +12,7 @@
#include "prov/der_ec.h"
#include "prov/der_sm2.h"
-int DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec)
+int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec)
{
return ossl_DER_w_begin_sequence(pkt, cont)
/* No parameters (yet?) */
diff --git a/providers/common/der/der_sm2_sig.c b/providers/common/der/der_sm2_sig.c
index 7b710cfa53..1e904bb5cd 100644
--- a/providers/common/der/der_sm2_sig.c
+++ b/providers/common/der/der_sm2_sig.c
@@ -20,8 +20,8 @@
precompiled_sz = sizeof(ossl_der_oid_id_sm2_with_##name); \
break;
-int DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
- EC_KEY *ec, int mdnid)
+int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
+ EC_KEY *ec, int mdnid)
{
const unsigned char *precompiled = NULL;
size_t precompiled_sz = 0;