summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-15 16:26:04 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-24 17:35:58 +0000
commit2e430277578d3dd586cd005682a54a59d6158146 (patch)
tree4fa3771298d408499873043a3f37f61b2c7746d0 /engines
parent7b68c30da01b4eedcd546f81844156646387cacb (diff)
make ASN1_OBJECT opaque
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'engines')
-rw-r--r--engines/e_4758cca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_4758cca.c b/engines/e_4758cca.c
index 5f771986cf..3b593c79c5 100644
--- a/engines/e_4758cca.c
+++ b/engines/e_4758cca.c
@@ -641,7 +641,7 @@ static int cca_rsa_verify(int type, const unsigned char *m,
return 0;
}
- if (!algorithm.algorithm->length) {
+ if (!OBJ_length(algorithm.algorithm)) {
CCA4758err(CCA4758_F_CCA_RSA_VERIFY,
CCA4758_R_ASN1_OID_UNKNOWN_FOR_MD);
return 0;
@@ -754,7 +754,7 @@ static int cca_rsa_sign(int type, const unsigned char *m, unsigned int m_len,
return 0;
}
- if (!algorithm.algorithm->length) {
+ if (!OBJ_length(algorithm.algorithm)) {
CCA4758err(CCA4758_F_CCA_RSA_SIGN,
CCA4758_R_ASN1_OID_UNKNOWN_FOR_MD);
return 0;